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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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: 0001-01-01,
				SubscriptionStartDateDisplay: String,
				ExpirationDate: 0001-01-01,
				ExpirationDateDisplay: String,
				NextBillingDate: 0001-01-01,
				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
}