POST api/FrontdeskCalling/SendPushToDoctor

Request Information

URI Parameters

None.

Body Parameters

PushFrontdeskModel
NameDescriptionTypeAdditional information
PatientName

string

None.

SpecialityId

integer

None.

PatientId

integer

None.

DoctorId

integer

None.

PharmacyId

integer

None.

FrontDeskId

integer

None.

PhrId

integer

None.

AppointmentId

integer

None.

AppointmentTime

string

None.

AppointmentDate

string

None.

DoctorName

string

None.

PharmacyName

string

None.

RoomId

integer

None.

RoomName

string

None.

WCSUrl

string

None.

NotificationId

integer

None.

ProfileImage

string

None.

Age

integer

None.

Gender

string

None.

MobileNo

string

None.

PushType

integer

None.

Message

string

None.

SenderId

integer

None.

ReceiverId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientName": "sample string 1",
  "SpecialityId": 2,
  "PatientId": 3,
  "DoctorId": 4,
  "PharmacyId": 5,
  "FrontDeskId": 6,
  "PhrId": 7,
  "AppointmentId": 8,
  "AppointmentTime": "sample string 9",
  "AppointmentDate": "sample string 10",
  "DoctorName": "sample string 11",
  "PharmacyName": "sample string 12",
  "RoomId": 13,
  "RoomName": "sample string 14",
  "WCSUrl": "sample string 15",
  "NotificationId": 16,
  "ProfileImage": "sample string 17",
  "Age": 18,
  "Gender": "sample string 19",
  "MobileNo": "sample string 20",
  "PushType": 21,
  "Message": "sample string 22",
  "SenderId": 23,
  "ReceiverId": 24
}

application/xml, text/xml

Sample:
<PushFrontdeskModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.FrontDesk">
  <Message xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.PushNotificationModels">sample string 22</Message>
  <PushType xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.PushNotificationModels">21</PushType>
  <ReceiverId xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.PushNotificationModels">24</ReceiverId>
  <SenderId xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.PushNotificationModels">23</SenderId>
  <Age>18</Age>
  <AppointmentDate>sample string 10</AppointmentDate>
  <AppointmentId>8</AppointmentId>
  <AppointmentTime>sample string 9</AppointmentTime>
  <DoctorId>4</DoctorId>
  <DoctorName>sample string 11</DoctorName>
  <FrontDeskId>6</FrontDeskId>
  <Gender>sample string 19</Gender>
  <MobileNo>sample string 20</MobileNo>
  <NotificationId>16</NotificationId>
  <PatientId>3</PatientId>
  <PatientName>sample string 1</PatientName>
  <PharmacyId>5</PharmacyId>
  <PharmacyName>sample string 12</PharmacyName>
  <PhrId>7</PhrId>
  <ProfileImage>sample string 17</ProfileImage>
  <RoomId>13</RoomId>
  <RoomName>sample string 14</RoomName>
  <SpecialityId>2</SpecialityId>
  <WCSUrl>sample string 15</WCSUrl>
</PushFrontdeskModel>

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

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>