| GET | /tasks | Get tasks of authorized user |
|---|
| 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 .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /tasks HTTP/1.1 Host: dev-api-booster.richemont.com Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ArrayOfTask xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.NightlyProcess.ServiceModel" />