POST api/Customer/UpdateSubscription

Request Information

URI Parameters

None.

Body Parameters

Customer
NameDescriptionTypeAdditional information
CustomerId

integer

None.

Email

string

None.

Firstname

string

None.

Lastname

string

None.

Company

string

None.

Phone

string

None.

PhoneExt

string

None.

PagerNumber

string

None.

InitRegistration

boolean

None.

Solicitation

boolean

None.

EnableSoupEmail

boolean

None.

HadSeenAllergenAlert

boolean

None.

SpecialtysRewards

SpecialtysRewards

None.

TestUser

boolean

None.

CardId

string

None.

GiftCardSwipe

string

None.

QuickClickEnabled

boolean

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'NodeProduct' with type 'Specialtys.DTO.Product'. Path 'SpecialtysRewards.BakersDozen.OrdersInProgress[0].Items[0].ChildProductList[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'NodeProduct' with type 'Specialtys.DTO.Product'. Path 'SpecialtysRewards.BakersDozen.OrdersInProgress[0].Items[0].ChildProductList[0]'.

text/html

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/html'. Exception message: Self referencing loop detected for property 'NodeProduct' with type 'Specialtys.DTO.Product'. Path 'SpecialtysRewards.BakersDozen.OrdersInProgress[0].Items[0].ChildProductList[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[Specialtys.DTO.ChildProduct, Specialtys.DTO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[Specialtys.DTO.ChildProduct, Specialtys.DTO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.