Skip to main content

GetCurrentEmployee

GET 

/orgs/:org_guid/me

GetCurrentEmployee

Request

Path Parameters

    org_guid uuidrequired

Query Parameters

    presentation PresentationModes

    Possible values: [compact, full]

Header Parameters

    X-LP-Client-Identifier stringrequired

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

    Example: 05897378-5655-4ef0-ace0-c3910455c830
    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

Responses

Success

Schema

    name stringrequired

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

    name

    role

    object

    required

    guid uuid

    guid

    type_of string

    type_of

    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

    username stringrequired

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

    username

    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

    permissions

    object[]

    required

    permissions

  • Array [

  • group stringrequired

    Possible values: non-empty

    group

    name stringrequired

    Possible values: non-empty

    name

    features

    object[]

    required

    features

  • Array [

  • feature stringrequired

    Possible values: non-empty

    feature

    name stringrequired

    Possible values: non-empty

    name

    path stringrequired

    Possible values: non-empty

    path

  • ]

  • ]

  • 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...