获取订单详情 | 大装置帮助中心
跳到主要内容

获取订单详情

接口描述

GET /v1/orders/{order_id} 获取订单详情

请求头(Request Header)

参考认证(authentication)

请求参数(Request Parameters)

名称位置类型必须描述
order_idpathstringtrue订单ID

请求体(Request Body)

请求示例(Request Example)

curl --request GET \
--url https://finance.sensecoreapi.dev/boss/subscription/v1/orders/string \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {access-token}'

响应参数(Response Parameters)

StatusMeaningDescriptionSchema
200OKOKOrder

响应示例(Response Example)

200 Response

{
"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": "2019-08-24T14:15:22Z",
"end_time": "2019-08-24T14:15:22Z",
"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": "2019-08-24T14:15:22Z",
"update_time": "2019-08-24T14:15:22Z",
"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": "2019-08-24T14:15:22Z",
"ineffective_time": "2019-08-24T14:15:22Z",
"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": "2019-08-24T14:15:22Z",
"update_time": "2019-08-24T14:15:22Z",
"meter_unit": "string"
}
],
"creator": "string",
"updater": "string",
"create_time": "2019-08-24T14:15:22Z",
"update_time": "2019-08-24T14:15:22Z",
"meter_unit": "string",
"usage_scope": {
"tenant_ids": [
"string"
],
"scope_type": "UST_PUBLIC",
"scope_level": "USL_BACKEND_CATALOG"
}
},
"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": "2019-08-24T14:15:22Z",
"contract_detail_id": "string",
"creator": "string",
"updater": "string",
"create_time": "2019-08-24T14:15:22Z",
"update_time": "2019-08-24T14:15:22Z",
"instances": [
{
"id": "string",
"resource_instance_id": "string",
"resource_instance_rid": "string",
"order_detail_id": "string",
"start_time": "2019-08-24T14:15:22Z",
"end_time": "2019-08-24T14:15:22Z",
"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": {
"id": "string",
"display_name": "string",
"voucher_issue_id": "string",
"billing_account_id": "string",
"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": "2019-08-24T14:15:22Z",
"update_time": "2019-08-24T14:15:22Z",
"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": "2019-08-24T14:15:22Z",
"resource_type_group_ids": [
"string"
]
}
],
"denomination_value": 0,
"available_value": 0,
"effective_time": "2019-08-24T14:15:22Z",
"ineffective_time": "2019-08-24T14:15:22Z",
"state": "STATE_UNUSED",
"issuer_name": "string",
"creator": "string",
"updater": "string",
"create_time": "2019-08-24T14:15:22Z",
"update_time": "2019-08-24T14:15:22Z",
"creator_name": "string",
"updater_name": "string"
},
"system_recommend": true,
"deduction_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"remaining_amount": {
"currency_code": "string",
"units": 0,
"nanos": 0
}
}
]
}
]
}

数据结构(Schemas)

BaDepartedAmount

名称类型必须限制描述
billing_account_display_namestringfalsenone计费账户名称
billing_account_idstringfalsenone计费账户ID
amountMoneyfalsenone价格
currency_codestringfalsenone实付金额
depart_ratiointeger(int32)falsenone实付金额
trans_amountMoneyfalsenone价格
refund_amountMoneyfalsenone价格
original_amountMoneyfalsenone价格

BaRecommendVoucherInstance

名称类型必须限制描述
billing_account_idstringfalsenone计费账户ID
recommend_voucher_instance[RecommendVoucherInstance]falsenone推荐的代金券实例列表

BackendCatalog

