[WIP] Shorten the duration of the placement contract upon request of the client company.
Changed onShorten the duration of the contract to the given date. Call this if and only if the client company invokes the agency clause (Dutch: uitzendbeding).
Request
- Base URLhttps://api.maqqie.app (the document declares no server; this is the origin it was published from)
- AuthOAuth 2Client credentialsToken URLhttps://maqqie.app/auth/realms/maqqie/protocol/openid-connect/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
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
stringfor status
- breaking
- breaking
the request's body type changed from
objectto no type - breaking
the response's body type changed from
stringto no type for status - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
response schema
application/jsonenum value removedCONTACT_DOES_NOT_BELONG_TO_SAME_COMPANY_AS_PLACEMENT - info
response schema
application/jsonenum value removedNEW_END_DATE_IS_AFTER_CONTRACTED_END_DATE - info
response schema
application/jsonenum value removedNEW_END_DATE_IS_BEFORE_START_DATE - info
response schema
application/jsonenum value removedWORKER_ILL_BETWEEN_NEW_END_DATE_AND_TODAY
- breaking