POST api/Admin/InsertNotifation

Request Information

URI Parameters

None.

Body Parameters

Notification
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Notification'.

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
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.