获取订单列表
获取订单列表
Query Parameters
列表筛选条件 支持用户名、订单编号、产品服务 订单开始/结束日期筛选,如:creator_name="xue" AND id="67" AND create_time>="2023-12-01" AND create_time<="2024-02-01"
排序结果
返回当前页的最大条目数
从上一个List请求返回的next_page_token值
资源实例 uuid
资源类型
资源包/合同包名称
资源标识
资源名称
- 200
- default
OK
Schema
- Array [
- Array [
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- Array [
- Array [
- ]
- ]
- Array [
- ]
- ]
- Array [
- Array [
- Array [
- ]
- ]
- ]
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
- Array [
- Array [
- Array [
- ]
- Array [
- ]
- ]
- ]
- ]
orders object[] required
订单列表
订单ID
订阅ID
资源组ID
Possible values: [OT_UNSPECIFIED
, OT_ORIGINAL
, OT_RENEW
, OT_UPGRADED
, OT_DOWNGRADED
, OT_CONTRACT
, OT_UNSUBSCRIBE
, OT_RESIZE
]
订单类型
开始时间
结束时间
是否自动续订
原始订单ID
amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
original_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
discount_amount object required
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
coupon_amount object required
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
voucher_amount object required
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
Possible values: [PC_UNSPECIFIED
, PC_BALANCE
, PC_CREDIT
, PC_FROZENACCOUNT
, PC_REMIT_OFFLINE
, PC_ALIPAY
, PC_UNIONPAY
, PC_REMIT_ONLINE
, PC_CONTRACT
, PC_WECHAT
]
支付方式
备注信息
币种
details object[] required
订单详情
订单详情ID
归属的订单ID
sku object required
最小库存单元
隶属标准化产品单元id
最小库存单元名称
可售卖区域
可售卖可用区
Possible values: [BBC_UNSPECIFIED
, BBC_HOURLY
, BBC_DAILY
, BBC_WEEKLY
, BBC_MONTHLY
, BBC_QUARTERLY
, BBC_YEARLY
]
计费周期, 默认每小时;
Possible values: [BC_UNSPECIFIED
, BC_HOURLY
, BC_DAILY
, BC_WEEKLY
, BC_MONTHLY
, BC_QUARTERLY
, BC_YEARLY
]
账单周期, 默认按月出账;
账单周期数
Possible values: [PM_UNSPECIFIED
, PM_PREPAID
, PM_POSTPAID
]
付费模式
Possible values: [BM_UNSPECIFIED
, BM_USAGE
, BM_MONTHLY
, BM_YEARLY
]
计费模式
Possible values: [PIM_UNSPECIFIED
, PIM_FLATFEE
, PIM_PERUNIT
, PIM_TIERED
, PIM_VOLUME
, PIM_STAIRSTEP
]
计费模型
price object[] required
价格
层次
层次名称
每层最大值
money object[]
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
价格单位
价格上报尺度
库存数量
库存单位
折扣, 从0-100, 100表示不打折
最多可售卖数量
最少可售卖数量
是否含有试用期
试用数量
试用单位
生效时间(已弃用)
失效时间(已弃用)
是否只能购买一次
Possible values: [SP_UNSPECIFIED
, SP_IMMEDIATELY
, SP_ENDOFTERM
, SP_UNCONDITIONALLY_REFUND
, SP_NONREFUNDABLE
]
退订规则
此字段已弃用
此字段已弃用
此字段已弃用
attributes object[]
关联的规格和描述属性
属性id
属性名称
属性后端名称
属性值
属性单位
value scale
属性值id
Possible values: [ATT_KEY
, ATT_SPEC
, ATT_DESCRIPTION
, ATT_BILLING_ITEM
]
属性类型
sku_billing_items object[] required
关联的计费项
计费项id
最小库存单元id
关联计费属性id
属性单位
Possible values: [PIM_UNSPECIFIED
, PIM_FLATFEE
, PIM_PERUNIT
, PIM_TIERED
, PIM_VOLUME
, PIM_STAIRSTEP
]
价格模型
price object[] required
价格
层次
层次名称
每层最大值
money object[]
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
价格单位
价格尺度
库存
库存单位
计费项数量上限
计费项数量下限
value_scales object[]
单位换算关系
属性单位
换算倍数
属性值id
Possible values: [ST_UNSPECIFIED
, ST_RELEASE
, ST_UNRELEASED
]
状态
折扣
计量上报单位
计量上报单位
Possible values: [UST_UST_UNSPECIFIED
, UST_PUBLIC
, UST_SPECIFIED
]
适用类型
适用租户IDs
适用是否可编辑
order_billing_items object[] required
计费项
ID
计费项ID
计费项数量
price object[]
价格
层次
层次名称
每层最大值
money object[]
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
购买计费项数量
amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
original_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
discount_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
地区
可用区
币种
Possible values: [PM_UNSPECIFIED
, PM_PREPAID
, PM_POSTPAID
]
付费模式
price object[]
商品价格
层次
层次名称
每层最大值
money object[]
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
商品购买数量
商品购买周期
amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
original_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
discount_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
coupon_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
voucher_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
合同包详情ID
instances object[] required
实例信息
ID
资源实例 uuid
资源实例 rid
订单详情ID
订阅名称
资源组名称
名称
展示名称
RM侧资源信息
RM侧消息
RM侧topic
meter_rules object[]
计量规则
ID
订单详情ID
阶梯
最大量
单价
properties object
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
The type of the serialized message.
Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.
名称
transferred_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
ba_departed_amounts object[]
多BA分摊金额
计费账户名称
计费账户ID
amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
币种
分摊比例
trans_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
refund_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
original_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
到期后是否自动转为后付费
ba_recommend_voucher_instances object[]
续订订单估值时返回的推荐代金券列表
计费账户ID
recommend_voucher_instance object[]
推荐的代金券实例列表
voucher_instance object
代金券实例
backend_catalogs object[]
限制品类信息列表
品类ID create: require, if not assign id, give "" update: require
create: require update: require, can be updated
create: require, if no parent, value is "00000000-0000-0000-0000-000000000000" update: require, can not be updated
create: require update: not require, can not be updated
create: require, default true update: not require
dashboard图标
create: require, default true update: not require
灰度发布标记
租户白名单
关联RP类型
Possible values: [UST_UST_UNSPECIFIED
, UST_PUBLIC
, UST_SPECIFIED
]
适用类型
适用租户IDs
适用是否可编辑
denomination_money object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
available_money object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
voucher_intance_transactions object[]
券实例流水信息,券详情使用
amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
available_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
是否系统自动推荐:true是, false否
deduction_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
max_deduction_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
remaining_amount object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
下一页
总记录
{
"orders": [
{
"id": "string",
"subscription_id": "string",
"resource_group_id": "string",
"subscription_name": "string",
"resource_group_name": "string",
"spu_name": "string",
"billing_day": 0,
"state": "OS_UNSPECIFIED",
"type": "OT_UNSPECIFIED",
"start_time": "2024-12-05T02:41:58.852Z",
"end_time": "2024-12-05T02:41:58.852Z",
"auto_renew": true,
"change_policy": "SP_UNSPECIFIED",
"cancel_policy": "SP_UNSPECIFIED",
"original_id": "string",
"contract_display_name": "string",
"amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"original_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"discount_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"coupon_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"voucher_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"pay": "PC_UNSPECIFIED",
"note": "string",
"currency_code": "string",
"creator": "string",
"updater": "string",
"create_time": "2024-12-05T02:41:58.852Z",
"update_time": "2024-12-05T02:41:58.852Z",
"details": [
{
"id": "string",
"order_id": "string",
"sku": {
"spu_id": "string",
"id": "string",
"display_name": "string",
"regions": [
"string"
],
"available_zones": [
"string"
],
"business_billing_cycle": "BBC_UNSPECIFIED",
"billing_cycle": "BC_UNSPECIFIED",
"billing_cycle_number": 0,
"payment_model": "PM_UNSPECIFIED",
"billing_model": "BM_UNSPECIFIED",
"price_model": "PIM_UNSPECIFIED",
"price": [
{
"tier": 0,
"name": "string",
"max_value": 0,
"money": [
{
"currency_code": "string",
"units": 0,
"nanos": 0
}
]
}
],
"price_unit": "string",
"price_scale": 0,
"stock": 0,
"stock_unit": "string",
"discount": 0,
"max_quantity": 0,
"min_quantity": 0,
"have_trial": true,
"trial_count": 0,
"trial_unit": "string",
"effective_time": "2024-12-05T02:41:58.853Z",
"ineffective_time": "2024-12-05T02:41:58.853Z",
"one_time": true,
"cancel_policy": "SP_UNSPECIFIED",
"actions": [
"string"
],
"tags": [
"string"
],
"excess_sku_id": "string",
"attributes": [
{
"attribute_id": "string",
"display_name": "string",
"property_name": "string",
"value": "string",
"value_unit": "string",
"value_scale": 0,
"attribute_value_id": "string",
"attribute_type": "ATT_KEY"
}
],
"status": "ST_UNSPECIFIED",
"spu_name": "string",
"sku_billing_items": [
{
"id": "string",
"sku_id": "string",
"attribute_id": "string",
"display_name": "string",
"property_name": "string",
"value_unit": "string",
"price_model": "PIM_UNSPECIFIED",
"price": [
{
"tier": 0,
"name": "string",
"max_value": 0,
"money": [
{
"currency_code": "string",
"units": 0,
"nanos": 0
}
]
}
],
"price_unit": "string",
"price_scale": 0,
"stock": 0,
"stock_unit": "string",
"max_quantity": 0,
"min_quantity": 0,
"value_scales": [
{
"value_unit": "string",
"value_scale": 0,
"attribute_value_id": "string"
}
],
"status": "ST_UNSPECIFIED",
"discount": 0,
"creator": "string",
"updater": "string",
"create_time": "2024-12-05T02:41:58.853Z",
"update_time": "2024-12-05T02:41:58.853Z",
"meter_unit": "string"
}
],
"creator": "string",
"updater": "string",
"create_time": "2024-12-05T02:41:58.853Z",
"update_time": "2024-12-05T02:41:58.853Z",
"meter_unit": "string",
"usage_scope_type": "UST_UST_UNSPECIFIED",
"usage_scope_tenant_ids": [
"string"
],
"usage_scope_editable": true
},
"order_billing_items": [
{
"id": "string",
"billing_item_id": "string",
"number": 0,
"property_name": "string",
"display_name": "string",
"price_scale": 0,
"price_model": "PIM_UNSPECIFIED",
"price": [
{
"tier": 0,
"name": "string",
"max_value": 0,
"money": [
{
"currency_code": "string",
"units": 0,
"nanos": 0
}
]
}
],
"discount": 0,
"value_unit": "string",
"amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"original_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"discount_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
}
}
],
"region_code": "string",
"zone": "string",
"currency_code": "string",
"payment_model": "PM_UNSPECIFIED",
"price": [
{
"tier": 0,
"name": "string",
"max_value": 0,
"money": [
{
"currency_code": "string",
"units": 0,
"nanos": 0
}
]
}
],
"number": 0,
"billing_cycle": 0,
"amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"original_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"discount_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"coupon_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"voucher_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"free_quantity": 0,
"state": "OD_UNSPECIFIED",
"active_time": "2024-12-05T02:41:58.854Z",
"contract_detail_id": "string",
"creator": "string",
"updater": "string",
"create_time": "2024-12-05T02:41:58.854Z",
"update_time": "2024-12-05T02:41:58.854Z",
"instances": [
{
"id": "string",
"resource_instance_id": "string",
"resource_instance_rid": "string",
"order_detail_id": "string",
"start_time": "2024-12-05T02:41:58.854Z",
"end_time": "2024-12-05T02:41:58.854Z",
"subscription_name": "string",
"resource_group_name": "string",
"name": "string",
"display_name": "string"
}
],
"spu_name": "string",
"fulfill_rm_resource_row": "string",
"fulfill_rm_message_body": "string",
"fulfill_rm_topic": "string",
"meter_rules": [
{
"id": "string",
"order_detail_id": "string",
"tier": 0,
"max_value": 0,
"price": 0
}
],
"resource_type": "string",
"properties": {
"@type": "string"
}
}
],
"name": "string",
"creator_name": "string",
"unsubscription_reason": "string",
"cancel_renew_flag": true,
"initial_id": "string",
"transferred_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"resource_diff_value": "string",
"ba_departed_amounts": [
{
"billing_account_display_name": "string",
"billing_account_id": "string",
"amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"currency_code": "string",
"depart_ratio": 0,
"trans_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"refund_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"original_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
}
}
],
"contract_ver": "string",
"auto_convert_postpaid": true,
"ba_recommend_voucher_instances": [
{
"billing_account_id": "string",
"recommend_voucher_instance": [
{
"voucher_instance": {
"voucher_batch_id": "string",
"id": "string",
"display_name": "string",
"voucher_issue_id": "string",
"billing_account_id": "string",
"billing_account_name": "string",
"tenant_id": "string",
"tenant_code": "string",
"tenant_display_name": "string",
"issue_comment": "string",
"voucher_type": "VT_DISCOUNT",
"use_scope": "US_GENERAL",
"use_case": "UC_GENERAL",
"use_count": "UC_SINGLE",
"use_limit": "UL_NO_THRESHOLD",
"prepaid_limit": "PL_OVERLAY",
"postpaid_limit": "PL_UNSPECIFIED",
"max_deductible_ratio": 0,
"reachable_amount": 0,
"max_amount_monthly": 0,
"backend_catalog_id": "string",
"backend_catalog_name": "string",
"backend_catalogs": [
{
"id": "string",
"display_name": "string",
"parent_id": "string",
"is_leaf": true,
"level": 0,
"order": 0,
"enable": true,
"url": "string",
"buy_url": "string",
"resource_types": [
"string"
],
"have_descendants": true,
"backend_catalog_code": "string",
"creator": "string",
"updater": "string",
"create_time": "2024-12-05T02:41:58.857Z",
"update_time": "2024-12-05T02:41:58.857Z",
"is_favorite": true,
"icon": "string",
"tags": [
"string"
],
"introduction": "string",
"official_link": "string",
"help_link": "string",
"recommended_catalogs": [
"string"
],
"has_resource": true,
"saleable": true,
"icon_code": "string",
"gray_release": true,
"tenant_whitelist": [
"string"
],
"favorite_time": "2024-12-05T02:41:58.857Z",
"resource_type_group_ids": [
"string"
],
"usage_scope_type": "UST_UST_UNSPECIFIED",
"usage_scope_tenant_ids": [
"string"
],
"usage_scope_editable": true
}
],
"denomination_value": 0,
"available_value": 0,
"denomination_money": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"available_money": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"effective_time": "2024-12-05T02:41:58.857Z",
"ineffective_time": "2024-12-05T02:41:58.857Z",
"state": "STATE_UNUSED",
"issuer_name": "string",
"creator": "string",
"updater": "string",
"create_time": "2024-12-05T02:41:58.857Z",
"update_time": "2024-12-05T02:41:58.857Z",
"creator_name": "string",
"updater_name": "string",
"recent_consumption_time": "2024-12-05T02:41:58.857Z",
"voucher_intance_transactions": [
{
"id": "string",
"related_object_type": "TXROT_UNSPECIFIED",
"action": "TXI_UNSPECIFIED",
"related_object_id": "string",
"bill_month": "string",
"consumption_time": "2024-12-05T02:41:58.857Z",
"voucher_instance_id": "string",
"billing_account_id": "string",
"amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"available_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
}
}
]
},
"system_recommend": true,
"deduction_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"max_deduction_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"remaining_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
}
}
]
}
]
}
],
"next_page_token": "string",
"total_size": 0
}
Default error response
Schema
- Array [
- ]
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}