Skip to main content

CreateEmployee

POST 

/orgs/:org_guid/employees

CreateEmployee

Request

Path Parameters

    org_guid uuidrequired

Query Parameters

    presentation PresentationModes

    Possible values: [compact, full]

Header Parameters

    X-LP-Client-Identifier stringrequired

    ClientIdentifier

    Example: 4dfba8ea-ced9-496d-973d-dd877ddedf50
    X-LP-Client-Type stringrequired

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

    ClientType

    Example: App
    X-LP-Client-Name string

    ClientName

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

    ClientOSName

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

    ClientOSVersion

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

    ClientScreenResolution

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

    ClientModel

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

    OrganizationAlias

    X-LP-Client-Extensions csv

    ClientExtensions

    Accept-Language stringrequired

    Language

    Example: en-US

Body

    name stringrequired

    Possible values: >= 2 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: >= 2 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...