POST api/v1/systems/{systemPhoneNumber}/push/subscribe
Send message
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
systemPhoneNumber | string |
Required |
Body Parameters
PushRequestName | Description | Type | Additional information |
---|---|---|---|
Type | DeviceType |
Required |
|
Token | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Type": 0, "Token": "sample string 1" }
application/xml, text/xml
Sample:
<PushRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreedomVoice.Entities.Request.Weblink"> <Token>sample string 1</Token> <Type>IOS</Type> </PushRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>