POST api/CustomerTag/SaveTag
Request Information
URI Parameters
None.
Body Parameters
SaveTagRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Type | string |
None. |
|
| Description | string |
None. |
|
| Limit | integer |
None. |
|
| ExpireDay | integer |
None. |
|
| RemoveDay | integer |
None. |
|
| ShouldCreateExcludedTargetGroup | boolean |
None. |
|
| CreatedUser | string |
None. |
|
| DataSourceType | TagDataSourceTypeEnum |
None. |
|
| TableName | string |
None. |
|
| Query | string |
None. |
|
| CannotBeDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Type": "sample string 2",
"Description": "sample string 3",
"Limit": 1,
"ExpireDay": 1,
"RemoveDay": 1,
"ShouldCreateExcludedTargetGroup": true,
"CreatedUser": "sample string 5",
"DataSourceType": 1,
"TableName": "sample string 6",
"Query": "sample string 7",
"CannotBeDeleted": true
}
application/xml, text/xml
Sample:
<SaveTagRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request"> <CannotBeDeleted>true</CannotBeDeleted> <CreatedUser>sample string 5</CreatedUser> <DataSourceType>FTP</DataSourceType> <Description>sample string 3</Description> <ExpireDay>1</ExpireDay> <Limit>1</Limit> <Name>sample string 1</Name> <Query>sample string 7</Query> <RemoveDay>1</RemoveDay> <ShouldCreateExcludedTargetGroup>true</ShouldCreateExcludedTargetGroup> <TableName>sample string 6</TableName> <Type>sample string 2</Type> </SaveTagRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SaveTagResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Id | integer |
None. |
|
| ExcludingTagId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Id": 2,
"ExcludingTagId": 1
}
application/xml, text/xml
Sample:
<SaveTagResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response"> <ExcludingTagId>1</ExcludingTagId> <Id>2</Id> <Success>true</Success> </SaveTagResponse>