POST api/SetNotificationPreference
Request Information
URI Parameters
None.
Body Parameters
DeviceNotificationPreference| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceID | string |
None. |
|
| Pin | string |
None. |
|
| IsPushNotificationOn | boolean |
None. |
|
| IsEmailNotificationOn | boolean |
None. |
|
| IsCalenderlNotificationOn | boolean |
None. |
|
| IsTextNotificationOn | boolean |
None. |
|
| CompanyType | string |
None. |
|
| OrgID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeviceID": "sample string 1",
"Pin": "sample string 2",
"IsPushNotificationOn": true,
"IsEmailNotificationOn": true,
"IsCalenderlNotificationOn": true,
"IsTextNotificationOn": true,
"CompanyType": "sample string 7",
"OrgID": "sample string 8"
}
application/xml, text/xml
Sample:
<DeviceNotificationPreference xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClrCommonMobileApi.Models"> <CompanyType>sample string 7</CompanyType> <DeviceID>sample string 1</DeviceID> <IsCalenderlNotificationOn>true</IsCalenderlNotificationOn> <IsEmailNotificationOn>true</IsEmailNotificationOn> <IsPushNotificationOn>true</IsPushNotificationOn> <IsTextNotificationOn>true</IsTextNotificationOn> <OrgID>sample string 8</OrgID> <Pin>sample string 2</Pin> </DeviceNotificationPreference>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DeviceDetailsResult| Name | Description | Type | Additional information |
|---|---|---|---|
| StatusCode | string |
None. |
|
| IsSuccessStatusCode | boolean |
None. |
|
| Response | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"StatusCode": "sample string 1",
"IsSuccessStatusCode": true,
"Response": "sample string 3"
}
application/xml, text/xml
Sample:
<DeviceDetailsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClrCommonMobileApi.Models"> <IsSuccessStatusCode>true</IsSuccessStatusCode> <Response>sample string 3</Response> <StatusCode>sample string 1</StatusCode> </DeviceDetailsResult>