EmploymentContract

Create a new phase B/C employment contract for a worker

Changed on

Create an employment contract for a worker. The contract needs to be signed by the worker before it becomes active.

post/public/employment-contract/v1/create-employment-contract

Request

  • Base URL
    https://api.maqqie.app (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Client credentials
    Token URLhttps://maqqie.app/auth/realms/maqqie/protocol/openid-connect/token

Request body

workerIdstring uuid required

The unique id of the worker, as returned from the /create-worker endpoint.

type'PHASE_B' | 'PHASE_C' required

The type of the employment contract

hoursPerWeeknumber required

The number of hours the worker will work per week for this employment contract. The maximum comes from https://www.rijksoverheid.nl/onderwerpen/werktijden/vraag-en-antwoord/wettelijke-regels-werktijden-en-rusttijden

isPayrollTaxReductionboolean required

Whether the payroll tax reduction applies to this employment contract.

Response

Successfully created the employment contract

employmentContractIdstring uuid required

The unique id of the created employment contract.

signingUrlstring uri required

A URL to sign the employment contract

signingUrlExpirationTimestampstring date-time required

The timestamp (UTC) at which the signing URL will expire.

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

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

    • breaking

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

    • breaking

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

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

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

    • breaking

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

    • breaking

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

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the optional property from the response with the status