POST api/CallingServer/DoctorPush

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.

Request Formats

application/json, text/json

Sample:
{
  "DoctorId": 1,
  "FrontDeskId": 2,
  "PhrId": 3,
  "AppointmentId": 4,
  "SpecialityId": 5
}

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>
  <DoctorId>1</DoctorId>
  <FrontDeskId>2</FrontDeskId>
  <PhrId>3</PhrId>
  <SpecialityId>5</SpecialityId>
</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

ResponseOfPushFrontdeskModel
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Status

integer

None.

Result

PushFrontdeskModel

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Status": 3,
  "Result": {
    "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:
<ResponseOfPushFrontdeskModely4k00cG6 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 xmlns:d2p1="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>
    <d2p1:Age>18</d2p1:Age>
    <d2p1:AppointmentDate>sample string 10</d2p1:AppointmentDate>
    <d2p1:AppointmentId>8</d2p1:AppointmentId>
    <d2p1:AppointmentTime>sample string 9</d2p1:AppointmentTime>
    <d2p1:DoctorId>4</d2p1:DoctorId>
    <d2p1:DoctorName>sample string 11</d2p1:DoctorName>
    <d2p1:FrontDeskId>6</d2p1:FrontDeskId>
    <d2p1:Gender>sample string 19</d2p1:Gender>
    <d2p1:MobileNo>sample string 20</d2p1:MobileNo>
    <d2p1:NotificationId>16</d2p1:NotificationId>
    <d2p1:PatientId>3</d2p1:PatientId>
    <d2p1:PatientName>sample string 1</d2p1:PatientName>
    <d2p1:PharmacyId>5</d2p1:PharmacyId>
    <d2p1:PharmacyName>sample string 12</d2p1:PharmacyName>
    <d2p1:PhrId>7</d2p1:PhrId>
    <d2p1:ProfileImage>sample string 17</d2p1:ProfileImage>
    <d2p1:RoomId>13</d2p1:RoomId>
    <d2p1:RoomName>sample string 14</d2p1:RoomName>
    <d2p1:SpecialityId>2</d2p1:SpecialityId>
    <d2p1:WCSUrl>sample string 15</d2p1:WCSUrl>
  </Result>
  <Status>3</Status>
</ResponseOfPushFrontdeskModely4k00cG6>