POST api/v1/favoritescustomerpromotions

Request Information

URI Parameters

None.

Body Parameters

FavoriteCustomerPromotionDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

PromotionCode

string

None.

CustomerId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "d99262f7-4bec-495e-90e4-10e9591a1e1e",
  "promotionCode": "sample string 1",
  "customerId": "f3b483b9-a60b-4ccf-9dd3-e61c82bcc7cb"
}

application/xml, text/xml

Sample:
<FavoriteCustomerPromotionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos">
  <CustomerId>f3b483b9-a60b-4ccf-9dd3-e61c82bcc7cb</CustomerId>
  <Id>d99262f7-4bec-495e-90e4-10e9591a1e1e</Id>
  <PromotionCode>sample string 1</PromotionCode>
</FavoriteCustomerPromotionDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.