Skip to main content
POST
Replace 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

EntryTypes
string
default:AutoAccruals,ManualAccruals,Regularizations

Types of entries to take into account, separated by commas, from the following list: AutoAccruals, ManualAccruals, Regularisations, EntitlementsImport, Seniority, Fractionnement, TimeSavings, Comp

By default: AutoAccruals, ManualAccruals, Regularizations which correspond to the main cases of acquisition (automatic acquisition, manual adjustments, regularisations).

Response

Example response

successLinesCount
integer
globalErrors
object
lineErrors
object