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": "3475def2-7f89-4ab0-a97e-1cb9c75e79f7",
"promotionCode": "sample string 1",
"customerId": "0840aaa3-bc6d-4c50-86fc-be414e83dd62"
}
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>0840aaa3-bc6d-4c50-86fc-be414e83dd62</CustomerId> <Id>3475def2-7f89-4ab0-a97e-1cb9c75e79f7</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.