Queries the details of a specific order for a user or a distribution customer.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bss:DescribeOrderDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
string |
Yes |
The order ID. |
32453453 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The status code. |
Success |
| Data |
object |
The returned data. |
|
| HostName |
string |
The hostname. |
test |
| OrderList |
object |
||
| Order |
array<object> |
The order list. |
|
|
array<object> |
The order details. |
||
| AfterTaxAmount |
string |
The after-tax amount. |
0 |
| BillModuleConfig |
object |
||
| billModuleConfig |
array<object> |
The billing configuration information. |
|
|
array<object> |
|||
| ApiCode |
string |
apiCode |
datadisk |
| BillModuleProperties |
object |
||
| billModuleProperties |
array<object> |
The values under the configuration. |
|
|
object |
|||
| AttrApiCode |
string |
The attribute code of the configuration. |
cloud_ssd |
| ModuleApiCode |
string |
The API code of the configuration. |
cloud_ssd |
| Value |
string |
The attribute value of the configuration. |
cloud_ssd |
| Code |
string |
The configuration code. |
datadisk |
| Name |
string |
The component name. |
Data cloud disk |
| CommodityCode |
string |
The commodity code. |
rds |
| Config |
string |
The configuration of the main product. |
DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;] |
| CreateTime |
string |
The creation time in ISO 8601 UTC format (YYYY-MM-DDTHH:mm:ssZ). |
2017-06-08T09:41:30Z |
| Currency |
string |
The currency. Valid values: CNY: Chinese yuan. USD: US dollar. JPY: Japanese yen. |
CNY |
| ExtendInfos |
object |
The extended information of the order. |
|
|
string |
The extended information of the order.
|
{"IsAutoRenew":"true","DiscountAmount":"100.98","DeductedByCoupons":"98.88","CouponNo":"319170900877"} |
|
| InstanceIDs |
string |
The list of instance IDs. |
["rm-bp1a2vsr018313t6o"] |
| Operator |
string |
The ID of the Resource Access Management (RAM) user who performed the order operation. If no RAM user performed the operation, this parameter is left empty. |
23424243432 |
| OrderId |
string |
The order ID. |
3453425324 |
| OrderSubType |
string |
The sub-order type. Valid values: productsuborder: product sub-order. refundsuborder: refund sub-order. |
Sub-order type |
| OrderType |
string |
The order type. Valid values: new: new purchase. renew: renewal. upgrade: upgrade. refund: refund. |
new |
| OriginalConfig |
string |
The unstandardized module information. |
DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;] |
| OriginalModuleConfig |
object |
||
| originalModuleConfig |
array<object> |
The specific configuration information. |
|
|
array<object> |
|||
| Code |
string |
The configuration code. |
systemdisk |
| ModuleProperties |
object |
||
| moduleProperties |
array<object> |
The list of configuration attributes. |
|
|
object |
|||
| Code |
string |
The configuration property code. |
Ultra cloud disk |
| Name |
string |
The configuration property name. |
cloud_efficiency |
| Value |
string |
The value of the configuration property. |
cloud_efficiency |
| Name |
string |
The configuration name. |
System cloud disk |
| PaymentCurrency |
string |
The payment currency. Valid values: CNY: Chinese yuan. USD: US dollar. JPY: Japanese yen. |
CNY |
| PaymentStatus |
string |
The payment status. Valid values: unpaid: unpaid. paid: paid. cancelled: cancelled. |
paid |
| PaymentTime |
string |
The payment time in ISO 8601 UTC format (YYYY-MM-DDTHH:mm:ssZ). |
2017-06-08T09:41:30Z |
| PretaxAmount |
string |
The payable amount of the order. |
0 |
| PretaxAmountLocal |
string |
The local currency amount. |
0 |
| PretaxGrossAmount |
string |
The original amount. |
0 |
| ProductCode |
string |
The main product code. |
rds |
| ProductType |
string |
The main product type. |
rds |
| Quantity |
string |
The quantity of the main product. |
1 |
| Region |
string |
The region. |
cn-hangzhou |
| RelatedOrderId |
string |
The ID of the associated order. |
4353453534543 |
| SubOrderId |
string |
The sub-order ID. |
234343 |
| SubscriptionType |
string |
The subscription type. Valid values: Subscription: subscription. PayAsYouGo: pay-as-you-go. |
Subscription |
| Tax |
string |
The tax. |
1 |
| UsageEndTime |
string |
The service end time in ISO 8601 UTC format (YYYY-MM-DDTHH:mm:ssZ). |
2117-06-08T16:00:00Z |
| UsageStartTime |
string |
The service start time in ISO 8601 UTC format (YYYY-MM-DDTHH:mm:ssZ). |
2017-06-08T16:00:00Z |
| PageNum |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
20 |
| TotalCount |
integer |
The total number of records. |
1 |
| Message |
string |
The error message. |
Successful! |
| RequestId |
string |
The request ID. |
D6E068C3-25BC-455A-85FE-45F0B22ECB1F |
| Success |
boolean |
Indicates whether the request is successful. |
true |
Examples
Success response
JSON format
{
"Code": "Success",
"Data": {
"HostName": "test",
"OrderList": {
"Order": [
{
"AfterTaxAmount": "0",
"BillModuleConfig": {
"billModuleConfig": [
{
"ApiCode": "datadisk",
"BillModuleProperties": {
"billModuleProperties": [
{
"AttrApiCode": "cloud_ssd",
"ModuleApiCode": "cloud_ssd",
"Value": "cloud_ssd"
}
]
},
"Code": "datadisk",
"Name": "Data cloud disk"
}
]
},
"CommodityCode": "rds",
"Config": "DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;]",
"CreateTime": "2017-06-08T09:41:30Z",
"Currency": " CNY",
"ExtendInfos": {
"key": "{\"IsAutoRenew\":\"true\",\"DiscountAmount\":\"100.98\",\"DeductedByCoupons\":\"98.88\",\"CouponNo\":\"319170900877\"}"
},
"InstanceIDs": "[\"rm-bp1a2vsr018313t6o\"]",
"Operator": "23424243432",
"OrderId": "3453425324",
"OrderSubType": "Sub-order type",
"OrderType": "new",
"OriginalConfig": "DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;]",
"OriginalModuleConfig": {
"originalModuleConfig": [
{
"Code": "systemdisk",
"ModuleProperties": {
"moduleProperties": [
{
"Code": "Ultra cloud disk",
"Name": "cloud_efficiency",
"Value": "cloud_efficiency"
}
]
},
"Name": "System cloud disk"
}
]
},
"PaymentCurrency": "CNY",
"PaymentStatus": "paid",
"PaymentTime": "2017-06-08T09:41:30Z",
"PretaxAmount": "0",
"PretaxAmountLocal": "0",
"PretaxGrossAmount": "0",
"ProductCode": "rds",
"ProductType": "rds",
"Quantity": "1",
"Region": "cn-hangzhou",
"RelatedOrderId": "4353453534543",
"SubOrderId": "234343",
"SubscriptionType": "Subscription",
"Tax": "1",
"UsageEndTime": "2117-06-08T16:00:00Z",
"UsageStartTime": "2017-06-08T16:00:00Z"
}
]
},
"PageNum": 1,
"PageSize": 20,
"TotalCount": 1
},
"Message": "Successful!",
"RequestId": "D6E068C3-25BC-455A-85FE-45F0B22ECB1F",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidOwner | The specified owner doesn't belong to caller. | Invalid user identity. |
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.