| GET | /tasks/{asyncTaskId} | Get task detail of authorized user |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| asyncTaskId | path | Guid | Yes | Async task ID |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| asyncTaskId | form | Guid | Yes | Async task ID |
| type | form | string | Yes | Type of requested async task, e.g 'stock', 'sellout', 'crm' |
| requestDate | form | string | Yes | Async task creation date |
| status | form | string | Yes | Status of requested async task, e.g 'REQ', 'INP', 'COM', 'ERR' |
| percentage | form | int | Yes | Percentage of completion |
| brand | form | string | Yes | Brand Trigram |
| downloadUrl | form | string | No | Download url of created files |
| signedDownloadUrl | form | string | No | Presigned expiring download url |
| totalResults | form | int? | No | Total count of operations |
| totalSucceeded | form | int? | No | Count of successful operations |
| totalFailed | form | int? | No | Count of failed operations |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /tasks/{asyncTaskId} HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
asyncTaskId: 00000000000000000000000000000000,
type: String,
requestDate: String,
status: String,
percentage: 0,
brand: String,
downloadUrl: String,
signedDownloadUrl: String,
totalResults: 0,
totalSucceeded: 0,
totalFailed: 0
}