1. API Endpoint
https://openapi.dns.com/api/product/package/getItems/
2. Request Parameters
| Parameter |
Name |
Type |
Description |
| order_id |
Order ID |
int |
Required |
3. Response Parameters
| Parameter |
Name |
Type |
Description |
| code |
Status Code |
int |
0 indicates success, non-zero indicates an error (see error codes) |
| message |
Message |
string |
May be empty on success, returns error message on failure |
| data |
Response Data |
array |
Returns an array when data exists, otherwise empty |
4. Response Data (data)
| Parameter |
Name |
Type |
Description |
| data |
Purchased List |
array |
List of purchased items |
| data.flag |
Flag |
string |
- |
| data.id |
ID |
int |
- |
| data.start_time |
Start Time |
string |
- |
| data.end_time |
End Time |
string |
- |
| data.product_id |
Product ID |
string |
- |
| data.name |
Product Name |
string |
- |
| data.domain |
Domain |
string |
- |
| data.domain_id |
Domain ID |
int |
- |