POST api/Notification/SavePushDevice

Request Information

URI Parameters

None.

Body Parameters

PushDevice
NameDescriptionTypeAdditional information
PushDeviceID

integer

None.

Account

string

None.

DeviceName

string

None.

DeviceID

string

None.

DeviceToken

string

None.

OSType

string

None.

Enabled

boolean

None.

AppID

string

None.

DateCreated

date

None.

LastAccess

date

None.

Request Formats

application/json, text/json

Sample:
{
  "pushDeviceID": 1,
  "account": "sample string 2",
  "deviceName": "sample string 3",
  "deviceID": "sample string 4",
  "deviceToken": "sample string 5",
  "osType": "sample string 6",
  "enabled": true,
  "appID": "sample string 8",
  "dateCreated": "2025-06-25T13:39:12.8928625-04:00",
  "lastAccess": "2025-06-25T13:39:12.8928625-04:00"
}

application/xml, text/xml

Sample:
<PushDevice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeminiiSecureWebAPI.Model">
  <Account>sample string 2</Account>
  <AppID>sample string 8</AppID>
  <DateCreated>2025-06-25T13:39:12.8928625-04:00</DateCreated>
  <DeviceID>sample string 4</DeviceID>
  <DeviceName>sample string 3</DeviceName>
  <DeviceToken>sample string 5</DeviceToken>
  <Enabled>true</Enabled>
  <LastAccess>2025-06-25T13:39:12.8928625-04:00</LastAccess>
  <OSType>sample string 6</OSType>
  <PushDeviceID>1</PushDeviceID>
</PushDevice>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />