Retrieves order details for your Alibaba Cloud account or distributor customers.
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 response code. |
Success |
| Message |
string |
The error message. |
Successful! |
| RequestId |
string |
The request ID. |
D6E068C3-25BC-455A-85FE-45F0B22ECB1F |
| Success |
boolean |
Whether the request was successful. |
true |
| Data |
object |
The response data. |
|
| HostName |
string |
The hostname. |
test |
| PageNum |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
20 |
| TotalCount |
integer |
The total number of entries. |
1 |
| OrderList |
object |
||
| Order |
array<object> |
The orders returned. |
|
|
array<object> |
The details of the order. |
||
| OrderSubType |
string |
The suborder type. Valid values: productsuborder (service suborder) and refundsuborder (refund suborder). |
ProductSubOrder |
| CreateTime |
string |
The order creation time. |
2017-06-08T09:41:30Z |
| Currency |
string |
The currency. Valid values: CNY, USD, and JPY. |
CNY |
| Config |
string |
The primary product configurations. |
DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;] |
| SubscriptionType |
string |
The billing method. Valid values: Subscription and PayAsYouGo. |
PayAsYouGo |
| UsageStartTime |
string |
The service start time. |
2017-06-08T16:00:00Z |
| UsageEndTime |
string |
The service end time. |
2117-06-08T16:00:00Z |
| SubOrderId |
string |
The ID of the suborder. |
234343 |
| Region |
string |
The region ID. |
cn-hangzhou |
| AfterTaxAmount |
string |
The after-tax amount. |
0 |
| PaymentTime |
string |
The payment time. |
2017-06-08T09:41:30Z |
| Operator |
string |
The RAM user ID that performed the operation. Empty if no RAM user was involved. |
23424243432 |
| OrderType |
string |
The type of the order. Valid values: new, renew, upgrade, and refund. |
New |
| PaymentStatus |
string |
The payment status. Valid values: unpaid, paid, and canceled. |
Paid |
| Quantity |
string |
The quantity of primary products. |
1 |
| PretaxAmountLocal |
string |
The pretax amount of the order in local currency. |
0 |
| Tax |
string |
The tax of the order. |
1 |
| OriginalConfig |
string |
The raw configuration string. |
DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;] |
| PretaxAmount |
string |
The pretax amount of the order. |
0 |
| CommodityCode |
string |
The commodity code. |
rds |
| RelatedOrderId |
string |
The ID of the associated order. |
4353453534543 |
| PaymentCurrency |
string |
The currency used for payment. Valid values: CNY, USD, and JPY. |
CNY |
| ProductType |
string |
The primary product type. |
rds |
| InstanceIDs |
string |
The instance IDs. |
["rm-bp1a2vsr018313t6o"] |
| PretaxGrossAmount |
string |
The pretax gross amount of the order. |
0 |
| OrderId |
string |
The order ID. |
3453425324 |
| ProductCode |
string |
The primary product code. |
rds |
| ExtendInfos |
object |
The order extension information. |
|
|
string |
The order extension information.
|
{"key":"Order extension information"} |
|
| BillModuleConfig |
object |
||
| billModuleConfig |
array<object> |
The billing module configurations. |
|
|
array<object> |
|||
| Name |
string |
The name of the configuration item. |
Data disk |
| Code |
string |
The code of the configuration item. |
datadisk |
| ApiCode |
string |
The API code of the configuration item. |
datadisk |
| BillModuleProperties |
object |
||
| billModuleProperties |
array<object> |
The configuration item attributes. |
|
|
object |
|||
| ModuleApiCode |
string |
The configuration API code. |
cloud_ssd |
| AttrApiCode |
string |
The configuration attribute code. |
cloud_ssd |
| Value |
string |
The configuration attribute value. |
cloud_ssd |
| OriginalModuleConfig |
object |
||
| originalModuleConfig |
array<object> |
The configuration details. |
|
|
array<object> |
|||
| Name |
string |
The name of the configuration item. |
System disk |
| Code |
string |
The code of the configuration item. |
systemdisk |
| ModuleProperties |
object |
||
| moduleProperties |
array<object> |
The configuration item attributes. |
|
|
object |
|||
| Code |
string |
The configuration attribute code. |
cloud_efficiency |
| Name |
string |
The configuration attribute name. |
cloud_efficiency |
| Value |
string |
The configuration attribute value. |
cloud_efficiency |
Examples
Success response
JSON format
{
"Code": "Success",
"Message": "Successful!",
"RequestId": "D6E068C3-25BC-455A-85FE-45F0B22ECB1F",
"Success": true,
"Data": {
"HostName": "test",
"PageNum": 1,
"PageSize": 20,
"TotalCount": 1,
"OrderList": {
"Order": [
{
"OrderSubType": "ProductSubOrder",
"CreateTime": "2017-06-08T09:41:30Z",
"Currency": "CNY",
"Config": "DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;]",
"SubscriptionType": "PayAsYouGo",
"UsageStartTime": "2017-06-08T16:00:00Z",
"UsageEndTime": "2117-06-08T16:00:00Z",
"SubOrderId": "234343",
"Region": "cn-hangzhou",
"AfterTaxAmount": "0",
"PaymentTime": "2017-06-08T09:41:30Z",
"Operator": "23424243432",
"OrderType": "New",
"PaymentStatus": "Paid",
"Quantity": "1",
"PretaxAmountLocal": "0",
"Tax": "1",
"OriginalConfig": "DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;]",
"PretaxAmount": "0",
"CommodityCode": "rds",
"RelatedOrderId": "4353453534543",
"PaymentCurrency": "CNY",
"ProductType": "rds",
"InstanceIDs": "[\"rm-bp1a2vsr018313t6o\"]",
"PretaxGrossAmount": "0",
"OrderId": "3453425324",
"ProductCode": "rds",
"ExtendInfos": {
"key": "{\"key\":\"Order extension information\"}"
},
"BillModuleConfig": {
"billModuleConfig": [
{
"Name": "Data disk\n",
"Code": "datadisk",
"ApiCode": "datadisk",
"BillModuleProperties": {
"billModuleProperties": [
{
"ModuleApiCode": "cloud_ssd",
"AttrApiCode": "cloud_ssd",
"Value": "cloud_ssd"
}
]
}
}
]
},
"OriginalModuleConfig": {
"originalModuleConfig": [
{
"Name": "System disk\n",
"Code": "systemdisk",
"ModuleProperties": {
"moduleProperties": [
{
"Code": "cloud_efficiency\n",
"Name": "cloud_efficiency",
"Value": "cloud_efficiency"
}
]
}
}
]
}
}
]
}
}
}
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.