Richemont.Booster2.PublicApi

<back to all web services

ImportRequest

Requires Authentication
The following routes are available for this service:
POST/tasks/{brand}/importrequestUpload requestUpload sell-outs and customers provided in a file
ImportRequest Parameters:
NameParameterData TypeRequiredDescription
brandpathstringYesBrand Trigram, e.g. CAR, IWC
externalFileIdbodystringYesPublic key of the file in cloud server
typebodystringYesType of import e.g. 'SelloutAndCustomer', 'Sellout'
downloadRequestIdbodystringNoB2 document reference to link the file with the Salesforce record
ImportRequestResponse Parameters:
NameParameterData TypeRequiredDescription
asyncTaskIdformGuidYesUnique Identifier of the Import Sell-Out and Customer request created

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /tasks/{brand}/importrequest HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"brand":"String","externalFileId":"String","type":"String","downloadRequestId":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"asyncTaskId":"00000000000000000000000000000000"}