名称类型必须限制描述
idstringtruenone品类ID create: require, if not assign id, give "" update: require
display_namestringtruenonecreate: require update: require, can be updated
parent_idstringtruenonecreate: require, if no parent, value is "00000000-0000-0000-0000-000000000000" update: require, can not be updated
is_leafbooleantruenonecreate: require update: not require, can not be updated
levelinteger(int32)falseread-onlyoutput only
orderinteger(int32)falseread-onlyoutput only
enablebooleantruenonecreate: require, default true update: not require
urlstringtruenonenone
buy_urlstringtruenonenone
resource_types[string]falseread-onlynone
have_descendantsbooleanfalseread-onlynone
backend_catalog_codestringtruenonenone
creatorstringfalseread-onlyoutput only
updaterstringfalseread-onlyoutput only
create_timestring(date-time)falseread-onlyoutput only
update_timestring(date-time)falseread-onlyoutput only
is_favoritebooleanfalseread-onlyoutput only
iconstringfalsenonedashboard图标
tags[string]falseread-onlyoutput only
introductionstringfalsenonenone
official_linkstringfalsenonenone
help_linkstringfalsenonenone
recommended_catalogs[string]falsenonenone
has_resourcebooleanfalseread-onlynone
saleablebooleantruenonecreate: require, default true update: not require
icon_codestringfalseread-onlyoutput only
gray_releasebooleantruenone灰度发布标记
tenant_whitelist[string]truenone租户白名单
favorite_timestring(date-time)falseread-only收藏时间
resource_type_group_ids[string]truenone关联RP类型

Money

名称类型必须限制描述
currency_codestringfalsenone货币代码, 参考ISO 4217
unitsinteger(int64)falsenone价格整数部分
nanosinteger(int32)falsenone价格小数部分

Order

名称类型必须限制描述
idstringtruenone订单ID
subscription_idstringtruenone订阅ID
resource_group_idstringfalsenone资源组ID
subscription_namestringfalseread-only订阅名称
resource_group_namestringfalseread-only资源组名称
spu_namestringfalseread-only产品名称
billing_dayinteger(int32)falseread-only计费时间
statestring(enum)falseread-only订单状态
typestring(enum)truenone订单类型
start_timestring(date-time)truenone开始时间
end_timestring(date-time)truenone结束时间
auto_renewbooleantruenone是否自动续订
change_policystring(enum)falseread-only修改策略
cancel_policystring(enum)falseread-only取消策略
original_idstringtruenone原始订单ID
contract_display_namestringfalseread-only合同包名称,仅合同包订单时此字段非空
amountMoneyfalsenone价格
original_amountMoneyfalsenone价格
discount_amountMoneytruenone价格
coupon_amountMoneytruenone价格
voucher_amountMoneytruenone价格
paystring(enum)truenone支付方式
notestringfalsenone备注信息
currency_codestringtruenone币种
creatorstringfalseread-only创建者
updaterstringfalseread-only更新者
create_timestring(date-time)falseread-only创建时间
update_timestring(date-time)falseread-only更新时间
details[OrderDetail]truenone订单详情
namestringtruenone名称
creator_namestringfalseread-only创建者名称
unsubscription_reasonstringfalseread-only退订理由
cancel_renew_flagbooleanfalseread-only是否可“取消续订”标记
initial_idstringfalseread-only原订单ID
transferred_amountMoneyfalsenone价格
resource_diff_valuestringfalseread-only扩容前后资源用量差额
ba_departed_amounts[BaDepartedAmount]falseread-only多BA分摊金额
contract_verstringfalseread-only多BA分摊金额
auto_convert_postpaidbooleanfalsenone到期后是否自动转为后付费
ba_recommend_voucher_instances[BaRecommendVoucherInstance]falseread-only续订订单估值时返回的推荐代金券列表

state Enumerated Values

