POST api/CallingServer/DoctorPush
Request Information
URI Parameters
None.
Body Parameters
FrontdeskCallRequest| Name | Description | Type | Additional 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:
Response Information
Resource Description
ResponseOfPushFrontdeskModel| Name | Description | Type | Additional 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",
"PaymentMode": 21,
"IsPaymentDone": true,
"MemberShipId": "sample string 23",
"UserMemberShipId": "sample string 24",
"ReasonForVisit": "sample string 25",
"BundleId": 1,
"PatientZip": "sample string 26",
"PushType": 27,
"Message": "sample string 28",
"SenderId": 29,
"ReceiverId": 30
}
}
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 28</Message>
<PushType xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.PushNotificationModels">27</PushType>
<ReceiverId xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.PushNotificationModels">30</ReceiverId>
<SenderId xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.PushNotificationModels">29</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:BundleId>1</d2p1:BundleId>
<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:IsPaymentDone>true</d2p1:IsPaymentDone>
<d2p1:MemberShipId>sample string 23</d2p1:MemberShipId>
<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:PatientZip>sample string 26</d2p1:PatientZip>
<d2p1:PaymentMode>21</d2p1:PaymentMode>
<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:ReasonForVisit>sample string 25</d2p1:ReasonForVisit>
<d2p1:RoomId>13</d2p1:RoomId>
<d2p1:RoomName>sample string 14</d2p1:RoomName>
<d2p1:SpecialityId>2</d2p1:SpecialityId>
<d2p1:UserMemberShipId>sample string 24</d2p1:UserMemberShipId>
<d2p1:WCSUrl>sample string 15</d2p1:WCSUrl>
</Result>
<Status>3</Status>
</ResponseOfPushFrontdeskModely4k00cG6>