Path:/finder/openApi/v2/cdpMeta/labelSystem/label/rerun
Method: POST
Path-parameters:
Header:
名称 | 数据类型 | 是否必选 | 描述 |
---|---|---|---|
X-Tenant | Int | 是 | 项目id |
Body
名称 | 数据类型 | 是否必选 | 描述 |
---|---|---|---|
labelId | Int | 是 | 标签id |
startDate | String | 是 | 开始日期(格式yyyy-MM-dd) |
endDate | String | 是 | 结束日期(格式yyyy-MM-dd) |
Response:
{"code":0,"msg":"成功","data":null}
字段含义说明
Field | Type | Description |
---|---|---|
code | int | 状态码 |
message | string | 返回message |
data | null | 无返回数据 |
bc
为创建的 RangersClient, 其初始化请参考 “OpenAPI SDK 使用说明”, 各语言的 SDK 都提供了类似的接口
调用(Python)::
res = bc.request(method='POST', service_url='/finder/openApi/v2/cdpMeta/labelSystem/label/rerun', headers={"Content-Type": "application/json", 'x-Tenant': "1"}, body={'startDate': '2023-06-16', 'endDate': '2023-06-16', 'labelId': 2}) print(res.content) print(json.loads(res.content))
返回结果:
{"code":0,"msg":"成功","data":null}