Growth Analysis (Privatization)
Path:/finder/openApi/v2/cdpMeta/labelSystem/label/rerun
Method: POST
Path-parameters:
Header:
Name | Data type | Is it required? | Describe |
|---|---|---|---|
X-Tenant | Int | Yes | Project ID |
Body
Name | Data type | Is it required? | Describe |
|---|---|---|---|
labelId | Int | Yes | Tag ID |
startDate | String | Yes | Start date (format yyyy-MM-dd) |
endDate | String | Yes | End date (format yyyy-MM-dd) |
Response:
{"code":0,"msg":"success","data":null}
Field meaning description
Field | Type | Description |
|---|---|---|
code | int | status code |
message | string | Return message |
data | null | No data returned |
Bc is the RangersClient created. For its initialization, please refer to the "OpenAPI SDK Instructions". SDKs in various languages provide similar interfaces.
Call (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))
Return result:
{"code":0,"msg":"success","data":null}