Creates a business scenario. You can use a business scenario to customize a policy for machine-assisted moderation for the Content Moderation API.
Description
Operation: CreateBizType
You can call this operation to create a business scenario. For more information about how to construct an HTTP request, see Request structure. You can also select an existing HTTP request. For more information, see SDK overview.
Billing: This operation is free of charge.
QPS limit
You can send up to 10 requests per second to call this operation by using your Alibaba Cloud account. If you send an excessive number of requests, throttling is implemented, and your business may be affected.
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
BizTypeName | String | Yes | bizType1 | The name of the business scenario. The name can contain letters, underscores (_), and digits. |
BizTypeImport | String | No | bizTypeTest | The name of an existing business scenario to be imported. |
CiteTemplate | Boolean | No | true | Specifies whether to import the configuration of an industry template. Default value:
false. Valid values:
Note If the value is true, you must specify the industryInfo parameter.
|
IndustryInfo | String | No | Social-Registration information-Profile picture | The industry classification. Valid values:
|
Description | String | No | Test business scenario | The description. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 795D8871-4889-4C0F-A8B1-C7D2B990FF61 | The ID of the request. |
Examples
Sample requests
http(s)://green.cn-shanghai.aliyuncs.com/?
Action=CreateBizType&ServiceModule=open_api
&<Common request parameters>
{
"BizTypeName": "bizType1",
"BizTypeImport": "bizTypeTest",
"CiteTemplate": true,
"IndustryInfo": "Social-Registration information-Profile picture",
"Description": "Test business scenario"
}
Sample success responses
{
"RequestId": "795D8871-4889-4C0F-A8B1-C7D2B990FF61"
}