POST UserContact/RegisterPushContact
Register a mobile push contact.
Request Information
URI Parameters
None.
Body Parameters
PushContactRestItemName | Description | Type | Additional information |
---|---|---|---|
MobilePushToken |
The token that is received from the push notification provider. |
string |
None. |
ContactName |
A name for the user to identify this contact with. |
string |
None. |
OSName |
The name of the OS of the device that is registered for push notifications. |
string |
None. |
OSVersion |
The version of the OS of the device that is registered for push notifications. |
string |
None. |
DeviceModel |
The model of the device that is registered for push notifications. |
string |
None. |
Request Formats
application/json, text/json
{ "MobilePushToken": "sample string 1", "ContactName": "sample string 2", "OSName": "sample string 3", "OSVersion": "sample string 4", "DeviceModel": "sample string 5" }
application/xml, text/xml
<PushContactRestItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models"> <ContactName>sample string 2</ContactName> <DeviceModel>sample string 5</DeviceModel> <MobilePushToken>sample string 1</MobilePushToken> <OSName>sample string 3</OSName> <OSVersion>sample string 4</OSVersion> </PushContactRestItem>
application/x-www-form-urlencoded
Response Information
Resource Description
PushContactRestItemName | Description | Type | Additional information |
---|---|---|---|
MobilePushToken |
The token that is received from the push notification provider. |
string |
None. |
ContactName |
A name for the user to identify this contact with. |
string |
None. |
OSName |
The name of the OS of the device that is registered for push notifications. |
string |
None. |
OSVersion |
The version of the OS of the device that is registered for push notifications. |
string |
None. |
DeviceModel |
The model of the device that is registered for push notifications. |
string |
None. |
Response Formats
application/json, text/json
{ "MobilePushToken": "sample string 1", "ContactName": "sample string 2", "OSName": "sample string 3", "OSVersion": "sample string 4", "DeviceModel": "sample string 5" }
application/xml, text/xml
<PushContactRestItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models"> <ContactName>sample string 2</ContactName> <DeviceModel>sample string 5</DeviceModel> <MobilePushToken>sample string 1</MobilePushToken> <OSName>sample string 3</OSName> <OSVersion>sample string 4</OSVersion> </PushContactRestItem>