POST v1/api/telemedicineExternal/CreateTelemedicineAppointment
Request Information
URI Parameters
None.
Body Parameters
CreateTelemedicineAppointmentRequestName | Description | Type | Additional information |
---|---|---|---|
enrolleeNo | string |
None. |
|
preferredSlot | appointData |
None. |
|
alternativeSlot | Collection of appointData |
None. |
|
notify | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "enrolleeNo": "sample string 1", "preferredSlot": { "date_MM_dd_yyyy": "sample string 1", "time": "sample string 2" }, "alternativeSlot": [ { "date_MM_dd_yyyy": "sample string 1", "time": "sample string 2" }, { "date_MM_dd_yyyy": "sample string 1", "time": "sample string 2" } ], "notify": 2 }
application/xml, text/xml
Sample:
<CreateTelemedicineAppointmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.telemedicineExternal.CreateTelemedicineAppointment"> <alternativeSlot> <appointData> <date_MM_dd_yyyy>sample string 1</date_MM_dd_yyyy> <time>sample string 2</time> </appointData> <appointData> <date_MM_dd_yyyy>sample string 1</date_MM_dd_yyyy> <time>sample string 2</time> </appointData> </alternativeSlot> <enrolleeNo>sample string 1</enrolleeNo> <notify>2</notify> <preferredSlot> <date_MM_dd_yyyy>sample string 1</date_MM_dd_yyyy> <time>sample string 2</time> </preferredSlot> </CreateTelemedicineAppointmentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"enrolleeNo":"sample string 1","preferredSlot":{"date_MM_dd_yyyy":"sample string 1","time":"sample string 2"},"alternativeSlot":[{"date_MM_dd_yyyy":"sample string 1","time":"sample string 2"},{"date_MM_dd_yyyy":"sample string 1","time":"sample string 2"}],"notify":2}
Response Information
Resource Description
CreateTelemedicineAppointmentResultName | Description | Type | Additional information |
---|---|---|---|
errorMsg | string |
None. |
|
success | boolean |
None. |
|
message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "errorMsg": "sample string 1", "success": true, "message": "sample string 3" }
application/xml, text/xml
Sample:
<CreateTelemedicineAppointmentResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.telemedicineExternal.CreateTelemedicineAppointment"> <errorMsg>sample string 1</errorMsg> <message>sample string 3</message> <success>true</success> </CreateTelemedicineAppointmentResult>
text/html
Sample:
{"errorMsg":"sample string 1","success":true,"message":"sample string 3"}