枚举值
OS_UNSPECIFIED
OS_PENDING
OS_PAID
OS_FAILED
OS_PAYING
OS_TIMEOUT
OS_CANCELED
OS_REFUNDING
OS_REFUNDED
OS_CREATE_FAILED
OS_CREATE_TIMEOUT
OT_UNSPECIFIED
OT_ORIGINAL
OT_RENEW
OT_UPGRADED
OT_DOWNGRADED
OT_CONTRACT
OT_UNSUBSCRIBE
OT_RESIZE
SP_UNSPECIFIED
SP_IMMEDIATELY
SP_ENDOFTERM
SP_UNCONDITIONALLY_REFUND
SP_NONREFUNDABLE
SP_UNSPECIFIED
SP_IMMEDIATELY
SP_ENDOFTERM
SP_UNCONDITIONALLY_REFUND
SP_NONREFUNDABLE
PC_UNSPECIFIED
PC_BALANCE
PC_CREDIT
PC_FROZENACCOUNT
PC_REMIT_OFFLINE
PC_ALIPAY
PC_UNIONPAY
PC_REMIT_ONLINE
PC_CONTRACT
PC_WECHAT

OrderBillingItem

名称类型必须限制描述
idstringtruenoneID
billing_item_idstringtruenone计费项ID
numberinteger(int64)truenone计费项数量
property_namestringfalseread-only计费项名称
display_namestringfalseread-only计费项展示名称
price_scaleinteger(int64)falseread-only价格
price_modelstring(enum)falseread-only计费模型
price[Price]falseread-only价格
discountinteger(int32)falseread-only折扣
value_unitstringfalsenone购买计费项数量
amountMoneyfalsenone价格
original_amountMoneyfalsenone价格
discount_amountMoneyfalsenone价格

price_model Enumerated Values

枚举值
PIM_UNSPECIFIED
PIM_FLATFEE
PIM_PERUNIT
PIM_TIERED
PIM_VOLUME
PIM_STAIRSTEP

OrderDetail

名称类型必须限制描述
idstringtruenone订单详情ID
order_idstringtruenone归属的订单ID
skuSkutruenone最小库存单元
order_billing_items[OrderBillingItem]truenone计费项
region_codestringtruenone地区
zonestringtruenone可用区
currency_codestringtruenone币种
payment_modelstring(enum)truenone付费模式
price[Price]falseread-only商品价格
numberinteger(int32)truenone商品购买数量
billing_cycleinteger(int32)truenone商品购买周期
amountMoneyfalsenone价格
original_amountMoneyfalsenone价格
discount_amountMoneyfalsenone价格
coupon_amountMoneyfalsenone价格
voucher_amountMoneyfalsenone价格
free_quantityinteger(int32)falseread-only试用量
statestring(enum)falseread-only订单详情状态
active_timestring(date-time)falseread-only生效时间
contract_detail_idstringfalsenone合同包详情ID
creatorstringfalseread-only创建者
updaterstringfalseread-only更新者
create_timestring(date-time)falseread-only创建时间
update_timestring(date-time)falseread-only更新时间
instances[OrderedInstance]truenone实例信息
spu_namestringfalseread-only产品名称
fulfill_rm_resource_rowstringfalsenoneRM侧资源信息
fulfill_rm_message_bodystringfalsenoneRM侧消息
fulfill_rm_topicstringfalsenoneRM侧topic
meter_rules[OrderDetailMeterRule]falsenone计量规则
resource_typestringfalseread-only资源类型
propertiesGoogleProtobufAnyfalsenoneContains an arbitrary serialized message along with a @type that describes the type of the serialized message.

payment_model Enumerated Values

枚举值
PM_UNSPECIFIED
PM_PREPAID
PM_POSTPAID
OD_UNSPECIFIED
OD_FUTURE
OD_INTRIAL
OD_ACTIVE
OD_CANCELED
OD_UPGRADED
OD_COMPLETED
OS_REFUNDING
OS_REFUNDED

OrderDetailMeterRule

名称类型必须限制描述
idstringtruenoneID
order_detail_idstringtruenone订单详情ID
tierinteger(int32)truenone阶梯
max_valueinteger(int32)truenone最大量
priceinteger(int64)truenone单价

OrderedInstance

