实例分配接口

接口说明

实例批量分配操作


推荐使用API Explorer调试

API Explorer支持接口在线可视化调用,同时自动生成动态代码示例,搭配OpenAPI SDK无需计算签名实现接口快速集成。

URL

POST https://ecloud.10086.cn/api/cloudphone/api/AllocateDevice

请求参数

Body

参数名称
类型
必填
描述
param
AllocateDeviceParam
是
InstanceId
string
是

订单号

UserId
string
是

员工ID

请求示例

POST https://ecloud.10086.cn/api/cloudphone/api/AllocateDevice
{
	"InstanceId":"10xxxxx9",
	"UserId":"40xxxxxxx28"
}

返回参数

返回码:200
OK
参数名称
类型
描述
body
boolean
state
string
requestId
string
errorCode
string
errorParams
<string> array
errorMessage
string
IsOk
boolean

返回示例

返回码:200
OK
{
	"errorCode":"1",
	"state":"OK",
	"body":true,
	"requestId":"01e1971895d74c13853d03944eed1505",
	"errorParams":[],
	"errorMessage":"",
	"IsOk":true
}
本文档内容整理自移动云官方帮助中心(查看原文),仅供参考。