GenerateLabel
Generates labels.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JsonStr |
string |
No |
The complete JSON string. For more information, see the following details. |
“” |
| BaseMeAgentId |
integer |
No |
The ID of the business space. |
12345 |
| Field | Type | Required | Description |
sourceTagIds | Array<Long> | Yes | The list of root label IDs, which are used to recursively expand the entire label tree. |
inputFileUrl | String | Yes | The URL of the input file. |
businessDocPath | String | No | The path of the business document. This parameter is passed through to downstream algorithms. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
3CEA0495-341B-4482-9AD9-8191EF4*** |
| Code |
string |
The response code. A value of 200 indicates success. Other values indicate failure. You can use this field to determine the cause of the failure. |
200 |
| Message |
string |
The error message returned when an error occurs. |
successful |
| Success |
boolean |
Indicates whether the call was successful. Valid values: true: The call was successful. false: The call failed. |
true |
| Data |
string |
The ID of the generation task. |
20260616-4955F615-A74E-171E-86ED-080F60C72EC9 |
Examples
Success response
JSON format
{
"RequestId": "3CEA0495-341B-4482-9AD9-8191EF4***\t",
"Code": "200",
"Message": "successful",
"Success": true,
"Data": "20260616-4955F615-A74E-171E-86ED-080F60C72EC9"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.