Create user locations in batch from a CSV file.
Please note that once launched, imports cannot be undone.
You may test out your CSV file first, through setting the create query parameter to false. Refer to the guide for further explanations.
Multipart boundary MUST be set in the Content-Type header.
API key. Value must be formatted like so: lucca application={api_key}.
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.
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.
OK
"51564472-08cc-4410-94cc-a2b67f77f980"