Appearance
Get Order Download Links
API Information
- Request Path:
/market/order/downloadLinks - Request Method:
POST - Content-Type:
application/json
Request Headers
| Parameter | Type | Required | Description |
|---|---|---|---|
| Authorization | String | Yes | User authentication token |
| Content-Type | String | Yes | Must be set to application/json |
Request Body Structure
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
| orderNo | String | Yes | Order number | Non-empty |
Request Body Example
json
{
"orderNo": "ORDER_202310270001"
}Response Body Structure
CommonResponse Object
| Field | Type | Description |
|---|---|---|
| code | Integer | Response status code |
| message | String | Response message |
| data | OrderDownloadLinksResp | Response data (download links and order status) |
OrderDownloadLinksResp Object
| Field | Type | Description |
|---|---|---|
| status | Integer | Order status: 1-pending, 2-delivered, 3-completed, 4-acquisition_analysis_in_progress, 5-imaging_pending_acquisition, 6-acquisition_failed |
| downloadUrls | List<String> | List of product download URLs. Populated when order status is 2 (delivered) or 3 (completed). |
Response Examples
Success Response
json
{
"code": 200,
"message": "success",
"data": {
"status": 2,
"downloadUrls": ["https://eo-imagery.origen.ae/market_service/market/product/download?orderNo=0487eee9-04aa-4d1a-8bf2-95c538b67355&id=69&sign=SKJB35ToIKbNdBiAcHcmu%2FiNwAxWhqzExz9mATjXFaE%3D"]
}
}Failure Response
json
{
"code": 400,
"message": "Order not found",
"data": null
}Error Code Description
| Error Code | Description |
|---|---|
| 200 | Success |
| 400 | Request parameter error (e.g. missing or invalid orderNo) |
| 401 | Unauthorized |
| 500 | Server internal error |
Usage Instructions
- This API is used to obtain download links for products under a specific order.
- User authentication is required.
- Provide the order number in the request body. When the order status is delivered (2) or completed (3),
downloadUrlswill contain the signed download URLs for each product.
Notes
- Returns order status and product download URLs. Download URLs are returned when the order status is delivered (2) or completed (3).