Cdn API

<back to all web services

SubscriptionDoNotMailToggle

Cdn.Api

The following routes are available for this service:
PUT/SubscriptionDoNotMailToggle
SubscriptionDoNotMailToggle Parameters:
NameParameterData TypeRequiredDescription
IdbodylongNo
BooleanbodyboolNo
SubscriptionResponse Parameters:
NameParameterData TypeRequiredDescription
DataformList<SubscriptionDto>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
SubscriptionDto Parameters:
NameParameterData TypeRequiredDescription
TitleformstringNo
SubtitleformstringNo
IssuesRemainingformintNo
TotalIssuesformintNo
FirstIssueDateformDateTimeNo
StartDateformDateTimeNo
StartDateDisplayformstringNo
ExpirationDateformDateTimeNo
ExpirationDateDisplayformstringNo
ShipMethodformstringNo
ActiveDaysRemainingformintNo
ListPriceformdecimalNo
PriceformdecimalNo
FirstClassPriceformdecimalNo
IsFirstClassformboolNo
SpecialPriceformdecimalNo
SpecialPriceExpirationformDateTime?No
IsOnlineformboolNo
IsPrintformboolNo
IsRecurringformboolNo
NumberOfSeatsformintNo
NextBillingDateformDateTimeNo
LastChargeDateformDateTimeNo
LastChargeSuccessformboolNo
IssueNowformboolNo
DoNotMailformboolNo
IsAutorenewformboolNo
IsSuspendedformboolNo
SuspendStartformDateTime?No
SuspendEndformDateTime?No
IsCancelledformboolNo
EmailAddressformstringNo
PhoneNumberformstringNo
Customer_IdformlongNo
ParentProductCategory_IdformlongNo
ProductCategory_IdformlongNo
Product_IdformlongNo
DateCreatedformDateTimeNo
LastRenewalDateformDateTime?No
LastRenewalDateDisplayformstringNo
DtoBase Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
ActiveformboolNo
LastModformDateTimeNo
LastModByformstringNo

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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT /SubscriptionDoNotMailToggle HTTP/1.1 
Host: cdnapidev-cdnx.greysheet.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Id":0,"Boolean":false}
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}