查询订单列表

接口说明

查询当前用户的订单列表信息。列表按照订单创建时间降序排列。分页查询支持模糊查询镜像版本opSystem。若不存在订单,则返回空列表。


推荐使用API Explorer调试

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

URL

POST https://ecloud.10086.cn/api/openapi-cloudphone/api/v1/zycloudphone/console/zh/zhmgr/orderList

请求参数

Header

参数名称
类型
必填
描述
pool
string
是

资源池ID

Body

参数名称
类型
必填
描述
req
OpenapiOrderListReq
是

req

autoRenew
integer(int32)
否

续订标识 是否自动续订标识(0:否;1:是)

currentPage
integer(int32)
否

页码,默认为1

feeType
integer(int32)
否

计费方式(1:包年计费;2:包月计费)

opSystem
string
否

镜像版本

orderBatchNo
string
否

订单批次编号

orderNo
string
否

订单编号

orderStatus
integer(int32)
否

订单状态(0:正在开通;1:已开通;2:到期冻结中;4:已退订;5:账号冻结中;6:续订中;9:开通失败;26:准备中;)

pageSize
integer(int32)
否

每页条数,默认为10

prepareType
integer(int32)
否

预置备版本类型(1:政企版;2:公众版;3:行业版;4:专属版;5:尊享版;6:云车机版;8:办公版;9:矩阵版)

sourceFrom
integer(int32)
否

订单来源(0:自有订购;1:云电脑组合订购;2:移动云营销活动;3:BC融合CHBN;4:省侧通过API调用;5:算网大脑AI新入口调用)

specification
string
否

规格配置,通过“查询云手机规格列表接口”获得spec字段

请求示例

POST https://ecloud.10086.cn/api/openapi-cloudphone/api/v1/zycloudphone/console/zh/zhmgr/orderList
{
	"specification":"2406131741162994",
	"currentPage":1,
	"pageSize":10
}

返回参数

返回码:200
OK
参数名称
类型
描述
body
EPage«OpenapiOrderListResp»

响应体

list
<OpenapiOrderListResp> array
autoRenew
string

续订标识 是否自动续订标识(0:否;1:是)

changeEffDate
string(date-time)

变更生效时间 updator为已变更 且changeEffDate不为null 即变更未生效

chargeType
string

产品付费方式(0:预付费;1:后付费)

createTime
string(date-time)

创建时间

creator
string

创建人

description
string

描述

duration
integer(int32)

fee_type为包年时,该字段单位年,fee_type为包月时,该字段单位月

effType
string

是否生效标识(0:生效;1:未生效;2:已失效)可用来查找当前实例续订是否生效

endTime
string(date-time)

结束时间

fee
string

单价

feeType
string

计费方式(1:包年计费;2:包月计费)

id
string

订单ID

instanceId
string

资源ID

instanceNum
integer(int32)

实例数量

isDelete
integer(int32)

是否删除(0:正常;1:删除)

opSystem
string

操作系统

orderBatchNo
string

订单批次编号

orderNo
string

订单编号

orderStatus
string

订单状态(0:正在开通;1:已开通;2:到期冻结中;4:已退订;5:账号冻结中;6:续订中;9:开通失败;26:准备中;)

poolId
string

资源池ID

prepareType
string

预置备版本类型(1:政企版;2:公众版;3:行业版;4:专属版;5:尊享版;6:云车机版;8:办公版;9:矩阵版)

renewDuration
integer(int32)

fee_type为包年时,该字段单位年,fee_type为包月时,该字段单位月

sourceFrom
string

订单来源(0:自有订购;1:云电脑组合订购;2:移动云营销活动;3:BC融合CHBN;4:省侧通过API调用;5:算网大脑AI新入口调用)

specification
string

规格配置,通过“查询云手机规格列表接口”获得spec字段

startTime
string(date-time)

开始时间

tenantBid
string

租户ID

tenantName
string

租户名称

updateTime
string(date-time)

更新时间

updator
string

更新人

zoneId
string

可用区ID

total
integer(int64)

总数

totalPage
integer(int32)

总页数

errorCode
string

错误编码

errorMessage
string

错误信息

requestId
string

请求id

state
string

状态值

返回示例

返回码:200
OK
{
	"errorCode":"00000000",
	"errorMessage":"请求成功",
	"requestId":"eeafe837-ccaf-4d01-ada2-1102ac9e5a50",
	"state":"OK",
	"body":{
		"total":8,
		"totalPage":8,
		"list":[
			{
				"id":"1913106765191618561",
				"tenantBid":"CIDC-U-7f6c924f68c34fefa0d02f6f0b8cbbc4",
				"poolId":"CIDC-RP-45",
				"zoneId":"2011181536180511",
				"instanceId":"m9FH513051744955170621",
				"orderBatchNo":"MOP-T-25041800071206",
				"orderNo":"MOP-O-25041800202922",
				"orderStatus":"4",
				"specification":"2406131741162994",
				"opSystem":"aosp11-12341234121234123",
				"chargeType":"1",
				"feeType":"2",
				"instanceNum":2,
				"duration":1,
				"startTime":"2025-04-18 13:46:11",
				"endTime":"2025-04-18 13:49:15",
				"autoRenew":"0",
				"isDelete":0,
				"description":"https://ecloud.10086.cn:31015/api/page/emop/#/pay?orderId=MOP-O-25041800202476&successUrl=https://ecloud.10086.cn:31015/api/page/zycloudphone/console/#/order/orderResult/success?orderId=MOP-T-25041800071062&configUrl=https://ecloud.10086.cn:31015/api/page/zycloudphone/console/#/order/index",
				"updateTime":"2025-04-18 13:49:15",
				"createTime":"2025-04-18 13:46:11",
				"creator":"CIDC-U-7f6c924f68c34fefa0d02f6f0b8cbbc4",
				"updator":"已退订",
				"fee":null,
				"renewDuration":0,
				"sourceFrom":"0",
				"tenantName":null,
				"effType":"0",
				"prepareType":"4",
				"changeEffDate":null
			}
		]
	}
}
本文档内容整理自移动云官方帮助中心(查看原文),仅供参考。