POST api/CustomerTag/SaveCustomerToTag
Request Information
URI Parameters
None.
Body Parameters
SaveCustomerToTagRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | globally unique identifier |
None. |
|
| TagIdList | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "db80f27f-c9e4-4c71-96da-2b80fcef1225",
"TagIdList": [
1,
2
]
}
application/xml, text/xml
Sample:
<SaveCustomerToTagRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request">
<TagIdList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</TagIdList>
<UserId>db80f27f-c9e4-4c71-96da-2b80fcef1225</UserId>
</SaveCustomerToTagRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SaveCustomerToTagResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| ExceptionMessage | string |
None. |
|
| IsExistsList | Collection of integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"ExceptionMessage": "sample string 2",
"IsExistsList": [
1,
2
]
}
application/xml, text/xml
Sample:
<SaveCustomerToTagResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response">
<ExceptionMessage>sample string 2</ExceptionMessage>
<IsExistsList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</IsExistsList>
<Success>true</Success>
</SaveCustomerToTagResponse>