You need to enable JavaScript to run this app.
导航

PCTagGroupMange

最近更新时间2024.05.07 20:48:37

首次发布时间2022.11.15 20:38:47

调用PCTagGroupMange接口新增或删除标签组。

请求说明

  • 请求方式:POST
  • 请求地址:/?Action=PCTagGroupMange&Version=2022-10-28
ServiceName : apmplus_openapi
Region : cn-beijing
X-App-Ids : xxx
Content-Type : application/json

请求参数

Query

参数类型是否必选示例值描述
ActionStringPCTagGroupMange接口名称。当前 API 的名称为 PCTagGroupMange
VersionString2022-10-28接口版本。当前 API 的版本为 2022-10-28

Body

参数类型是否必选示例值描述
aidInteger12345App ID。添加、更新时不为空。
idInteger1ID。删除时不为空。
tag_groupStringgroup标签组名称。修改、添加时需要。
is_removeBooleanfalse删除时传true。
tag_listArray of String["tag1", "tag2"]添加时上传group init的tag列表。

返回参数

参数类型示例值描述
dataStringsuccess返回结果。
errmsgString""错误信息,成功时为""。
errnoInteger200错误码。成功返回200。

请求示例

POST ?Action=PCTagGroupMange&Version=2022-10-28
{
    "aid": 12345,
    "tag_group": "group",
    "tag_list": [
        "tag1",
        "tag2"
    ],
    "id": 1,
    "is_remove": true
}

返回示例

{
    "errno": 200,
    "errmsg": "",
    "data": "success"
}