Create a new location for a company
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
{
"address": {
"houseNumber": 102,
"houseNumberAddition": "B",
"zipCode": "5652AA",
"countryCode": "US"
}
}Response
Successfully created a location
Changes
- breaking
added
subschema #2to the request bodyallOflist - 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 required property
to the response with the status
- breaking
- 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 - breaking
removed the required property
from the response with the status - warning
removed
subschema #2from the request bodyallOflist - info
response schema
application/jsonenum value removedADDRESS_DOES_NOT_EXIST - info
response schema
application/jsonenum value removedINVALID_DUTCH_ZIP_CODE - info
response schema
application/jsonenum value removedLOCATION_EXISTS - info
response schema
application/jsonenum value removedPHONE_NUMBER_CANNOT_BE_PARSED - info
response schema
application/jsonenum value removedPHONE_NUMBER_CANNOT_EXIST - info
response schema
application/jsonenum value removedPHONE_NUMBER_DOES_NOT_START_WITH_COUNTRY_CODE - info
response schema
application/jsonenum value removedPHONE_NUMBER_KIND_NOT_SUPPORTED
- breaking