Headers
API key. Value must be formatted like so: lucca application={api_key}
.
Multipart boundary MUST be set in the Content-Type header.
Query Parameters
Use false
to simulate the import and true
to create the User Locations. If you simulate you will be able to use analysis and if you create, you could use results.
Use true
to replace current User Locations with new one. Use false
to create/simulate User Locations just for day without UserLocations.
Body
Content of the CSV file to import. Divided by the 'boundary' string set in the Content-Type HTTP header.
Example of a single file request body:
--myBoundary
Content-Disposition: form-data; name="office-import.csv"; filename="office-import.csv"
Content-Type: multipart/form-data
login;workLocationName;areaName;date;position;comment;isDeletion
jdupont;Paris;Service Client;2025/09/18;FullDay;;false
mlefevre;Nantes;B1;2025/09/19;SecondHalf;this is a comment;false
--myBoundary--
The body is of type object
.
Response
OK
"51564472-08cc-4410-94cc-a2b67f77f980"