POST api/CustomerTag/SaveTagForPromotionCode
Request Information
URI Parameters
None.
Body Parameters
SaveTagForPromotionCodeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Description": "sample string 2"
}
application/xml, text/xml
Sample:
<SaveTagForPromotionCodeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request"> <Description>sample string 2</Description> <Name>sample string 1</Name> </SaveTagForPromotionCodeRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SaveTagForPromotionCodeResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ExceptionMessage | string |
None. |
|
| Success | boolean |
None. |
|
| TagId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ExceptionMessage": "sample string 1",
"Success": true,
"TagId": 3
}
application/xml, text/xml
Sample:
<SaveTagForPromotionCodeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response"> <ExceptionMessage>sample string 1</ExceptionMessage> <Success>true</Success> <TagId>3</TagId> </SaveTagForPromotionCodeResponse>