POST api/Admin/InsertNotifation
Request Information
URI Parameters
None.
Body Parameters
Notification| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| PatientId | string |
None. |
|
| Message | string |
None. |
|
| Title | string |
None. |
|
| Status | boolean |
None. |
|
| CreatedDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"PatientId": "sample string 2",
"Message": "sample string 3",
"Title": "sample string 4",
"Status": true,
"CreatedDate": "sample string 5"
}
application/xml, text/xml
Sample:
<Notification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DrraviDataAccess"> <CreatedDate>sample string 5</CreatedDate> <Id>1</Id> <Message>sample string 3</Message> <PatientId>sample string 2</PatientId> <Status>true</Status> <Title>sample string 4</Title> </Notification>
application/x-www-form-urlencoded
Sample:
text/html
Sample:
{"Id":1,"PatientId":"sample string 2","Message":"sample string 3","Title":"sample string 4","Status":true,"CreatedDate":"sample string 5"}
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |