Reserved Instance Outbound List
Updated at:2025-10-20
This API is used to query the list of reserved instances transferred in.
Request structure
Plain Text
1POST /v{version}/instance/reserved/transfer/out/list HTTP/1.1
2Host: bcc.bj.baidubce.com
3Authorization: authorization string
4{
5 "reservedInstanceIds": [reservedInstanceId],
6 "transferRecordIds": [transferRecordId],
7 "spec": spec,
8 "status": status
9}
Request headers
There are no special headers required beyond the common headers.
Request parameters
| Parameter name | Types | Whether required | Parameter location | Description |
|---|---|---|---|---|
| version | String | Yes | URL parameter | API version number |
| clientToken | String | No | Query | Idempotence Token, which is an ASCII string with a length not exceeding 64 bits. For details, see the [Link](#ClientToken Idempotency Support) |
| reservedInstanceIds | No | requestBody parameters | Filter by the list of reserved instance IDs | |
| transferRecordIds | No | requestBody parameters | Filter by list of reserved instance transfer record IDs | |
| spec | String | No | requestBody parameters | Filter by the instance specification |
| status | String | No | requestBody parameters | Filter by the transfer record status |
Response headers
No special headers are required beyond the standard ones.
Response parameters
| Parameter name | Types | Description |
|---|---|---|
| totalCount | int | Total count of reserved instance transfer records |
| transferRecords | List<[TransferOutRecord](BCC/API Reference/Appendix.md#TransferOutRecord)> | Details of reserved instance transfer records |
Error codes
| Error code | Error description | HTTP status code | Chinese explanation |
|---|---|---|---|
| BadRequest | request is invalid | 400 | Invalid request parameters |
Request example
Plain Text
1POST http://bcc.bj.baidubce.com/v2/instance/reserved/transfer/out/list
2Host: bcc.bj.baidubce.com
3Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2015-08-11T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
4
5{
6 "reservedInstanceIds": ["r-OQJhJY5Z"],
7 "transferRecordIds": ["t-EbYIxxgG"],
8 "spec": "bcc.g3.c1m1",
9 "status": "timeout"
10}
Response example
Plain Text
1HTTP/1.1 200 OK
2Content-Type: application/json;charset=UTF-8
3Date: Wed, 08 Jul 2015 03:28:11 GMT
4x-bce-request-id: d8752367-38e8-45e4-b4c7-e53be3137ce5
5Server: BWS
6
7{
8"totalCount": 1,
9"transferRecords": [{
10 "transferRecordId": "t-EbYIxxgG",
11 "recipientUserId": "xxxx************************yyyy",
12 "status": "timeout",
13 "reservedInstanceInfo": {
14 "reservedInstanceId": "r-OQJhJY5Z",
15 "reservedInstanceName": "reservedInstance-qGRTVDmq",
16 "scope": "AZ",
17 "zoneName": "cn-bj-a",
18 "spec": "bcc.g3.c1m1",
19 "reservedType": "BCC",
20 "offeringType": "PostPay",
21 "osType": "all",
22 "reservedInstanceStatus": "Active",
23 "instanceCount": 1,
24 "effectiveTime": "2024-03-22T10:07:04Z",
25 "expireTime": "2024-04-22T10:18:26Z",
26 "autoRenew": false,
27 "renewTimeUnit": "",
28 "renewTime": 0,
29 "nextRenewTime": ""
30 },
31 "applicationTime": "2024-03-26T07:30:48Z",
32 "expireTime": "2024-03-26T08:30:48Z",
33 "endTime": "2024-03-26T08:30:48Z"
34}]
35}
