POST UpdateTagMappings?sid={sid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sid | integer |
Required |
Body Parameters
MappedData| Name | Description | Type | Additional information |
|---|---|---|---|
| ChannelId | integer |
None. |
|
| TagMappings | Collection of MapTag |
None. |
Request Formats
application/json, text/json
Sample:
{
"ChannelId": 1,
"TagMappings": [
{
"TagId": 1,
"MapTaggingSidPropChannels": [
{
"TaggingSidPropChannelId": 1,
"IncludeText": "sample string 2",
"MapTaggingSidPropChannelDescs": [
{
"TaggingSidPropChannelDescId": 1,
"Description": "sample string 2",
"MapOccurences": [
{
"Index": 1,
"Length": 2,
"Text": "sample string 3"
},
{
"Index": 1,
"Length": 2,
"Text": "sample string 3"
}
]
},
{
"TaggingSidPropChannelDescId": 1,
"Description": "sample string 2",
"MapOccurences": [
{
"Index": 1,
"Length": 2,
"Text": "sample string 3"
},
{
"Index": 1,
"Length": 2,
"Text": "sample string 3"
}
]
}
]
},
{
"TaggingSidPropChannelId": 1,
"IncludeText": "sample string 2",
"MapTaggingSidPropChannelDescs": [
{
"TaggingSidPropChannelDescId": 1,
"Description": "sample string 2",
"MapOccurences": [
{
"Index": 1,
"Length": 2,
"Text": "sample string 3"
},
{
"Index": 1,
"Length": 2,
"Text": "sample string 3"
}
]
},
{
"TaggingSidPropChannelDescId": 1,
"Description": "sample string 2",
"MapOccurences": [
{
"Index": 1,
"Length": 2,
"Text": "sample string 3"
},
{
"Index": 1,
"Length": 2,
"Text": "sample string 3"
}
]
}
]
}
]
},
{
"TagId": 1,
"MapTaggingSidPropChannels": [
{
"TaggingSidPropChannelId": 1,
"IncludeText": "sample string 2",
"MapTaggingSidPropChannelDescs": [
{
"TaggingSidPropChannelDescId": 1,
"Description": "sample string 2",
"MapOccurences": [
{
"Index": 1,
"Length": 2,
"Text": "sample string 3"
},
{
"Index": 1,
"Length": 2,
"Text": "sample string 3"
}
]
},
{
"TaggingSidPropChannelDescId": 1,
"Description": "sample string 2",
"MapOccurences": [
{
"Index": 1,
"Length": 2,
"Text": "sample string 3"
},
{
"Index": 1,
"Length": 2,
"Text": "sample string 3"
}
]
}
]
},
{
"TaggingSidPropChannelId": 1,
"IncludeText": "sample string 2",
"MapTaggingSidPropChannelDescs": [
{
"TaggingSidPropChannelDescId": 1,
"Description": "sample string 2",
"MapOccurences": [
{
"Index": 1,
"Length": 2,
"Text": "sample string 3"
},
{
"Index": 1,
"Length": 2,
"Text": "sample string 3"
}
]
},
{
"TaggingSidPropChannelDescId": 1,
"Description": "sample string 2",
"MapOccurences": [
{
"Index": 1,
"Length": 2,
"Text": "sample string 3"
},
{
"Index": 1,
"Length": 2,
"Text": "sample string 3"
}
]
}
]
}
]
}
]
}
text/html
Sample:
{"ChannelId":1,"TagMappings":[{"TagId":1,"MapTaggingSidPropChannels":[{"TaggingSidPropChannelId":1,"IncludeText":"sample string 2","MapTaggingSidPropChannelDescs":[{"TaggingSidPropChannelDescId":1,"Description":"sample string 2","MapOccurences":[{"Index":1,"Length":2,"Text":"sample string 3"},{"Index":1,"Length":2,"Text":"sample string 3"}]},{"TaggingSidPropChannelDescId":1,"Description":"sample string 2","MapOccurences":[{"Index":1,"Length":2,"Text":"sample string 3"},{"Index":1,"Length":2,"Text":"sample string 3"}]}]},{"TaggingSidPropChannelId":1,"IncludeText":"sample string 2","MapTaggingSidPropChannelDescs":[{"TaggingSidPropChannelDescId":1,"Description":"sample string 2","MapOccurences":[{"Index":1,"Length":2,"Text":"sample string 3"},{"Index":1,"Length":2,"Text":"sample string 3"}]},{"TaggingSidPropChannelDescId":1,"Description":"sample string 2","MapOccurences":[{"Index":1,"Length":2,"Text":"sample string 3"},{"Index":1,"Length":2,"Text":"sample string 3"}]}]}]},{"TagId":1,"MapTaggingSidPropChannels":[{"TaggingSidPropChannelId":1,"IncludeText":"sample string 2","MapTaggingSidPropChannelDescs":[{"TaggingSidPropChannelDescId":1,"Description":"sample string 2","MapOccurences":[{"Index":1,"Length":2,"Text":"sample string 3"},{"Index":1,"Length":2,"Text":"sample string 3"}]},{"TaggingSidPropChannelDescId":1,"Description":"sample string 2","MapOccurences":[{"Index":1,"Length":2,"Text":"sample string 3"},{"Index":1,"Length":2,"Text":"sample string 3"}]}]},{"TaggingSidPropChannelId":1,"IncludeText":"sample string 2","MapTaggingSidPropChannelDescs":[{"TaggingSidPropChannelDescId":1,"Description":"sample string 2","MapOccurences":[{"Index":1,"Length":2,"Text":"sample string 3"},{"Index":1,"Length":2,"Text":"sample string 3"}]},{"TaggingSidPropChannelDescId":1,"Description":"sample string 2","MapOccurences":[{"Index":1,"Length":2,"Text":"sample string 3"},{"Index":1,"Length":2,"Text":"sample string 3"}]}]}]}]}
application/xml, text/xml
Sample:
<MappedData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.TagMapping">
<ChannelId>1</ChannelId>
<TagMappings>
<MapTag>
<MapTaggingSidPropChannels>
<MapTaggingSidPropChannel>
<IncludeText>sample string 2</IncludeText>
<MapTaggingSidPropChannelDescs>
<MapTaggingSidPropChannelDesc>
<Description>sample string 2</Description>
<MapOccurences>
<MapOccurence>
<Index>1</Index>
<Length>2</Length>
<Text>sample string 3</Text>
</MapOccurence>
<MapOccurence>
<Index>1</Index>
<Length>2</Length>
<Text>sample string 3</Text>
</MapOccurence>
</MapOccurences>
<TaggingSidPropChannelDescId>1</TaggingSidPropChannelDescId>
</MapTaggingSidPropChannelDesc>
<MapTaggingSidPropChannelDesc>
<Description>sample string 2</Description>
<MapOccurences>
<MapOccurence>
<Index>1</Index>
<Length>2</Length>
<Text>sample string 3</Text>
</MapOccurence>
<MapOccurence>
<Index>1</Index>
<Length>2</Length>
<Text>sample string 3</Text>
</MapOccurence>
</MapOccurences>
<TaggingSidPropChannelDescId>1</TaggingSidPropChannelDescId>
</MapTaggingSidPropChannelDesc>
</MapTaggingSidPropChannelDescs>
<TaggingSidPropChannelId>1</TaggingSidPropChannelId>
</MapTaggingSidPropChannel>
<MapTaggingSidPropChannel>
<IncludeText>sample string 2</IncludeText>
<MapTaggingSidPropChannelDescs>
<MapTaggingSidPropChannelDesc>
<Description>sample string 2</Description>
<MapOccurences>
<MapOccurence>
<Index>1</Index>
<Length>2</Length>
<Text>sample string 3</Text>
</MapOccurence>
<MapOccurence>
<Index>1</Index>
<Length>2</Length>
<Text>sample string 3</Text>
</MapOccurence>
</MapOccurences>
<TaggingSidPropChannelDescId>1</TaggingSidPropChannelDescId>
</MapTaggingSidPropChannelDesc>
<MapTaggingSidPropChannelDesc>
<Description>sample string 2</Description>
<MapOccurences>
<MapOccurence>
<Index>1</Index>
<Length>2</Length>
<Text>sample string 3</Text>
</MapOccurence>
<MapOccurence>
<Index>1</Index>
<Length>2</Length>
<Text>sample string 3</Text>
</MapOccurence>
</MapOccurences>
<TaggingSidPropChannelDescId>1</TaggingSidPropChannelDescId>
</MapTaggingSidPropChannelDesc>
</MapTaggingSidPropChannelDescs>
<TaggingSidPropChannelId>1</TaggingSidPropChannelId>
</MapTaggingSidPropChannel>
</MapTaggingSidPropChannels>
<TagId>1</TagId>
</MapTag>
<MapTag>
<MapTaggingSidPropChannels>
<MapTaggingSidPropChannel>
<IncludeText>sample string 2</IncludeText>
<MapTaggingSidPropChannelDescs>
<MapTaggingSidPropChannelDesc>
<Description>sample string 2</Description>
<MapOccurences>
<MapOccurence>
<Index>1</Index>
<Length>2</Length>
<Text>sample string 3</Text>
</MapOccurence>
<MapOccurence>
<Index>1</Index>
<Length>2</Length>
<Text>sample string 3</Text>
</MapOccurence>
</MapOccurences>
<TaggingSidPropChannelDescId>1</TaggingSidPropChannelDescId>
</MapTaggingSidPropChannelDesc>
<MapTaggingSidPropChannelDesc>
<Description>sample string 2</Description>
<MapOccurences>
<MapOccurence>
<Index>1</Index>
<Length>2</Length>
<Text>sample string 3</Text>
</MapOccurence>
<MapOccurence>
<Index>1</Index>
<Length>2</Length>
<Text>sample string 3</Text>
</MapOccurence>
</MapOccurences>
<TaggingSidPropChannelDescId>1</TaggingSidPropChannelDescId>
</MapTaggingSidPropChannelDesc>
</MapTaggingSidPropChannelDescs>
<TaggingSidPropChannelId>1</TaggingSidPropChannelId>
</MapTaggingSidPropChannel>
<MapTaggingSidPropChannel>
<IncludeText>sample string 2</IncludeText>
<MapTaggingSidPropChannelDescs>
<MapTaggingSidPropChannelDesc>
<Description>sample string 2</Description>
<MapOccurences>
<MapOccurence>
<Index>1</Index>
<Length>2</Length>
<Text>sample string 3</Text>
</MapOccurence>
<MapOccurence>
<Index>1</Index>
<Length>2</Length>
<Text>sample string 3</Text>
</MapOccurence>
</MapOccurences>
<TaggingSidPropChannelDescId>1</TaggingSidPropChannelDescId>
</MapTaggingSidPropChannelDesc>
<MapTaggingSidPropChannelDesc>
<Description>sample string 2</Description>
<MapOccurences>
<MapOccurence>
<Index>1</Index>
<Length>2</Length>
<Text>sample string 3</Text>
</MapOccurence>
<MapOccurence>
<Index>1</Index>
<Length>2</Length>
<Text>sample string 3</Text>
</MapOccurence>
</MapOccurences>
<TaggingSidPropChannelDescId>1</TaggingSidPropChannelDescId>
</MapTaggingSidPropChannelDesc>
</MapTaggingSidPropChannelDescs>
<TaggingSidPropChannelId>1</TaggingSidPropChannelId>
</MapTaggingSidPropChannel>
</MapTaggingSidPropChannels>
<TagId>1</TagId>
</MapTag>
</TagMappings>
</MappedData>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Status | boolean |
None. |
|
| Body | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Status": true,
"Body": true
}
text/html
Sample:
{"Message":"sample string 1","Status":true,"Body":true}
application/xml, text/xml
Sample:
<ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common"> <Body>true</Body> <Message>sample string 1</Message> <Status>true</Status> </ResponseOfboolean>