Worker

Update identity data of a worker

Changed on
post/public/worker/v1/update-identity-data

Request

Request body

bsnDocumentstring

The base64-encoded image of the bsn document.

base64DocumentBackstring required

The base64-encoded image of the back of the identity document.

base64DocumentFrontstring required

The base64-encoded image of the front of the identity document.

documentType'IDENTITY_CARD' | 'PASSPORT' | 'RESIDENCE_PERMIT' required
documentNumberstring required

The identification document number.

documentExpiryDatestring date required

The expiration date of the identification document.

documentNationalitystring required

The country code in ISO 3166-1 alpha-2 format.

Example request

{
  "documentNationality": "US"
}

Response

Successfully updated identity data of a worker

Changes

    • breaking

      added the new required request property

    • breaking

      added to the request body allOf list

    • breaking

      the request's body type changed from no type to object

    • breaking

      the response's body type changed from no type to string for status

    • info

      added the new optional request property

    • info

      added the new optional request property

    • breaking

      the request's body type changed from object to no type

    • breaking

      the response's body type changed from string to no type for status

    • warning

      removed from the request body allOf list

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      response schema application/json enum value removed BSN_ALREADY_EXISTS

    • info

      response schema application/json enum value removed INVALID_BSN

    • info

      response schema application/json enum value removed INVALID_COUNTRY

    • info

      response schema application/json enum value removed INVALID_DOCUMENT

    • info

      response schema application/json enum value removed INVALID_NATIONALITY

    • info

      response schema application/json enum value removed INVALID_NON_EER_WORKER_AND_NATIONALITY_COMBINATION