POST {clientId}/Config/TextTags/Program
Add Text Tags on Programs. This API will add Text Tags for the specified locales that don’t exist on your account before associating them to the Program.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
clientId |
Your required clientId used to access the WebAPI. A 404 is returned if this value is invalid. |
string |
Required |
Body Parameters
Collection of Program TextTags to submit
Collection of ConfigProgramTextTagsName | Description | Type | Additional information |
---|---|---|---|
ID | string |
Required Min length: 1 |
|
Locales | Collection of ConfigLocaleDisplayTags |
Required |
Request Formats
application/json, text/json
Sample:
[ { "ID": "sample string 1", "Locales": [ { "DisplayTags": [ { "Key": "sample string 1", "Value": "sample string 2" } ], "ID": "sample string 1" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfConfigProgramTextTags xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyPreferences.REST.ConfigModels"> <ConfigProgramTextTags> <ID>sample string 1</ID> <Locales> <ConfigLocaleDisplayTags> <ID>sample string 1</ID> <DisplayTags> <ConfigKeyValue> <Key>sample string 1</Key> <Value>sample string 2</Value> </ConfigKeyValue> </DisplayTags> </ConfigLocaleDisplayTags> </Locales> </ConfigProgramTextTags> </ArrayOfConfigProgramTextTags>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response Codes
- Unauthorized (401)
- InternalServerError (500)
- BadRequest (400)
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.