修改标签组

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String ModifyTagGroups

系统规定参数。取值:ModifyTagGroups。

InstanceId String cd560e89-0459-4c8a-ad98-47d713e4abd6

实例id

ScriptId String 365b955d-6f4d-4ab5-a6e1-9a301307f4b1

话术id

TagGroups String [{"Id":"54629be9-0746-464a-ab59-4830242cf644","ScriptId":"365b955d-6f4d-4ab5-a6e1-9a301307f4b1","TagGroup":"当前学历","TagGroupIndex":0}]

标签组列表

Tags String [{"Id":"19b23e92-4ee3-4129-8c2e-e1968670d887","ScriptId":"365b955d-6f4d-4ab5-a6e1-9a301307f4b1","TagGroup":"当前学历","TagName":"本科"},{"Id":"6ebb9fb9-cc51-4bae-b256-64d5ec4c75ef","ScriptId":"365b955d-6f4d-4ab5-a6e1-9a301307f4b1","TagGroup":"当前学历","TagName":"在职"},{"Id":"ce442140-299b-4971-b26b-a3e277d5c1de","ScriptId":"365b955d-6f4d-4ab5-a6e1-9a301307f4b1","TagGroup":"当前学历","TagName":"高中"},{"Id":"c8987ff8-4475-4a75-b994-e4f6411c6968","ScriptId":"365b955d-6f4d-4ab5-a6e1-9a301307f4b1","TagGroup":"当前学历","TagName":"研究生"}]

标签列表

返回数据

名称 类型 示例值 描述
Code String OK

响应码

HttpStatusCode Integer 200

HTTP状态码

Message String Success

响应信息

RequestId String 5a865b03-d2b9-4ef9-be98-f21fa0d93744

请求ID

Success Boolean true

是否成功

TagGroups Array

标签组列表

ScriptId String 365b955d-6f4d-4ab5-a6e1-9a301307f4b1

话术唯一ID

TagGroup String 当前学历

标签组名称

TagGroupId String 54629be9-0746-464a-ab59-4830242cf644

标签组ID

TagGroupIndex Integer 1

标签组索引

Tags Array

标签列表

ScriptId String 365b955d-6f4d-4ab5-a6e1-9a301307f4b1

话术唯一ID

TagGroup String 当前学历

标签组名称

TagId String 19b23e92-4ee3-4129-8c2e-e1968670d887

标签唯一ID

TagIndex Integer 1

标签索引

TagName String 本科

标签名称

示例

请求示例

http(s)://[Endpoint]/?Action=ModifyTagGroups
&InstanceId=cd560e89-0459-4c8a-ad98-47d713e4abd6
&ScriptId=365b955d-6f4d-4ab5-a6e1-9a301307f4b1
&TagGroups=[{"Id":"54629be9-0746-464a-ab59-4830242cf644","ScriptId":"365b955d-6f4d-4ab5-a6e1-9a301307f4b1","TagGroup":"当前学历","TagGroupIndex":0}]
&Tags=[{"Id":"19b23e92-4ee3-4129-8c2e-e1968670d887","ScriptId":"365b955d-6f4d-4ab5-a6e1-9a301307f4b1","TagGroup":"当前学历","TagName":"本科"},{"Id":"6ebb9fb9-cc51-4bae-b256-64d5ec4c75ef","ScriptId":"365b955d-6f4d-4ab5-a6e1-9a301307f4b1","TagGroup":"当前学历","TagName":"在职"},{"Id":"ce442140-299b-4971-b26b-a3e277d5c1de","ScriptId":"365b955d-6f4d-4ab5-a6e1-9a301307f4b1","TagGroup":"当前学历","TagName":"高中"},{"Id":"c8987ff8-4475-4a75-b994-e4f6411c6968","ScriptId":"365b955d-6f4d-4ab5-a6e1-9a301307f4b1","TagGroup":"当前学历","TagName":"研究生"}]
&<公共请求参数>

正常返回示例

XML 格式

<RequestId>5a865b03-d2b9-4ef9-be98-f21fa0d93744</RequestId>
<TagGroups>
    <TagGroup>当前学历</TagGroup>
    <ScriptId>365b955d-6f4d-4ab5-a6e1-9a301307f4b1</ScriptId>
    <TagGroupId>54629be9-0746-464a-ab59-4830242cf644</TagGroupId>
</TagGroups>
<HttpStatusCode>200</HttpStatusCode>
<Code>OK</Code>
<Success>true</Success>
<Tags>
    <TagName>本科</TagName>
    <TagGroup>当前学历</TagGroup>
    <ScriptId>365b955d-6f4d-4ab5-a6e1-9a301307f4b1</ScriptId>
    <TagId>19b23e92-4ee3-4129-8c2e-e1968670d887</TagId>
</Tags>
<Tags>
    <TagName>在职</TagName>
    <TagGroup>当前学历</TagGroup>
    <ScriptId>365b955d-6f4d-4ab5-a6e1-9a301307f4b1</ScriptId>
    <TagId>6ebb9fb9-cc51-4bae-b256-64d5ec4c75ef</TagId>
</Tags>
<Tags>
    <TagName>高中</TagName>
    <TagGroup>当前学历</TagGroup>
    <ScriptId>365b955d-6f4d-4ab5-a6e1-9a301307f4b1</ScriptId>
    <TagId>ce442140-299b-4971-b26b-a3e277d5c1de</TagId>
</Tags>
<Tags>
    <TagName>研究生</TagName>
    <TagGroup>当前学历</TagGroup>
    <ScriptId>365b955d-6f4d-4ab5-a6e1-9a301307f4b1</ScriptId>
    <TagId>c8987ff8-4475-4a75-b994-e4f6411c6968</TagId>
</Tags>

JSON 格式

{
	"RequestId":"5a865b03-d2b9-4ef9-be98-f21fa0d93744",
	"TagGroups":[
		{
			"TagGroup":"当前学历",
			"ScriptId":"365b955d-6f4d-4ab5-a6e1-9a301307f4b1",
			"TagGroupId":"54629be9-0746-464a-ab59-4830242cf644"
		}
	],
	"HttpStatusCode":200,
	"Code":"OK",
	"Success":true,
	"Tags":[
		{
			"TagName":"本科",
			"TagGroup":"当前学历",
			"ScriptId":"365b955d-6f4d-4ab5-a6e1-9a301307f4b1",
			"TagId":"19b23e92-4ee3-4129-8c2e-e1968670d887"
		},
		{
			"TagName":"在职",
			"TagGroup":"当前学历",
			"ScriptId":"365b955d-6f4d-4ab5-a6e1-9a301307f4b1",
			"TagId":"6ebb9fb9-cc51-4bae-b256-64d5ec4c75ef"
		},
		{
			"TagName":"高中",
			"TagGroup":"当前学历",
			"ScriptId":"365b955d-6f4d-4ab5-a6e1-9a301307f4b1",
			"TagId":"ce442140-299b-4971-b26b-a3e277d5c1de"
		},
		{
			"TagName":"研究生",
			"TagGroup":"当前学历",
			"ScriptId":"365b955d-6f4d-4ab5-a6e1-9a301307f4b1",
			"TagId":"c8987ff8-4475-4a75-b994-e4f6411c6968"
		}
	]
}

错误码

HttpCode 错误码 错误信息 描述
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. 指定的话术不存在。

访问错误中心查看更多错误码。