Add GP Workers Additional Information
Changed onUse this endpoint to provide the country-specific additional information a Global Payroll worker contract needs before payroll can run, typically right after the contract is created, for example tax identifiers, marital status or bank-related declarations. Send the values under data, keyed by the additional-information fields defined for the contract country (see GET /rest/forms/gp/worker-additional-fields/{country_code}). For fields the organization has configured as effective-dated, supply a date in effective_dates (YYYY-MM-DD) when setting a new value: today or a past date applies immediately, a future date schedules the change. Unchanged values and clears need no date. For fields with an expiration date configured, expiration_dates sets the date the value is removed on. Submitted values are recorded in the contract history and may update the worker onboarding checklist. Requires the people:write scope. To correct or change values already held on the contract, use PATCH /gp/workers/contracts/{contract_id}/additional-information instead.
Token scopes: people:write
Request
- Base URLhttps://api.letsdeel.com/rest
- AuthHTTP bearer
Path parameters
The unique public identifier of the contract.
Request body
Per-field effective date (YYYY-MM-DD), keyed like data. Only allowed for effective-dated fields, and required whenever such a field is set to a new value (unchanged values and clears need no date). Past dates apply immediately as corrections, future dates are scheduled.
Per-field expiration date (YYYY-MM-DD), keyed like data. Only allowed for fields with an expiration date configured. The value is removed on that date; it must be after today and after the value's effective date. Send null to remove an expiration date. Sending only a new expiration date for an unchanged value changes the expiry and keeps the value.
Response
Operation successful.
Changes
- info
added the new optional request property
effective_dates - info
added the new optional request property
expiration_dates
- info