POST api/Notification/SaveEventPushDevice
Request Information
URI Parameters
None.
Body Parameters
EventPushDevice| Name | Description | Type | Additional information |
|---|---|---|---|
| EventPushDeviceID | integer |
None. |
|
| PushDeviceID | integer |
None. |
|
| NotificationEventID | integer |
None. |
|
| Account | string |
None. |
|
| DeviceName | string |
None. |
|
| DeviceToken | string |
None. |
|
| OSType | string |
None. |
|
| Enabled | boolean |
None. |
|
| AppID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"eventPushDeviceID": 1,
"pushDeviceID": 2,
"notificationEventID": 3,
"account": "sample string 4",
"deviceName": "sample string 5",
"deviceToken": "sample string 6",
"osType": "sample string 7",
"enabled": true,
"appID": "sample string 9"
}
application/xml, text/xml
Sample:
<EventPushDevice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeminiiSecureWebAPI.Model"> <Account>sample string 4</Account> <AppID>sample string 9</AppID> <DeviceName>sample string 5</DeviceName> <DeviceToken>sample string 6</DeviceToken> <Enabled>true</Enabled> <EventPushDeviceID>1</EventPushDeviceID> <NotificationEventID>3</NotificationEventID> <OSType>sample string 7</OSType> <PushDeviceID>2</PushDeviceID> </EventPushDevice>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
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/" />