Query shared traffic package details
Updated at:2025-10-16
Description
- Retrieve detailed information of a specific shared traffic package by its ID.
Request structure
Plain Text
1GET /v{version}/eiptp/{id} HTTP/1.1
2Host: eip.bj.baidubce.com
3Authorization: authorization string
Request headers
There are no special headers required beyond the common headers.
Request parameters
| Parameter name | Type | Required or not | Parameter position | Description |
|---|---|---|---|---|
| version | String | Yes | URL parameter | API version number, current value is 1. |
| clientToken | String | No | Query | Idempotency Token |
| id | String | Yes | URL parameter | ID of the shared traffic package |
Response Status Code
Respond with 200 after successful operation, and respond with error codes after failed operation, as shown in [Error Codes](EIP/API Reference/Error code.md).
Response headers
No special headers beyond common headers.
Response parameters
| Parameter name | Type | Description |
|---|---|---|
| id | String | ID of the shared traffic package |
| deductPolicy | String | Shared traffic package billing policies: "FullTimeDurationPackage" (full-time) or "TimeDurationPackage" (off-peak) |
| packageType | String | Shared traffic package Internet connection type, currently supporting "WebOutBytes" (dynamic) |
| status | String | Status of the shared traffic package, including "RUNNING" (in use), "EXPIRED" (expired), and "USED_UP" (used up) |
| capacity | String | Total shared traffic package capacity, in Bytes |
| usedCapacity | String | Used capacity of shared traffic package, in Bytes |
| createTime | String | Shared traffic package creation time |
| activeTime | String | Shared traffic package activation time |
| expireTime | String | Shared traffic package expiration time |
Request example
Plain Text
1GET /v1/eiptp/tp-87V5cnkwqO HTTP/1.1
2Host: eip.bj.baidubce.com
3ContentType: application/json
4Authorization: bce-auth-v1/5e5a8adf11ae475ba95f1bd38228b44f/2021-08-17T08:26:52Z/1800/host;x-bce-date/ec3c0069f9abb1e247773a62707224124b2b31b4c171133677f9042969791f02
Response example
Plain Text
1HTTP/1.1 200 OK
2x-bce-request-id: 1214cca7-4ad5-451d-9215-71cb844c0a50
3Date: Tue, 17 Aug 2021 08:26:53 GMT
4Content-Type: application/json;charset=UTF-8
5Server: BWS
6{
7 "id":"tp-87V5cnkwqO",
8 "deductPolicy":"TimeDurationPackage",
9 "packageType":"WebOutBytes",
10 "status":"RUNNING",
11 "capacity": 10737418240,
12 "usedCapacity": 0,
13 "createTime":"2021-08-10T11:40:57Z",
14 "activeTime": "2021-08-10T11:41:16Z",
15 "expireTime:" "2021-09-10T11:41:16Z"
16}
