POST api/v1/favoritescustomerpromotions
Request Information
URI Parameters
None.
Body Parameters
FavoriteCustomerPromotionDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| PromotionCode | string |
None. |
|
| CustomerId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "afdac105-9afd-4d7b-9e06-c695243af29c",
"promotionCode": "sample string 1",
"customerId": "35d419e4-b812-45ab-937a-5dcb0304e920"
}
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>35d419e4-b812-45ab-937a-5dcb0304e920</CustomerId> <Id>afdac105-9afd-4d7b-9e06-c695243af29c</Id> <PromotionCode>sample string 1</PromotionCode> </FavoriteCustomerPromotionDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.