Cdn API - CPG Source

<back to all web services

IapSubscriptionCancelRequest

Cdn.Api

The following routes are available for this service:
POST/IapSubscriptionCancelRequest
IapSubscriptionCancelRequest Parameters:
NameParameterData TypeRequiredDescription
SubscriptionIdbodystringNo
ReasonbodystringNo
IapSubscriptionActionResponse Parameters:
NameParameterData TypeRequiredDescription
SubscriptionformRcSubscriptionNo
TransactionformRcTransactionNo
StatusformstringNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
RcSubscription Parameters:
NameParameterData TypeRequiredDescription
ObjectformstringNo
IdformstringNo
CustomerIdformstringNo
ProductIdformstringNo
StartsAtformlong?No
CurrentPeriodEndsAtformlong?No
GivesAccessformboolNo
AutoRenewalStatusformstringNo
StatusformstringNo
StoreformstringNo
StoreSubscriptionIdentifierformstringNo
ManagementUrlformstringNo
ExtraformIDictionary<string, Object>No
RcTransaction Parameters:
NameParameterData TypeRequiredDescription
ObjectformstringNo
IdformstringNo
PurchasedAtformlong?No
ProductStoreIdentifierformstringNo
ExpirationDateformlong?No
EffectiveExpirationDateformlong?No
ExtraformIDictionary<string, Object>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /IapSubscriptionCancelRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"SubscriptionId":"String","Reason":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Subscription":{"Object":"String","Id":"String","CustomerId":"String","ProductId":"String","StartsAt":0,"CurrentPeriodEndsAt":0,"GivesAccess":false,"AutoRenewalStatus":"String","Status":"String","Store":"String","StoreSubscriptionIdentifier":"String","ManagementUrl":"String"},"Transaction":{"Object":"String","Id":"String","PurchasedAt":0,"ProductStoreIdentifier":"String","ExpirationDate":0,"EffectiveExpirationDate":0},"Status":"String","Total":0,"OpCode":0,"ErrorText":"String","RequestTime":"String","ResponseTime":"String","TotalExecutionTime":"String","CachedResponse":false}