名称类型必须限制描述
idstringtruenoneID
resource_instance_idstringtruenone资源实例 uuid
resource_instance_ridstringfalsenone资源实例 rid
order_detail_idstringtruenone订单详情ID
start_timestring(date-time)falseread-only开始时间
end_timestring(date-time)falseread-only结束时间
subscription_namestringfalsenone订阅名称 subscription_name
resource_group_namestringfalsenone资源组名称
namestringfalsenone名称
display_namestringfalsenone展示名称

Price

名称类型必须限制描述
tierinteger(int32)falsenone层次
namestringfalsenone层次名称
max_valueinteger(int64)falsenone每层最大值
money[Money]falsenone价格

RecommendVoucherInstance

名称类型必须限制描述
voucher_instanceVoucherInstancefalsenone代金券实例
system_recommendbooleanfalsenone是否系统自动推荐:true是, false否
deduction_amountMoneyfalsenone价格
remaining_amountMoneyfalsenone价格

Sku

名称类型必须限制描述
spu_idstringtruenone隶属标准化产品单元id
idstringfalseread-only最小库存单元id
display_namestringtruenone最小库存单元名称
regions[string]truenone可售卖区域
available_zones[string]truenone可售卖可用区
business_billing_cyclestring(enum)truenone计费周期, 默认每小时;
billing_cyclestring(enum)truenone账单周期, 默认按月出账;
billing_cycle_numberinteger(int32)truenone账单周期数
payment_modelstring(enum)truenone付费模式
billing_modelstring(enum)truenone计费模式
price_modelstring(enum)truenone计费模型
price[Price]truenone价格
price_unitstringtruenone价格单位
price_scaleinteger(int64)truenone价格上报尺度
stockinteger(int64)truenone库存数量
stock_unitstringtruenone库存单位
discountinteger(int32)truenone折扣, 从0-100, 100表示不打折
max_quantityinteger(int64)falsenone最多可售卖数量
min_quantityinteger(int64)falsenone最少可售卖数量
have_trialbooleanfalsenone是否含有试用期
trial_countinteger(int64)falsenone试用数量
trial_unitstringfalsenone试用单位
effective_timestring(date-time)truenone生效时间(已弃用)
ineffective_timestring(date-time)truenone失效时间(已弃用)
one_timebooleanfalsenone是否只能购买一次
cancel_policystring(enum)falsenone退订规则
actions[string]falsenone此字段已弃用
tags[string]falsenone此字段已弃用
excess_sku_idstringfalsenone此字段已弃用
attributes[SkuAttribute]falsenone关联的规格和描述属性
statusstring(enum)falseread-only上下架状态
spu_namestringfalseread-only关联的标准化产品单元名称
sku_billing_items[SkuBillingItem]truenone关联的计费项
creatorstringfalseread-only创建者id
updaterstringfalseread-only更新者id
create_timestring(date-time)falseread-only创建时间
update_timestring(date-time)falseread-only更新时间
meter_unitstringtruenone计量上报单位
usage_scopeUsageScopefalsenone更新时间

business_billing_cycle Enumerated Values

枚举值
BBC_UNSPECIFIED
BBC_HOURLY
BBC_DAILY
BBC_WEEKLY
BBC_MONTHLY
BBC_QUARTERLY
BBC_YEARLY
BC_UNSPECIFIED
BC_HOURLY
BC_DAILY
BC_WEEKLY
BC_MONTHLY
BC_QUARTERLY
BC_YEARLY
PM_UNSPECIFIED
PM_PREPAID
PM_POSTPAID
BM_UNSPECIFIED
BM_USAGE
BM_MONTHLY
BM_YEARLY
PIM_UNSPECIFIED
PIM_FLATFEE
PIM_PERUNIT
PIM_TIERED
PIM_VOLUME
PIM_STAIRSTEP
SP_UNSPECIFIED
SP_IMMEDIATELY
SP_ENDOFTERM
SP_UNCONDITIONALLY_REFUND
SP_NONREFUNDABLE
ST_UNSPECIFIED
ST_RELEASE
ST_UNRELEASED

