Cdn API - CPG Source

<back to all web services

IapSubscriptionExtendRequest

Cdn.Api

The following routes are available for this service:
POST/IapSubscriptionExtendRequest
IapSubscriptionExtendRequest Parameters:
NameParameterData TypeRequiredDescription
SubscriptionIdbodystringNo
ExtendByDaysbodyintNo
ExtendReasonCodebodystringNo
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 .csv suffix or ?format=csv

HTTP + CSV

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

POST /IapSubscriptionExtendRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"SubscriptionId":"String","ExtendByDays":0,"ExtendReasonCode":"String","Reason":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
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}