Skip to main content
POST
Import entitlements

Headers

Authorization
string
required

API key. Value must be formatted like so: lucca application={api_key}.

Query Parameters

strict
boolean
default:false

In strict mode, if the import has errors, nothing is imported. Without strict mode, the lines in error are ignored and those in success are imported.

simulate
boolean
default:false

Allows you to simulate the import. In this case, the response indicates the theoretical result of the import without any data being recorded.

Body

multipart/form-data
File
file
Description
string

Description of the entries generated by the import (visible to users in the account details).

ReferenceDate
string<date-time>

Reference date (text mode). Respect the format: yyyy-MM-ddThh: mm: ss

Response

Example response

successLinesCount
integer
globalErrors
object
lineErrors
object