GET,POST,PUT,DELETE | /SubscriptionRequest |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CustomerId | body | long | No | |
RecentlyExpired | body | bool | No | |
CurrentSubscriptions | body | bool | No | |
Skip | body | int | No | |
Take | body | int | No | |
Title | body | string | No | |
Subtitle | body | string | No | |
IssuesRemaining | body | int? | No | |
TotalIssues | body | int? | No | |
FirstIssueDate | body | DateTime | No | |
StartDate | body | DateTime | No | |
ExpirationDate | body | DateTime | No | |
ShipMethod | body | string | No | |
ActiveDaysRemaining | body | int | No | |
ListPrice | body | decimal | No | |
Price | body | decimal | No | |
FirstClassPrice | body | decimal | No | |
IsFirstClass | body | bool | No | |
SpecialPrice | body | decimal? | No | |
SpecialPriceExpiration | body | DateTime? | No | |
IsOnline | body | bool | No | |
IsPrint | body | bool | No | |
IsRecurring | body | bool | No | |
NumberOfSeats | body | int? | No | |
NextBillingDate | body | DateTime | No | |
LastChargeDate | body | DateTime | No | |
LastChargeSuccess | body | bool? | No | |
DoNotMail | body | bool | No | |
IssueNow | body | bool | No | |
IsAutorenew | body | bool | No | |
IsSuspended | body | bool? | No | |
SuspendStart | body | DateTime? | No | |
SuspendEnd | body | DateTime? | No | |
IsCancelled | body | bool? | No | |
EmailAddress | body | string | No | |
PhoneNumber | body | string | No | |
OrderItem_Id | body | long | No | |
ParentProductCategory_Id | body | long | No | |
Product_Id | body | long | No | |
ProductCategory_Id | body | long | No | |
Active | body | bool | No | |
UpdateType | body | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long? | No | |
OrderBy | form | string[] | No | |
OrderDirections | form | SortOrders[] | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Data | form | List<SubscriptionDto> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Total | form | int | No | |
OpCode | form | int | No | |
ErrorText | form | string | No | |
RequestTime | form | string | No | |
ResponseTime | form | string | No | |
TotalExecutionTime | form | string | No | |
CachedResponse | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Title | form | string | No | |
Subtitle | form | string | No | |
IssuesRemaining | form | int | No | |
TotalIssues | form | int | No | |
FirstIssueDate | form | DateTime | No | |
StartDate | form | DateTime | No | |
StartDateDisplay | form | string | No | |
ExpirationDate | form | DateTime | No | |
ExpirationDateDisplay | form | string | No | |
ShipMethod | form | string | No | |
ActiveDaysRemaining | form | int | No | |
ListPrice | form | decimal | No | |
Price | form | decimal | No | |
FirstClassPrice | form | decimal | No | |
IsFirstClass | form | bool | No | |
SpecialPrice | form | decimal | No | |
SpecialPriceExpiration | form | DateTime? | No | |
IsOnline | form | bool | No | |
IsPrint | form | bool | No | |
IsRecurring | form | bool | No | |
NumberOfSeats | form | int | No | |
NextBillingDate | form | DateTime | No | |
LastChargeDate | form | DateTime | No | |
LastChargeSuccess | form | bool | No | |
IssueNow | form | bool | No | |
DoNotMail | form | bool | No | |
IsAutorenew | form | bool | No | |
IsSuspended | form | bool | No | |
SuspendStart | form | DateTime? | No | |
SuspendEnd | form | DateTime? | No | |
IsCancelled | form | bool | No | |
EmailAddress | form | string | No | |
PhoneNumber | form | string | No | |
Customer_Id | form | long | No | |
ParentProductCategory_Id | form | long | No | |
ProductCategory_Id | form | long | No | |
Product_Id | form | long | No | |
DateCreated | form | DateTime | No | |
LastRenewalDate | form | DateTime? | No | |
LastRenewalDateDisplay | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
Active | form | bool | No | |
LastMod | form | DateTime | No | |
LastModBy | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Data | form | List<SubscriptionDto> | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /SubscriptionRequest HTTP/1.1
Host: cdnapidev.greysheet.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"CustomerId":0,"RecentlyExpired":false,"CurrentSubscriptions":false,"Skip":0,"Take":0,"Title":"String","Subtitle":"String","IssuesRemaining":0,"TotalIssues":0,"FirstIssueDate":"\/Date(-62135596800000-0000)\/","StartDate":"\/Date(-62135596800000-0000)\/","ExpirationDate":"\/Date(-62135596800000-0000)\/","ShipMethod":"String","ActiveDaysRemaining":0,"ListPrice":0,"Price":0,"FirstClassPrice":0,"IsFirstClass":false,"SpecialPrice":0,"SpecialPriceExpiration":"\/Date(-62135596800000-0000)\/","IsOnline":false,"IsPrint":false,"IsRecurring":false,"NumberOfSeats":0,"NextBillingDate":"\/Date(-62135596800000-0000)\/","LastChargeDate":"\/Date(-62135596800000-0000)\/","LastChargeSuccess":false,"DoNotMail":false,"IssueNow":false,"IsAutorenew":false,"IsSuspended":false,"SuspendStart":"\/Date(-62135596800000-0000)\/","SuspendEnd":"\/Date(-62135596800000-0000)\/","IsCancelled":false,"EmailAddress":"String","PhoneNumber":"String","OrderItem_Id":0,"ParentProductCategory_Id":0,"Product_Id":0,"ProductCategory_Id":0,"Active":false,"UpdateType":"String","Id":0,"OrderBy":["String"],"OrderDirections":["Asc"]}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Data":[{"Title":"String","Subtitle":"String","IssuesRemaining":0,"TotalIssues":0,"FirstIssueDate":"\/Date(-62135596800000-0000)\/","StartDate":"\/Date(-62135596800000-0000)\/","StartDateDisplay":"String","ExpirationDate":"\/Date(-62135596800000-0000)\/","ExpirationDateDisplay":"String","ShipMethod":"String","ActiveDaysRemaining":0,"ListPrice":0,"Price":0,"FirstClassPrice":0,"IsFirstClass":false,"SpecialPrice":0,"SpecialPriceExpiration":"\/Date(-62135596800000-0000)\/","IsOnline":false,"IsPrint":false,"IsRecurring":false,"NumberOfSeats":0,"NextBillingDate":"\/Date(-62135596800000-0000)\/","LastChargeDate":"\/Date(-62135596800000-0000)\/","LastChargeSuccess":false,"IssueNow":false,"DoNotMail":false,"IsAutorenew":false,"IsSuspended":false,"SuspendStart":"\/Date(-62135596800000-0000)\/","SuspendEnd":"\/Date(-62135596800000-0000)\/","IsCancelled":false,"EmailAddress":"String","PhoneNumber":"String","Customer_Id":0,"ParentProductCategory_Id":0,"ProductCategory_Id":0,"Product_Id":0,"DateCreated":"\/Date(-62135596800000-0000)\/","LastRenewalDate":"\/Date(-62135596800000-0000)\/","LastRenewalDateDisplay":"String","Id":0,"Active":false,"LastMod":"\/Date(-62135596800000-0000)\/","LastModBy":"String"}],"Total":0,"OpCode":0,"ErrorText":"String","RequestTime":"String","ResponseTime":"String","TotalExecutionTime":"String","CachedResponse":false}