ModifyTagGroups
Modifies tag groups for the legacy canvas interface.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
outboundbot:ModifyTagGroups |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
cd560e89-0459-4c8a-ad98-47d713e4abd6 |
| ScriptId |
string |
Yes |
The script ID. |
365b955d-6f4d-4ab5-a6e1-9a301307f4b1 |
| Tags |
string |
Yes |
The list of tags. |
[{"TagGroup":"多层次","ScriptId":"b4d0dcc8-892d-43234-987c9d-3568e5faa62f","TagGroupIndex":0,"Id":"56728a30-c392-453a-a287-31af8301150f"}] |
| TagGroups |
string |
Yes |
The tag groups to modify. |
[{"TagName":"111","TagGroup":"多层次","ScriptId":"b4d0dcc8-892d-4323-8c9d-3568e5faa62f","showInput":true,"Id":"a683fa32-91c5-457e-9ddf-aa8549d14ce0"}] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Code |
string |
The response code. |
OK |
| Message |
string |
The response message. |
Success |
| RequestId |
string |
The ID of the request. |
5a865b03-d2b9-4ef9-be98-f21fa0d93744 |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| TagGroups |
array<object> |
The list of tag groups. |
|
|
object |
|||
| TagGroupId |
string |
The ID of the tag group. |
54629be9-0746-464a-ab59-4830242cf644 |
| TagGroupIndex |
integer |
The position of the tag group. |
1 |
| TagGroup |
string |
The name of the tag group. |
标签组 |
| ScriptId |
string |
The script ID. |
365b955d-6f4d-4ab5-a6e1-9a301307f4b1 |
| Tags |
array<object> |
The list of tags. |
|
|
object |
The list of tags. |
||
| TagGroup |
string |
The name of the tag group. |
当前学历 |
| TagName |
string |
The name of the tag. |
本科 |
| TagIndex |
integer |
The index of the tag. |
1 |
| ScriptId |
string |
The script ID. |
8a4c6d3d-5ed6-44ca-b779-16c20f8862be |
| TagId |
string |
The unique ID of the tag. |
19b23e92-4ee3-4129-8c2e-e1968670d887 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Code": "OK",
"Message": "Success",
"RequestId": "5a865b03-d2b9-4ef9-be98-f21fa0d93744",
"Success": true,
"TagGroups": [
{
"TagGroupId": "54629be9-0746-464a-ab59-4830242cf644",
"TagGroupIndex": 1,
"TagGroup": "标签组",
"ScriptId": "365b955d-6f4d-4ab5-a6e1-9a301307f4b1"
}
],
"Tags": [
{
"TagGroup": "当前学历",
"TagName": "本科",
"TagIndex": 1,
"ScriptId": "8a4c6d3d-5ed6-44ca-b779-16c20f8862be",
"TagId": "19b23e92-4ee3-4129-8c2e-e1968670d887"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists. | |
| 404 | NotExist.Instance | The specified Instance does not exist. | |
| 404 | NotExist.Script | The specified Script does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.