Create a new worker
Changed onRequest
- 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
{
"verificationDocumentDetails": {
"nationality": "US",
"identityDocument": {
"documentNationality": "US"
}
},
"address": {
"houseNumber": 102,
"houseNumberAddition": "B",
"zipCode": "5652AA",
"countryCode": "US"
}
}Response
Successfully created a worker
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
the request's body type changed from no type to
object - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
stringfor status - 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 - 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
- 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 - info
response schema
application/jsonenum value removedCOUNTRY_ADDRESS_NOT_SUPPORTED - info
response schema
application/jsonenum value removedEMAIL_ADDRESS_IN_USE - info
response schema
application/jsonenum value removedINVALID_BSN - info
response schema
application/jsonenum value removedINVALID_COUNTRY - info
response schema
application/jsonenum value removedINVALID_DOCUMENT - info
response schema
application/jsonenum value removedINVALID_EMAIL - info
response schema
application/jsonenum value removedINVALID_HOUSE_NUMBER_ADDITION - info
response schema
application/jsonenum value removedINVALID_IBAN - info
response schema
application/jsonenum value removedINVALID_NATIONALITY - info
response schema
application/jsonenum value removedINVALID_NON_EER_WORKER_AND_NATIONALITY_COMBINATION - info
response schema
application/jsonenum value removedINVALID_PHONE_NUMBER - info
response schema
application/jsonenum value removedINVALID_ZIP_CODE - info
response schema
application/jsonenum value removedLEGAL_WORK_CATEGORY_NOT_SUPPORTED - info
response schema
application/jsonenum value removedWORKER_ALREADY_HAS_AN_ACCOUNT
- breaking