POST generic/{customerid}/{TemplateID}/{IsGeneric}/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}/{serialNumber}?VoucherCode={VoucherCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerid | string |
Required |
|
TemplateID | string |
Required |
|
VoucherCode | string |
Required |
|
deviceLibraryIdentifier | string |
Required |
|
passTypeIdentifier | string |
Required |
|
serialNumber | string |
Required |
|
IsGeneric | string |
None. |
Body Parameters
PushTokenObjectName | Description | Type | Additional information |
---|---|---|---|
PushToken | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PushToken": "sample string 1" }
application/xml, text/xml
Sample:
<PushTokenObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PkPass_Web.Controllers"> <PushToken>sample string 1</PushToken> </PushTokenObject>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |