Cdn API

<back to all web services

CustomerSubscriptionStatusRequest

Cdn.Api

The following routes are available for this service:
GET/CustomerSubscriptionStatusRequest
CustomerSubscriptionStatusRequest Parameters:
NameParameterData TypeRequiredDescription
IdquerylongNo
CustomerSubscriptionStatusResponse Parameters:
NameParameterData TypeRequiredDescription
DataformSubscriptionStatusDtoNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
SubscriptionStatusDto Parameters:
NameParameterData TypeRequiredDescription
SubscriptionStatusesformList<SubscriptionStatus>No
AllowedCatalogsRetailformstringNo
AllowedCatalogsWholesaleformstringNo
AllowRetailformboolNo
AllowWholesaleformboolNo
SubscribedProductCategoriesformList<long>No
SubscriptionStatus Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
ProductCategoryIdformlongNo
ProductCateoryNameformstringNo
ProductCateorySubtitleformstringNo
ProductIdformlongNo
ProductNameformstringNo
ProductSubtitleformstringNo
IsSingleIssueformboolNo
IsOnlineformboolNo
IsPrintformboolNo
IsRecurringformboolNo
IssuesRemainingformintNo
TotalIssuesformintNo
SubscriptionStartDateformDateTimeNo
SubscriptionStartDateDisplayformstringNo
ExpirationDateformDateTimeNo
ExpirationDateDisplayformstringNo
NextBillingDateformDateTimeNo
NextBillingDateDisplayformstringNo
ShipMethodformstringNo
ActiveDaysRemainingformintNo

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.

GET /CustomerSubscriptionStatusRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Data":{"SubscriptionStatuses":[{"Id":0,"ProductCategoryId":0,"ProductCateoryName":"String","ProductCateorySubtitle":"String","ProductId":0,"ProductName":"String","ProductSubtitle":"String","IsSingleIssue":false,"IsOnline":false,"IsPrint":false,"IsRecurring":false,"IssuesRemaining":0,"TotalIssues":0,"SubscriptionStartDate":"\/Date(-62135596800000-0000)\/","SubscriptionStartDateDisplay":"String","ExpirationDate":"\/Date(-62135596800000-0000)\/","ExpirationDateDisplay":"String","NextBillingDate":"\/Date(-62135596800000-0000)\/","NextBillingDateDisplay":"String","ShipMethod":"String","ActiveDaysRemaining":0}],"AllowedCatalogsRetail":"String","AllowedCatalogsWholesale":"String","AllowRetail":false,"AllowWholesale":false,"SubscribedProductCategories":[0]},"Total":0,"OpCode":0,"ErrorText":"String","RequestTime":"String","ResponseTime":"String","TotalExecutionTime":"String","CachedResponse":false}