POST v1/api/oHealth/bookoHealthAppointment

Request Information

URI Parameters

None.

Body Parameters

bookoHealthAppointmentRequest
NameDescriptionTypeAdditional information
userID

string

None.

type

string

None.

doctorID

string

None.

DateTime

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userID": "sample string 1",
  "type": "sample string 2",
  "doctorID": "sample string 3",
  "DateTime": "sample string 4"
}

application/xml, text/xml

Sample:
<bookoHealthAppointmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.Ohealth.bookoHealthAppointment">
  <DateTime>sample string 4</DateTime>
  <doctorID>sample string 3</doctorID>
  <type>sample string 2</type>
  <userID>sample string 1</userID>
</bookoHealthAppointmentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"userID":"sample string 1","type":"sample string 2","doctorID":"sample string 3","DateTime":"sample string 4"}

Response Information

Resource Description

bookoHealthAppointmentResult
NameDescriptionTypeAdditional information
success

boolean

None.

errorMsg

string

None.

appintment_id

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "errorMsg": "sample string 2",
  "appintment_id": "sample string 3"
}

application/xml, text/xml

Sample:
<bookoHealthAppointmentResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.Ohealth.bookoHealthAppointment">
  <appintment_id>sample string 3</appintment_id>
  <errorMsg>sample string 2</errorMsg>
  <success>true</success>
</bookoHealthAppointmentResult>

text/html

Sample:
{"success":true,"errorMsg":"sample string 2","appintment_id":"sample string 3"}