v1

latestOpenAPI 3.1.02026-08-061,5107704.5 MB
Client

Clients.create

Creates new Client

post/entities/Clients

Query parameters

validation-levelinteger

Specify validation level of Client on create. Use them as bit mask: 0 - validate each field on entity, 2 - validate only changed fields, 4 - validate only system fields, 8 - allows to override readonly fields, 16 - allows to set entity on deleted relationship.

Response

Creation confirmation. Returns created Client

successboolean

True when response succeeded, false on error.

Example response

{
  "success": true,
  "data": {
    "id": "01234567-abcd-dcba-ffff-000000000000",
    "modified": "2019-01-01T00:00:00",
    "created": "2019-01-01T00:00:00",
    "default_unit_id": "01234567-abcd-dcba-ffff-000000000000",
    "email": "string",
    "first_name": "string",
    "last_active": "2019-01-01T00:00:00",
    "last_name": "string",
    "master_right_id": "01234567-abcd-dcba-ffff-000000000000",
    "middle_name": "string",
    "phone": "string",
    "picture_url": "string",
    "position": "string",
    "region": "string",
    "timezone": "string",
    "revision": 1,
    "default_idp": 1,
    "user_profile_id": 1,
    "timezone_name": "string",
    "name": "string",
    "formatted_name": "string",
    "unit_manager_ids": [
      "01234567-abcd-dcba-ffff-000000000000"
    ],
    "unit_member_ids": [
      "01234567-abcd-dcba-ffff-000000000000"
    ],
    "user_recalculation_state": "InProgress"
  }
}