GET,POST,PUT,DELETE | /SubscriptionRequest |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CustomerId | body | long | No | |
RecentlyExpired | 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 .jsv suffix or ?format=jsv
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-cdnx.greysheet.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
CustomerId: 0,
RecentlyExpired: False,
Skip: 0,
Take: 0,
Title: String,
Subtitle: String,
IssuesRemaining: 0,
TotalIssues: 0,
FirstIssueDate: 0001-01-01,
StartDate: 0001-01-01,
ExpirationDate: 0001-01-01,
ShipMethod: String,
ActiveDaysRemaining: 0,
ListPrice: 0,
Price: 0,
FirstClassPrice: 0,
IsFirstClass: False,
SpecialPrice: 0,
SpecialPriceExpiration: 0001-01-01,
IsOnline: False,
IsPrint: False,
IsRecurring: False,
NumberOfSeats: 0,
NextBillingDate: 0001-01-01,
LastChargeDate: 0001-01-01,
LastChargeSuccess: False,
DoNotMail: False,
IssueNow: False,
IsAutorenew: False,
IsSuspended: False,
SuspendStart: 0001-01-01,
SuspendEnd: 0001-01-01,
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/jsv Content-Length: length { Data: [ { Title: String, Subtitle: String, IssuesRemaining: 0, TotalIssues: 0, FirstIssueDate: 0001-01-01, StartDate: 0001-01-01, StartDateDisplay: String, ExpirationDate: 0001-01-01, ExpirationDateDisplay: String, ShipMethod: String, ActiveDaysRemaining: 0, ListPrice: 0, Price: 0, FirstClassPrice: 0, IsFirstClass: False, SpecialPrice: 0, SpecialPriceExpiration: 0001-01-01, IsOnline: False, IsPrint: False, IsRecurring: False, NumberOfSeats: 0, NextBillingDate: 0001-01-01, LastChargeDate: 0001-01-01, LastChargeSuccess: False, IssueNow: False, DoNotMail: False, IsAutorenew: False, IsSuspended: False, SuspendStart: 0001-01-01, SuspendEnd: 0001-01-01, IsCancelled: False, EmailAddress: String, PhoneNumber: String, Customer_Id: 0, ParentProductCategory_Id: 0, ProductCategory_Id: 0, Product_Id: 0, DateCreated: 0001-01-01, LastRenewalDate: 0001-01-01, LastRenewalDateDisplay: String, Id: 0, Active: False, LastMod: 0001-01-01, LastModBy: String } ], Total: 0, OpCode: 0, ErrorText: String, RequestTime: String, ResponseTime: String, TotalExecutionTime: String, CachedResponse: False }