Domain name for API request: mongodb.tencentcloudapi.com.
This API is used to get details of purchase, renewal, and specification adjustment orders of a MongoDB instance.
A maximum of 5 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeDBInstanceDeal. |
Version | Yes | String | Common Params. The value used for this API: 2019-07-25. |
Region | No | String | Common Params. This parameter is not required for this API. |
DealId | Yes | String | Order ID. It is returned by the CreateDBInstance and other APIs. |
Parameter Name | Type | Description |
---|---|---|
Status | Integer | Order status. Valid values: 1 (unpaid), 2 (paid), 3 (delivering), 4 (delivered), 5 (delivery failed), 6 (refunded), 7 (order closed), 8 (order closed because it failed to be paid within timeout period). |
OriginalPrice | Float | Original price of the order. |
DiscountPrice | Float | Discounted price of the order. |
Action | String | Operation performed by the order. Valid values: purchase, renew, upgrade, downgrade, refund. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://mongodb.tencentcloudapi.com/?Action=DescribeDBInstanceDeal
&DealId=20200420111635
&<Common request parameters>
{
"Response": {
"Action": "purchase",
"DiscountPrice": 759.33,
"OriginalPrice": 1116.67,
"RequestId": "e79836e8-1864-45bf-aa63-0c7af31e7de5",
"Status": 4
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InternalError | Internal error |
InvalidParameter | Parameter error |
InvalidParameter.PermissionDenied | The current subaccount has no permission to perform this operation. |
Was this page helpful?