POST notifications/createregistrationid
Request Information
URI Parameters
None.
Body Parameters
CreateRegistrationIDRequestName | Description | Type | Additional information |
---|---|---|---|
ApiKey | globally unique identifier |
Required |
|
ApplicationVersion | integer |
Required |
|
ZoneID | integer |
Required |
|
Handle | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "ApiKey": "80db10e9-c23a-4167-ac1f-2ca36030459a", "ApplicationVersion": 2, "ZoneID": 3, "Handle": "sample string 4" }
application/xml, text/xml
Sample:
<CreateRegistrationIDRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models.Notifications"> <ApiKey>80db10e9-c23a-4167-ac1f-2ca36030459a</ApiKey> <ApplicationVersion>2</ApplicationVersion> <Handle>sample string 4</Handle> <ZoneID>3</ZoneID> </CreateRegistrationIDRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CreateRegistrationIDResultName | Description | Type | Additional information |
---|---|---|---|
RegistrationID | string |
None. |
|
Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "RegistrationID": "sample string 1", "Success": true }
application/xml, text/xml
Sample:
<CreateRegistrationIDResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models.Notifications"> <RegistrationID>sample string 1</RegistrationID> <Success>true</Success> </CreateRegistrationIDResult>