商品服务开通。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String OpenAlimtService

系统规定参数。取值:OpenAlimtService

Type String id
  • 机器翻译 alimt
  • 定制化翻译服务 type = automl
  • 证件翻译 type=ct
  • 文档翻译 type=dt
  • 语种识别type=id

返回数据

名称 类型 示例值 描述
OrderId String 123456

订单ID。

RequestId String xxxx-xxxxx

请求ID。

示例

请求示例

http(s)://[Endpoint]/?Action=OpenAlimtService
&<公共请求参数>

正常返回示例

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "xxxx-xxxxx",
  "OrderId" : "123456"
}

错误码

HttpCode 错误码 错误信息 描述
400 ORDER.OPEND You have already open the service. Go to the console to start using it 您已经开通了服务,转到控制台开始使用
400 PRICEING.PLAN.RESULT.NOT.FOUND The order is not found 没有找到订单信息

访问错误中心查看更多错误码。