POST v1/api/apppointment/createAppointment
Request Information
URI Parameters
None.
Body Parameters
createAppointmentRequestName | Description | Type | Additional information |
---|---|---|---|
enrolleeNo | string |
None. |
|
stateName | string |
None. |
|
cityName | string |
None. |
|
provider_id | integer |
None. |
|
date | string |
None. |
|
time | string |
None. |
|
comment | string |
None. |
|
notifyMe | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "enrolleeNo": "sample string 1", "stateName": "sample string 2", "cityName": "sample string 3", "provider_id": 4, "date": "sample string 5", "time": "sample string 6", "comment": "sample string 7", "notifyMe": "sample string 8" }
application/xml, text/xml
Sample:
<createAppointmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.api_Main.createAppointment"> <cityName>sample string 3</cityName> <comment>sample string 7</comment> <date>sample string 5</date> <enrolleeNo>sample string 1</enrolleeNo> <notifyMe>sample string 8</notifyMe> <provider_id>4</provider_id> <stateName>sample string 2</stateName> <time>sample string 6</time> </createAppointmentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"enrolleeNo":"sample string 1","stateName":"sample string 2","cityName":"sample string 3","provider_id":4,"date":"sample string 5","time":"sample string 6","comment":"sample string 7","notifyMe":"sample string 8"}
Response Information
Resource Description
createAppointmentResultName | Description | Type | Additional information |
---|---|---|---|
success | boolean |
None. |
|
errorMsg | string |
None. |
|
message | string |
None. |
|
appointmentNo | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "errorMsg": "sample string 2", "message": "sample string 3", "appointmentNo": "sample string 4" }
application/xml, text/xml
Sample:
<createAppointmentResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.api_Main.createAppointment"> <appointmentNo>sample string 4</appointmentNo> <errorMsg>sample string 2</errorMsg> <message>sample string 3</message> <success>true</success> </createAppointmentResult>
text/html
Sample:
{"success":true,"errorMsg":"sample string 2","message":"sample string 3","appointmentNo":"sample string 4"}