POST api/notification/InsertUpdateNotification

Request Information

URI Parameters

None.

Body Parameters

Notification
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

integer

None.

Title

string

None.

Description

string

None.

CreatedBy

integer

None.

CreatedDate

string

None.

ModifiedBy

integer

None.

ModifiedDate

string

None.

DeletedBy

integer

None.

DeletedDate

string

None.

DeviceToken

string

None.

FirstName

string

None.

LastName

string

None.

ReadDateTime

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserId": 2,
  "Title": "sample string 3",
  "Description": "sample string 4",
  "CreatedBy": 5,
  "CreatedDate": "sample string 6",
  "ModifiedBy": 7,
  "ModifiedDate": "sample string 8",
  "DeletedBy": 9,
  "DeletedDate": "sample string 10",
  "DeviceToken": "sample string 11",
  "FirstName": "sample string 12",
  "LastName": "sample string 13",
  "ReadDateTime": "sample string 14"
}

text/xml

Sample:
<Notification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/School.Entities.V1">
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">5</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 6</CreatedDate>
  <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">9</DeletedBy>
  <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 10</DeletedDate>
  <Description xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 4</Description>
  <DeviceToken xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 11</DeviceToken>
  <FirstName xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 12</FirstName>
  <Id xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">1</Id>
  <LastName xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 13</LastName>
  <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">7</ModifiedBy>
  <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 8</ModifiedDate>
  <ReadDateTime xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 14</ReadDateTime>
  <Title xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">sample string 3</Title>
  <UserId xmlns="http://schemas.datacontract.org/2004/07/School.Entities.Contract">2</UserId>
</Notification>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.