POST api/CallingServer/CallToFrontDesk1

Request Information

URI Parameters

None.

Body Parameters

FrontdeskCallRequest
NameDescriptionTypeAdditional information
DoctorId

integer

None.

FrontDeskId

integer

None.

PhrId

integer

None.

AppointmentId

integer

None.

SpecialityId

integer

None.

MemberShipId

string

None.

UserMemberShipId

string

None.

ReasonForVisit

string

None.

IsPaymentDone

boolean

None.

BundleId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DoctorId": 1,
  "FrontDeskId": 2,
  "PhrId": 3,
  "AppointmentId": 4,
  "SpecialityId": 5,
  "MemberShipId": "sample string 6",
  "UserMemberShipId": "sample string 7",
  "ReasonForVisit": "sample string 8",
  "IsPaymentDone": true,
  "BundleId": 1
}

application/xml, text/xml

Sample:
<FrontdeskCallRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.CallingServerModel">
  <AppointmentId>4</AppointmentId>
  <BundleId>1</BundleId>
  <DoctorId>1</DoctorId>
  <FrontDeskId>2</FrontDeskId>
  <IsPaymentDone>true</IsPaymentDone>
  <MemberShipId>sample string 6</MemberShipId>
  <PhrId>3</PhrId>
  <ReasonForVisit>sample string 8</ReasonForVisit>
  <SpecialityId>5</SpecialityId>
  <UserMemberShipId>sample string 7</UserMemberShipId>
</FrontdeskCallRequest>

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

Response Information

Resource Description

ResponseOfBoolean
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Status

integer

None.

Result

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Status": 3,
  "Result": true
}

application/xml, text/xml

Sample:
<ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
  <Result>true</Result>
  <Status>3</Status>
</ResponseOfboolean>