POST api/PushNotification/SendPushNotificationByAPNS

Request Information

URI Parameters

None.

Body Parameters

EmployeeDevicesVO
NameDescriptionTypeAdditional information
Emp_Device_ID

integer

None.

User_ID

integer

None.

Emp_ID

integer

None.

Device_Number

string

None.

Device_Name

string

None.

Device_Os_Version

string

None.

Device_Platform

string

None.

Active

integer

None.

CREATED_DATE

date

None.

CREATED_BY

integer

None.

MODIFIED_BY

integer

None.

MODIFIED_DATE

date

None.

DEVICE_TOKEN

string

None.

Title

string

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Emp_Device_ID": 1,
  "User_ID": 2,
  "Emp_ID": 3,
  "Device_Number": "sample string 4",
  "Device_Name": "sample string 5",
  "Device_Os_Version": "sample string 6",
  "Device_Platform": "sample string 7",
  "Active": 8,
  "CREATED_DATE": "2024-11-28T14:14:13.3331752+05:30",
  "CREATED_BY": 10,
  "MODIFIED_BY": 11,
  "MODIFIED_DATE": "2024-11-28T14:14:13.3331752+05:30",
  "DEVICE_TOKEN": "sample string 13",
  "Title": "sample string 14",
  "Message": "sample string 15"
}

application/xml, text/xml

Sample:
<EmployeeDevicesVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModelLayer">
  <Active>8</Active>
  <CREATED_BY>10</CREATED_BY>
  <CREATED_DATE>2024-11-28T14:14:13.3331752+05:30</CREATED_DATE>
  <DEVICE_TOKEN>sample string 13</DEVICE_TOKEN>
  <Device_Name>sample string 5</Device_Name>
  <Device_Number>sample string 4</Device_Number>
  <Device_Os_Version>sample string 6</Device_Os_Version>
  <Device_Platform>sample string 7</Device_Platform>
  <Emp_Device_ID>1</Emp_Device_ID>
  <Emp_ID>3</Emp_ID>
  <MODIFIED_BY>11</MODIFIED_BY>
  <MODIFIED_DATE>2024-11-28T14:14:13.3331752+05:30</MODIFIED_DATE>
  <Message>sample string 15</Message>
  <Title>sample string 14</Title>
  <User_ID>2</User_ID>
</EmployeeDevicesVO>

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

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Data

Object

None.

Message

string

None.

ErrorCode

integer

None.

Data1

Object

None.

Emp_ID

string

None.

On_duty_master_ID

integer

None.

ODStatus

Object

None.

ODDetails

Object

None.

UserDetails

Object

None.

ON_DUTY_PROGRAM_ID

integer

None.

settings

Object

None.

IsProgramStatus

boolean

None.

ODStartTime

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": {},
  "Message": "sample string 3",
  "ErrorCode": 4,
  "Data1": {},
  "Emp_ID": "sample string 6",
  "On_duty_master_ID": 7,
  "ODStatus": {},
  "ODDetails": {},
  "UserDetails": {},
  "ON_DUTY_PROGRAM_ID": 11,
  "settings": {},
  "IsProgramStatus": true,
  "ODStartTime": "sample string 14"
}

application/xml, text/xml

Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModelLayer">
  <Data />
  <Data1 />
  <Emp_ID>sample string 6</Emp_ID>
  <ErrorCode>4</ErrorCode>
  <IsProgramStatus>true</IsProgramStatus>
  <Message>sample string 3</Message>
  <ODDetails />
  <ODStartTime>sample string 14</ODStartTime>
  <ODStatus />
  <ON_DUTY_PROGRAM_ID>11</ON_DUTY_PROGRAM_ID>
  <On_duty_master_ID>7</On_duty_master_ID>
  <Success>true</Success>
  <UserDetails />
  <settings />
</ResponseModel>