PUT | /SubscriptionEditRequest |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | body | long | No | |
ExpirationDate | body | DateTime? | No | |
Price | body | decimal | No | |
TotalIssues | body | int | No | |
IssuesRemaining | body | int | No | |
DoNotMail | body | bool | No | |
IsFirstClass | body | bool | No | |
EmailAddress | body | string | No | |
PhoneNumber | body | string | 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 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /SubscriptionEditRequest HTTP/1.1
Host: cdnapidev-cdnx.greysheet.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Id":0,"ExpirationDate":"\/Date(-62135596800000-0000)\/","Price":0,"TotalIssues":0,"IssuesRemaining":0,"DoNotMail":false,"IsFirstClass":false,"EmailAddress":"String","PhoneNumber":"String"}
HTTP/1.1 200 OK Content-Type: application/json 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}