Company

Create a new contact for a company

Changed on
post/public/company/v1/create-contact

Request

Request body

firstNamestring required
middleNamestring
lastNamestring required
phoneNumberstring required
emailstring email required
safetyContactboolean required
companyIdstring uuid required

Response

Successfully created a contact

contactIdstring uuid required

Changes

    • breaking

      added subschema #2 to the request body allOf list

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to string for status

    • info

      added the required property to the response with the status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the response's body type changed from string to no type for status

    • breaking

      removed the required property from the response with the status

    • warning

      removed subschema #2 from the request body allOf list

    • info

      response schema application/json enum value removed CONTACT_EXISTS

    • info

      response schema application/json enum value removed INVALID_EMAIL_ADDRESS

    • info

      response schema application/json enum value removed PHONE_NUMBER_CANNOT_BE_PARSED

    • info

      response schema application/json enum value removed PHONE_NUMBER_CANNOT_EXIST

    • info

      response schema application/json enum value removed PHONE_NUMBER_DOES_NOT_START_WITH_COUNTRY_CODE

    • info

      response schema application/json enum value removed PHONE_NUMBER_KIND_NOT_SUPPORTED