SkuAttribute

名称类型必须限制描述
attribute_idstringfalsenone属性id
display_namestringfalsenone属性名称
property_namestringfalsenone属性后端名称
valuestringfalsenone属性值
value_unitstringfalsenone属性单位
value_scaleinteger(int64)falsenonevalue scale
attribute_value_idstringfalsenone属性值id
attribute_typestring(enum)falsenone属性类型

attribute_type Enumerated Values

枚举值
ATT_KEY
ATT_SPEC
ATT_DESCRIPTION
ATT_BILLING_ITEM

SkuBillingItem

名称类型必须限制描述
idstringtruenone计费项id
sku_idstringtruenone最小库存单元id
attribute_idstringtruenone关联计费属性id
display_namestringfalseread-only计费项名称
property_namestringfalseread-only属性后端名称
value_unitstringtruenone属性单位
price_modelstring(enum)truenone价格模型
price[Price]truenone价格
price_unitstringtruenone价格单位
price_scaleinteger(int64)truenone价格尺度
stockinteger(int64)truenone库存
stock_unitstringtruenone库存单位
max_quantityinteger(int64)truenone计费项数量上限
min_quantityinteger(int64)truenone计费项数量下限
value_scales[ValueScale]falseread-only单位换算关系
statusstring(enum)truenone状态
discountinteger(int32)truenone折扣
creatorstringfalseread-only创建者
updaterstringfalseread-only更新者
create_timestring(date-time)falseread-only创建时间
update_timestring(date-time)falseread-only更新时间
meter_unitstringtruenone计量上报单位

price_model Enumerated Values

枚举值
PIM_UNSPECIFIED
PIM_FLATFEE
PIM_PERUNIT
PIM_TIERED
PIM_VOLUME
PIM_STAIRSTEP
ST_UNSPECIFIED
ST_RELEASE
ST_UNRELEASED

UsageScope

名称类型必须限制描述
tenant_ids[string]falsenone更新时间
scope_typestring(enum)falsenone更新时间
scope_levelstring(enum)falsenone更新时间

scope_type Enumerated Values

枚举值
UST_PUBLIC
UST_SPECIFIED
USL_BACKEND_CATALOG
USL_SPU
USL_SKU

ValueScale

名称类型必须限制描述
value_unitstringfalsenone属性单位
value_scaleinteger(int64)falsenone换算倍数
attribute_value_idstringfalsenone属性值id

VoucherInstance

名称类型必须限制描述
idstringfalseread-only代金券编号
display_namestringfalseread-only代金券名称
voucher_issue_idstringfalseread-only发放ID
billing_account_idstringfalseread-only归属账户
backend_catalog_idstringfalseread-only限制品类ID,多个ID之间以;分割
backend_catalog_namestringfalseread-only[废弃字段]品类名称
backend_catalogs[BackendCatalog]falseread-only限制品类信息列表
denomination_valueinteger(int64)falseread-only券面额:小数点后3位,最少0.01
available_valueinteger(int64)falseread-only券余额:小数点后3位,最少0.01
effective_timestring(date-time)falseread-only生效时间
ineffective_timestring(date-time)falseread-only失效时间
statestring(enum)falseread-only使用状态,未使用、使用中、已使用、已失效、已回收
issuer_namestringfalseread-only发放者 中文名
creatorstringfalseread-only代金券名称
updaterstringfalseread-onlyoutput only
create_timestring(date-time)falseread-onlynone
update_timestring(date-time)falseread-onlynone
creator_namestringfalseread-onlynone
updater_namestringfalseread-onlynone

state Enumerated Values

枚举值
STATE_UNUSED
STATE_INUSE
STATE_USED
STATE_EXPIRED
STATE_RECYCLED