POST api/FrontdeskCalling/GetNotificationById

Request Information

URI Parameters

None.

Body Parameters

FrontdeskCallingModel
NameDescriptionTypeAdditional information
NotificationId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "NotificationId": 1
}

application/xml, text/xml

Sample:
<FrontdeskCallingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.FrontDesk">
  <NotificationId>1</NotificationId>
</FrontdeskCallingModel>

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

Response Information

Resource Description

ResponseOfNotificationModel
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Status

integer

None.

Result

NotificationModel

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ResponseOfNotificationModely4k00cG6 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 25</Message>
    <PushType xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.PushNotificationModels">24</PushType>
    <ReceiverId xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.PushNotificationModels">27</ReceiverId>
    <SenderId xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.PushNotificationModels">26</SenderId>
    <d2p1:Age>21</d2p1:Age>
    <d2p1:AppointmentDate>sample string 13</d2p1:AppointmentDate>
    <d2p1:AppointmentId>11</d2p1:AppointmentId>
    <d2p1:AppointmentTime>sample string 12</d2p1:AppointmentTime>
    <d2p1:DoctorId>7</d2p1:DoctorId>
    <d2p1:DoctorName>sample string 14</d2p1:DoctorName>
    <d2p1:FrontDeskId>9</d2p1:FrontDeskId>
    <d2p1:Gender>sample string 22</d2p1:Gender>
    <d2p1:MobileNo>sample string 23</d2p1:MobileNo>
    <d2p1:NotificationId>19</d2p1:NotificationId>
    <d2p1:PatientId>6</d2p1:PatientId>
    <d2p1:PatientName>sample string 4</d2p1:PatientName>
    <d2p1:PharmacyId>8</d2p1:PharmacyId>
    <d2p1:PharmacyName>sample string 15</d2p1:PharmacyName>
    <d2p1:PhrId>10</d2p1:PhrId>
    <d2p1:ProfileImage>sample string 20</d2p1:ProfileImage>
    <d2p1:RoomId>16</d2p1:RoomId>
    <d2p1:RoomName>sample string 17</d2p1:RoomName>
    <d2p1:SpecialityId>5</d2p1:SpecialityId>
    <d2p1:WCSUrl>sample string 18</d2p1:WCSUrl>
    <d2p1:Date>sample string 2</d2p1:Date>
    <d2p1:IsRead>true</d2p1:IsRead>
    <d2p1:Time>sample string 3</d2p1:Time>
  </Result>
  <Status>3</Status>
</ResponseOfNotificationModely4k00cG6>