POST api/ScheduleAppointment2

Request Information

URI Parameters

None.

Body Parameters

Appointment
NameDescriptionTypeAdditional information
PatientID

string

Required

Date

string

Required

Time

string

Required

ProviderID

string

Required

DepartmentID

string

Required

Duration

integer

Required

Sponsor

string

None.

Htn

boolean

None.

Diab

boolean

None.

WtMgmt

boolean

None.

PayorId

string

None.

MemberId

string

None.

ConvertTime

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientID": "sample string 1",
  "Date": "sample string 2",
  "Time": "sample string 3",
  "ProviderID": "sample string 4",
  "DepartmentID": "sample string 5",
  "Duration": 6,
  "Sponsor": "sample string 7",
  "Htn": true,
  "Diab": true,
  "WtMgmt": true,
  "PayorId": "sample string 8",
  "MemberId": "sample string 9",
  "ConvertTime": true
}

application/xml, text/xml

Sample:
<Appointment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.Types">
  <ConvertTime>true</ConvertTime>
  <Date>sample string 2</Date>
  <DepartmentID>sample string 5</DepartmentID>
  <Diab>true</Diab>
  <Duration>6</Duration>
  <Htn>true</Htn>
  <MemberId>sample string 9</MemberId>
  <PatientID>sample string 1</PatientID>
  <PayorId>sample string 8</PayorId>
  <ProviderID>sample string 4</ProviderID>
  <Sponsor>sample string 7</Sponsor>
  <Time>sample string 3</Time>
  <WtMgmt>true</WtMgmt>
</Appointment>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Appointment'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.