获取订单状态
更新时间:2022-12-22
接口描述
通过订单ID获取订单状态
请求结构
                Plain Text
                
            
            1GET /v{version}/instance/order/{orderId} HTTP/1.1
2HOST: rds.bj.baidubce.com
3Authorization: authorization string
            请求头域
除公共头域外,无其它特殊头域。
请求参数
| 参数名称 | 类型 | 是否必须 | 参数位置 | 描述 | 
|---|---|---|---|---|
| version | String | 是 | URL参数 | API 版本号 | 
| orderId | String | 否 | Query参数 | 订单ID | 
返回头域
除公共头域,无其它特殊头域。
返回参数
| 参数名称 | 类型 | 描述 | 
|---|---|---|
| status | String | 订单状态 | 
请求示例
                Plain Text
                
            
            1GET /v1/instance/order/a042d0b915404d1b8413bf56dc47b418 HTTP/1.1
2HOST: rds.bj.baidubce.com
3Authorization: bce-auth-v1/rdsak/2016-07-03T06:13:13Z/1800/x-bce-date/{signature}
            返回示例
                Plain Text
                
            
            1HTTP/1.1 200 OK
2x-bce-request-id: 7869616F-7A68-6977-656E-406261696475
3ETag:xxx-xxx-xxx
4Content-Type: application/json
5Content-Length: 567
6
7{
8    "status": "CREATED"
9}  
            