Skip to main content

Create

POST 

/orgs/:org_guid/employees

Create

Request

Path Parameters

    org_guid uuidrequired

Query Parameters

    presentation PresentationModes

    Possible values: [compact, full]

Header Parameters

    X-LP-Client-Identifier stringrequired

    Идентификатор клиента

    Example: 8e8a808a-6811-4c90-b948-078a03872c49
    X-LP-Client-Type stringrequired

    Possible values: [Unknown, App, WebApp, Service]

    Тип клиента

    Example: App
    X-LP-Client-Name string

    Имя клиента

    Example: Swagger
    X-LP-Client-OS-Name string

    ОС клиента

    Example: SwaggerDoc
    X-LP-Client-OS-Version string

    Версия ОС клиента

    Example: 1.0
    X-LP-Client-Screen-Resolution string

    Разрешение экрана ОС клиента

    Example: 1280x0900
    X-LP-Client-Model string

    Модель оборудования клиента

    Example: Chrome 75
    X-LP-Organization-Alias string

    Организация по умолчанию

    X-LP-Client-Extensions csv

    Поддерживаемые клиентом расширения моделей

    Accept-Language stringrequired

    Язык используемый для ответов

    Example: en-US

Body

    name stringrequired

    Possible values: >= 5 characters and <= 64 characters

    name

    username stringrequired

    Possible values: >= 2 characters and <= 24 characters

    username

    phone stringrequired

    Possible values: >= 10 characters and <= 18 characters, Value must match regular expression ((8|\+7)-?)?\(?\d{3,5}\)?-?\d{1}-?\d{1}-?\d{1}-?\d{1}-?\d{1}((-?\d{1})?-?\d{1})?

    phone

    role

    object

    required

    guid uuid

    guid

    type_of string

    type_of

    inn stringnullable

    Possible values: >= 12 characters and <= 12 characters, Value must match regular expression ^\d+$

    inn

    pin_code_hash stringnullable

    Possible values: >= 32 characters and <= 32 characters

    pin_code_hash

    organization

    object

    guid uuid

    guid

    type_of string

    type_of

    email emailnullable

    Possible values: >= 6 characters and <= 64 characters

    email

    created_at date-time

    created_at

    updated_at date-time

    updated_at

    deleted_at date-timenullable

    deleted_at

    meta stringnullable

    Possible values: <= 128 characters

    meta

    meta_data

    object

    nullable

    meta_data

    property name* string
    guid uuid

    guid

    type_of string

    type_of

Responses

Created

Schema

    name stringrequired

    Possible values: >= 5 characters and <= 64 characters

    name

    username stringrequired

    Possible values: >= 2 characters and <= 24 characters

    username

    phone stringrequired

    Possible values: >= 10 characters and <= 18 characters, Value must match regular expression ((8|\+7)-?)?\(?\d{3,5}\)?-?\d{1}-?\d{1}-?\d{1}-?\d{1}-?\d{1}((-?\d{1})?-?\d{1})?

    phone

    role

    object

    required

    guid uuid

    guid

    type_of string

    type_of

    inn stringnullable

    Possible values: >= 12 characters and <= 12 characters, Value must match regular expression ^\d+$

    inn

    pin_code_hash stringnullable

    Possible values: >= 32 characters and <= 32 characters

    pin_code_hash

    organization

    object

    guid uuid

    guid

    type_of string

    type_of

    email emailnullable

    Possible values: >= 6 characters and <= 64 characters

    email

    created_at date-time

    created_at

    updated_at date-time

    updated_at

    deleted_at date-timenullable

    deleted_at

    meta stringnullable

    Possible values: <= 128 characters

    meta

    meta_data

    object

    nullable

    meta_data

    property name* string
    guid uuid

    guid

    type_of string

    type_of

Loading...