v1

latestSwagger 2.02026-08-041113661.2 MB
ContactService

Create contact

post/v1beta/contacts

Request body

api_access_enabledboolean
commentsstring
company_namestring
emailstring
innstring
is_activeboolean
kppstring
localestring
passwordstring
rolestring
usernamestring
vatstring

Example request

{
  "additional_data": {
    "birth_city": "Test city",
    "birth_date": "1969-12-31",
    "social_security_number": "12326178T"
  },
  "address": {
    "city": "Test city",
    "country": "NL",
    "number": "123",
    "state": "Testprovince",
    "street": "Test street",
    "suffix": "A",
    "zipcode": "1235 XX"
  },
  "api_access_enabled": false,
  "comments": "",
  "company_name": "",
  "email": "",
  "inn": "",
  "is_active": false,
  "kpp": "",
  "locale": "",
  "name": {
    "first_name": "Test",
    "full_name": "Test Person",
    "initials": "T P",
    "last_name": "Person",
    "prefix": "Mr"
  },
  "password": "",
  "phone": {
    "area_code": "111",
    "country_code": "+03",
    "subscriber_number": "123456"
  },
  "role": "tech",
  "username": "",
  "vat": ""
}

Response

A successful response.

codeinteger
descstring
maintenanceboolean

Example response

{
  "code": 0,
  "data": {
    "id": 1,
    "token": "b1fe1g5c8crd8c120426725t756054d9561hly4p"
  },
  "desc": ""
}