CreateSkillGroupConfig
Create a configuration.
This API has been deprecated with no replacement. While temporary access is maintained, no further updates or bug fixes will be provided. To ensure continued functionality, plan your migration and contact your account manager for support.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sca:CreateSkillGroupConfig |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JsonStr |
string |
Yes |
A JSON-formatted string. For details, see the following table. |
{"skillGroupFrom":0,"qualityCheckType":0,"modelId":746,"name":"test","rid":"2493","vocabId":"267","skillGroupList":[{"skillGroupId":"0903","skillGroupName":"0903"}]} |
| BaseMeAgentId |
integer |
No |
Workspace ID |
123456 |
JSON string fields
| Property | Type | Required | Description |
| skillGroupFrom | Integer | Yes | Source of the skill group. Set to 0. |
| qualityCheckType | Integer | Yes | Quality check type. Set to 0. |
| modelId | Integer | No | Language model ID |
| name | String | Yes | Configuration name |
| rid | String | Yes | Quality check rules. Separate multiple rules with commas. Use -2 to specify all rules. |
| vocabId | String | No | Hotword model ID |
| skillGroupList | List | Yes | Skill information. For details, see the skillGroupList field description below. |
skillGroupList field description
| Property | Type | Required | Description |
| skillGroupId | Integer | Yes | Skill group ID |
| skillGroupName | String | Yes | Skill group name |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
Result code. A value of 200 indicates success. Any other value indicates failure. Use this field to identify the cause of failure. |
200 |
| Data |
integer |
ID of the newly created configuration. |
223 |
| Message |
string |
Error details if the call fails. Returns successful if the call succeeds. |
successful |
| RequestId |
string |
Request ID. |
3CEA0495-341B-4482-9AD9-8191EF4*** |
| Success |
boolean |
Indicates whether the request succeeded. true means success. false or null means failure. |
true |
Examples
Success response
JSON format
{
"Code": "200",
"Data": 223,
"Message": "successful",
"RequestId": "3CEA0495-341B-4482-9AD9-8191EF4***\t",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.