Create a new 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
{
"chamberOfCommerceNumber": "69831955",
"contactFirstName": "John",
"contactLastName": "Doe",
"contactMobilePhoneNumber": "+31612345678",
"contactEmail": "johndoe@example.com",
"provisions": {
"fixedCostPriceFactor": 1.95,
"percentage": 18.2,
"minimumAmount": 18.21
},
"iban": "NL24RABO0648620387",
"vatNumber": "NL290284636B95",
"paymentTerm": {
"days": 30,
"surchargePercentage": 2.5
}
}Response
Successfully created a company
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 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 required property
to the response with the status - info
added the required 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 - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the 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
- info
response schema
application/jsonenum value removedCOMPANY_EXISTS - info
response schema
application/jsonenum value removedEMAIL_DOMAIN_BLACKLISTED - info
response schema
application/jsonenum value removedEMAIL_EXISTS - info
response schema
application/jsonenum value removedFAILED_TO_GET_CHAMBER_OF_COMMERCE_DATA - info
response schema
application/jsonenum value removedINVALID_EMAIL_ADDRESS - info
response schema
application/jsonenum value removedINVALID_IBAN - info
response schema
application/jsonenum value removedINVALID_PAYMENT_TERM_DAYS - info
response schema
application/jsonenum value removedINVALID_PROVISIONS - info
response schema
application/jsonenum value removedINVALID_SURCHARGE_PERCENTAGE - info
response schema
application/jsonenum value removedINVALID_VAT_NUMBER - 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 - info
response schema
application/jsonenum value removedUNSUPPORTED_CLA_NUMBER - info
response schema
application/jsonenum value removedVAT_AND_CLA_ARE_BOTH_REQUIRED_OR_SHOULD_BOTH_BE_EMPTY
- breaking