Richemont.Booster2.PublicApi

<back to all web services

GetTaskDetail

Requires Authentication
The following routes are available for this service:
GET/tasks/{asyncTaskId}Get task detail of authorized user
GetTaskDetail Parameters:
NameParameterData TypeRequiredDescription
asyncTaskIdpathGuidYesAsync task ID
Task Parameters:
NameParameterData TypeRequiredDescription
asyncTaskIdformGuidYesAsync task ID
typeformstringYesType of requested async task, e.g 'stock', 'sellout', 'crm'
requestDateformstringYesAsync task creation date
statusformstringYesStatus of requested async task, e.g 'REQ', 'INP', 'COM', 'ERR'
percentageformintYesPercentage of completion
brandformstringYesBrand Trigram
downloadUrlformstringNoDownload url of created files
signedDownloadUrlformstringNoPresigned expiring download url
totalResultsformint?NoTotal count of operations
totalSucceededformint?NoCount of successful operations
totalFailedformint?NoCount of failed operations

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + 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
}