GetOrderDetail
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. |
233501558440169 |
| MemberUid |
integer |
No |
The UID of the member account in the multi-account enterprise managed by the current account. Leave this parameter empty if this scenario does not apply. |
1715322405372273 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The status code. |
Success |
| 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 |
| Data |
object |
The returned 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 records. |
400 |
| OrderList |
object |
||
| Order |
array<object> |
The order list. |
|
|
array<object> |
The order details. |
||
| Operator |
string |
The ID of the Resource Access Management (RAM) user that performed the order operation. Leave this field empty if not applicable. |
322315 |
| AfterTaxAmount |
string |
The after-tax amount. |
0 |
| Config |
string |
The configuration of the primary product. |
DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;] |
| SubOrderId |
string |
The sub-order ID. |
234343 |
| PaymentTime |
string |
The payment time of the order. The time is displayed in the YYYY-MM-DDTHH:mm:ssZ format in UTC. |
2017-06-08T09:41:30Z |
| Tax |
string |
The tax amount. |
0 |
| PaymentCurrency |
string |
The payment currency. Valid values:
|
CNY |
| UsageEndTime |
string |
The service end time. The time is displayed in the YYYY-MM-DDTHH:mm:ssZ format in UTC. |
2117-06-08T16:00:00Z |
| SubscriptionType |
string |
The subscription type. Valid values:
|
Subscription |
| PretaxGrossAmount |
string |
The original amount. |
0 |
| OrderType |
string |
The order type. Valid values:
|
new |
| Currency |
string |
The currency. Valid values:
|
CNY |
| CommodityCode |
string |
The commodity code. |
rds |
| UsageStartTime |
string |
The service start time. The time is displayed in the YYYY-MM-DDTHH:mm:ssZ format in UTC. |
2017-06-08T16:00:00Z |
| OriginalConfig |
string |
The unstandardized module information. |
DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;] |
| InstanceIds |
string |
The list of instance IDs. |
["rm-bp1a2vsr018313t6o"] |
| PaymentStatus |
string |
The payment status. For non-refund orders, valid values:
|
paid |
| ExtendInfos |
object |
The extended information of the order. |
{"IsAutoRenew":"true","DiscountAmount":"100.98","DeductedByCoupons":"98.88","CouponNo":"319170900877"} |
|
string |
The extended information of the order.
|
{"IsAutoRenew":"true","DiscountAmount":"100.98","DeductedByCoupons":"98.88","CouponNo":"319170900877"} |
|
| ProductCode |
string |
The product code. |
rds |
| CreateTime |
string |
The creation time. The time is displayed in the YYYY-MM-DDTHH:mm:ssZ format in UTC. |
2017-06-08T09:41:30Z |
| ProductType |
string |
The product type. |
rds |
| Quantity |
string |
The quantity. |
3 |
| RelatedOrderId |
string |
The ID of the associated order. |
241559391310332 |
| OrderId |
string |
The order ID. |
241559391310333 |
| BillModuleConfig |
object |
||
| billModuleConfig |
array<object> |
The billing configuration information. |
|
|
array<object> |
|||
| BillModuleProperties |
object |
||
| billModuleProperties |
array<object> |
The values under the configuration. |
|
|
object |
|||
| Value |
string |
The attribute value of the configuration. |
cloud_ssd |
| AttrApiCode |
string |
The attribute code of the configuration. |
cloud_ssd |
| ModuleApiCode |
string |
The API code of the configuration. |
cloud_ssd |
| ApiCode |
string |
apiCode |
datadisk |
| Code |
string |
The configuration code. |
datadisk |
| Name |
string |
The component name. |
Data cloud disk |
| OriginalModuleConfig |
object |
||
| originalModuleConfig |
array<object> |
The specific configuration information. |
|
|
array<object> |
|||
| ModuleProperties |
object |
||
| moduleProperties |
array<object> |
The list of properties for the configuration. |
|
|
object |
|||
| Value |
string |
The configuration attribute value. |
cloud_efficiency |
| Code |
string |
The configuration attribute code. |
cloud_efficiency |
| Name |
string |
The configuration attribute name. |
Ultra disk |
| Code |
string |
The configuration code. |
systemdisk |
| Name |
string |
The configuration name. |
System cloud disk |
| OrderSubType |
string |
The sub-order type. Valid values:
|
productsuborder |
| PretaxAmount |
string |
The payable amount of the order. |
0 |
| Region |
string |
The region. |
cn-hangzhou |
| PretaxAmountLocal |
string |
The local currency amount. |
0 |
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": 400,
"OrderList": {
"Order": [
{
"Operator": "322315",
"AfterTaxAmount": "0",
"Config": "DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;]",
"SubOrderId": "234343",
"PaymentTime": "2017-06-08T09:41:30Z",
"Tax": "0",
"PaymentCurrency": "CNY",
"UsageEndTime": "2117-06-08T16:00:00Z",
"SubscriptionType": "Subscription",
"PretaxGrossAmount": "0",
"OrderType": "new",
"Currency": "CNY",
"CommodityCode": "rds",
"UsageStartTime": "2017-06-08T16:00:00Z",
"OriginalConfig": "DBInstanceClass:[DBInstanceClass:rds.mysql.s1.small;EngineVersion:8.0;Region:cn-qingdao;]DBFlowType:[Region:cn-qingdao;]",
"InstanceIds": "[\"rm-bp1a2vsr018313t6o\"]",
"PaymentStatus": "paid",
"ExtendInfos": {
"key": "{\"IsAutoRenew\":\"true\",\"DiscountAmount\":\"100.98\",\"DeductedByCoupons\":\"98.88\",\"CouponNo\":\"319170900877\"}"
},
"ProductCode": "rds",
"CreateTime": "2017-06-08T09:41:30Z",
"ProductType": "rds",
"Quantity": "3",
"RelatedOrderId": "241559391310332",
"OrderId": "241559391310333",
"BillModuleConfig": {
"billModuleConfig": [
{
"BillModuleProperties": {
"billModuleProperties": [
{
"Value": "cloud_ssd",
"AttrApiCode": "cloud_ssd",
"ModuleApiCode": "cloud_ssd"
}
]
},
"ApiCode": "datadisk",
"Code": "datadisk",
"Name": "Data cloud disk"
}
]
},
"OriginalModuleConfig": {
"originalModuleConfig": [
{
"ModuleProperties": {
"moduleProperties": [
{
"Value": "cloud_efficiency",
"Code": "cloud_efficiency",
"Name": "Ultra disk"
}
]
},
"Code": "systemdisk",
"Name": "System cloud disk"
}
]
},
"OrderSubType": "productsuborder",
"PretaxAmount": "0",
"Region": "cn-hangzhou",
"PretaxAmountLocal": "0"
}
]
}
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidOwner | The specified owner doesn't belong to caller. | Invalid user identity. |
| 401 | InvalidCaller | The caller's primary account is invalid or does not have permission to query enterprise member account information. | The caller's primary account is invalid or does not have permission to query enterprise member account information. |
| 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.