POST api/NotificationSend

Request Information

URI Parameters

None.

Body Parameters

PAL_NotificationSend
NameDescriptionTypeAdditional information
UserId

string

None.

EmpID

string

None.

NotificationTitle

string

None.

NotificationBody

string

None.

RoutePageName

string

None.

DeviceToken

string

None.

ActivityType

string

None.

FromPage

string

None.

LeaveID

string

None.

LeaveType

string

None.

FromDate

string

None.

opCode

integer

None.

isException

boolean

None.

exceptionMessage

string

None.

DS

DataSet

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": "sample string 1",
  "empID": "sample string 2",
  "notificationTitle": "sample string 3",
  "notificationBody": "sample string 4",
  "routePageName": "sample string 5",
  "deviceToken": "sample string 6",
  "activityType": "sample string 7",
  "fromPage": "sample string 8",
  "leaveID": "sample string 9",
  "leaveType": "sample string 10",
  "fromDate": "sample string 11",
  "opCode": 12,
  "isException": true,
  "exceptionMessage": "sample string 14",
  "ds": null
}

application/xml, text/xml

Sample:
<PAL_NotificationSend xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERAERPAPI.Models">
  <DS i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/DLLUtility" />
  <exceptionMessage xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 14</exceptionMessage>
  <isException xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">true</isException>
  <opCode xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">12</opCode>
  <ActivityType>sample string 7</ActivityType>
  <DeviceToken>sample string 6</DeviceToken>
  <EmpID>sample string 2</EmpID>
  <FromDate>sample string 11</FromDate>
  <FromPage>sample string 8</FromPage>
  <LeaveID>sample string 9</LeaveID>
  <LeaveType>sample string 10</LeaveType>
  <NotificationBody>sample string 4</NotificationBody>
  <NotificationTitle>sample string 3</NotificationTitle>
  <RoutePageName>sample string 5</RoutePageName>
  <UserId>sample string 1</UserId>
</PAL_NotificationSend>

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

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.