POST api/patient/AcceptEmergencyRequest

Request Information

URI Parameters

None.

Body Parameters

TreatmentRequestAcceptModel
NameDescriptionTypeAdditional information
PatientEmail

string

None.

TreatmentRequestId

integer

None.

TreatmentType

TreatmentType

None.

FreeSlotId

integer

None.

IsSelected

boolean

None.

IsAccepted

boolean

None.

DentistId

integer

None.

Culture

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientEmail": "sample string 1",
  "TreatmentRequestId": 2,
  "TreatmentType": 1,
  "FreeSlotId": 3,
  "IsSelected": true,
  "IsAccepted": true,
  "DentistId": 6,
  "Culture": "sample string 7"
}

application/xml, text/xml

Sample:
<TreatmentRequestAcceptModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Silver.Agenda.Core.Domain.Model">
  <Culture>sample string 7</Culture>
  <DentistId>6</DentistId>
  <FreeSlotId>3</FreeSlotId>
  <IsAccepted>true</IsAccepted>
  <IsSelected>true</IsSelected>
  <PatientEmail>sample string 1</PatientEmail>
  <TreatmentRequestId>2</TreatmentRequestId>
  <TreatmentType>EmergencyRequest</TreatmentType>
</TreatmentRequestAcceptModel>

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 'TreatmentRequestAcceptModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.