Placement

[WIP] Shorten the duration of the placement contract upon request of the client company.

Changed on

Shorten the duration of the contract to the given date. Call this if and only if the client company invokes the agency clause (Dutch: uitzendbeding).

post/public/placement/v1/update-placement-end-date

Request

Request body

placementIdstring uuid required

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

contactIdstring uuid required

The contact person that requests invocation of the agency clause. Must be a contact person of the client company that the placement is for.

newEndDatestring date required

The new end date of the placement's contract. The contract runs up to and including this date. Must be >= contracted placement start date, and < contracted placement end date.

Response

Successfully shortened the contract to the requested end date

Changes

    • 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 string for status

    • 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 the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      response schema application/json enum value removed CONTACT_DOES_NOT_BELONG_TO_SAME_COMPANY_AS_PLACEMENT

    • info

      response schema application/json enum value removed NEW_END_DATE_IS_AFTER_CONTRACTED_END_DATE

    • info

      response schema application/json enum value removed NEW_END_DATE_IS_BEFORE_START_DATE

    • info

      response schema application/json enum value removed WORKER_ILL_BETWEEN_NEW_END_DATE_AND_TODAY