POST Api/FrontDeskDashboard/addMarketingQuestionFutureAppointment
Request Information
URI Parameters
None.
Body Parameters
AddFutureAppointmentMarketingQuestionVm| Name | Description | Type | Additional information |
|---|---|---|---|
| VisitId | integer |
None. |
|
| MarketingQuestions | Collection of MarketingQuestionVm |
None. |
Request Formats
application/json, text/json
Sample:
{
"visitId": 1,
"marketingQuestions": [
{
"futureAppointmentDateString": "sample string 1",
"marketingQuestionId": 2,
"clinicId": 1,
"notes": "sample string 3",
"answer": "sample string 4",
"skipAddFutureAppointment": true
},
{
"futureAppointmentDateString": "sample string 1",
"marketingQuestionId": 2,
"clinicId": 1,
"notes": "sample string 3",
"answer": "sample string 4",
"skipAddFutureAppointment": true
}
]
}
text/html
Sample:
{"visitId":1,"marketingQuestions":[{"futureAppointmentDateString":"sample string 1","marketingQuestionId":2,"clinicId":1,"notes":"sample string 3","answer":"sample string 4","skipAddFutureAppointment":true},{"futureAppointmentDateString":"sample string 1","marketingQuestionId":2,"clinicId":1,"notes":"sample string 3","answer":"sample string 4","skipAddFutureAppointment":true}]}
application/xml, text/xml
Sample:
<AddFutureAppointmentMarketingQuestionVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UrgentCareExtra.ViewModels.ViewModels.Visit">
<MarketingQuestions>
<MarketingQuestionVm>
<Answer>sample string 4</Answer>
<ClinicId>1</ClinicId>
<FutureAppointmentDateString>sample string 1</FutureAppointmentDateString>
<MarketingQuestionId>2</MarketingQuestionId>
<Notes>sample string 3</Notes>
<SkipAddFutureAppointment>true</SkipAddFutureAppointment>
</MarketingQuestionVm>
<MarketingQuestionVm>
<Answer>sample string 4</Answer>
<ClinicId>1</ClinicId>
<FutureAppointmentDateString>sample string 1</FutureAppointmentDateString>
<MarketingQuestionId>2</MarketingQuestionId>
<Notes>sample string 3</Notes>
<SkipAddFutureAppointment>true</SkipAddFutureAppointment>
</MarketingQuestionVm>
</MarketingQuestions>
<VisitId>1</VisitId>
</AddFutureAppointmentMarketingQuestionVm>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.