Domain name for API request: tokenhub.intl.tencentcloudapi.com.
Create terminology entries in batches.
Create terminology entries in batches under the designated Termbase. You can create up to 100 entries at a time.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: CreateGlossaryEntries. |
| Version | Yes | String | Common Params. The value used for this API: 2026-03-22. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| GlossaryId | Yes | String | Termbase ID. Obtain through the API DescribeGlossaries. |
| Entries.N | Yes | Array of GlossaryEntryInput | Terminology entry list. At a time 100. |
| Parameter Name | Type | Description |
|---|---|---|
| Entries | Array of GlossaryEntryItem | List of successfully created terminology entries. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: tokenhub.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CreateGlossaryEntries
<Common request parameters>
{
"GlossaryId": "c5a3fa588af94ddaa50ca896ae6392e5",
"Entries": [
{
"SourceTerm": "Cloud server",
"TargetTerm": "Cloud Server"
},
{
"SourceTerm": "Cloud server 222"
"TargetTerm": "Cloud Server222"
}
]
}
{
"Response": {
"Entries": [
{
"EntryId": "bfbc15bbefa2dfcec068372c774ef45c",
"SourceTerm": "Cloud server",
"TargetTerm": "Cloud Server",
"UpdatedAt": 1779970384
},
{
"EntryId": "b395853160e117177041f0dff7a56274",
"SourceTerm": "Cloud server 222"
"TargetTerm": "Cloud Server222",
"UpdatedAt": 1779970384
}
],
"RequestId": "04cfa4f3-68d1-4a85-9ae3-3e2bd6d46fbb"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InternalError.InternalError | InternalError.InternalError |
| InvalidParameter.InvalidParameter | InvalidParameter.InvalidParameter |
| InvalidParameterValue.InvalidParameterValue | InvalidParameterValue.InvalidParameterValue |
| MissingParameter.MissingParameter | MissingParameter.MissingParameter |
| ResourceNotFound.GlossaryNotFound | ResourceNotFound.GlossaryNotFound |
| UnauthorizedOperation.UnauthorizedOperation | UnauthorizedOperation.UnauthorizedOperation |
피드백