接口说明
实例批量分配操作
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
}