Pre check for a placement creation
Changed onPerforms a pre-check to determine whether a placement can be created with the provided data. Note: a successful pre-check does not guarantee that the placement can still be created later. For example, the minimum CLA wage may have changed between the pre-check and the actual creation of the placement.
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
Example request
{
"startDate": "2025-01-01",
"endDate": "2025-01-28",
"baseHourlyWage": 18.21
}Response
Successful pre-check with a possible error.
Example response
{
"error": {
"message": "Base hourly wage (10.15) is below the minimum (13.25, based on the CLA)"
}
}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
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
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
objectfor status - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status
- breaking
- breaking
the request's body type changed from
objectto no type - breaking
the response's body type changed from
objectto no type for 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 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 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 request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the optional property
from the response with the status
- breaking