POST v1/api/oHealth/canceloHealthAppointment
Request Information
URI Parameters
None.
Body Parameters
canceloHealthAppointmentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| userID | string |
None. |
|
| appointmentID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"userID": "sample string 1",
"appointmentID": "sample string 2"
}
application/xml, text/xml
Sample:
<canceloHealthAppointmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.Ohealth.canceloHealthAppointment"> <appointmentID>sample string 2</appointmentID> <userID>sample string 1</userID> </canceloHealthAppointmentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"userID":"sample string 1","appointmentID":"sample string 2"}
Response Information
Resource Description
canceloHealthAppointmentResult| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| errorMsg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"errorMsg": "sample string 2"
}
application/xml, text/xml
Sample:
<canceloHealthAppointmentResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.Ohealth.canceloHealthAppointment"> <errorMsg>sample string 2</errorMsg> <success>true</success> </canceloHealthAppointmentResult>
text/html
Sample:
{"success":true,"errorMsg":"sample string 2"}