POST api/Auth?IP={IP}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
IP

string

Required

Body Parameters

UserInfo
NameDescriptionTypeAdditional information
full_name

string

None.

id

globally unique identifier

Required

is_delegated

boolean

None.

agreement

boolean

None.

view_info

ViewInfo

None.

id_role

globally unique identifier

None.

first_name

string

None.

last_name

string

None.

is_manager

boolean

None.

is_hr

boolean

None.

is_admin

boolean

None.

image_id

globally unique identifier

None.

email

string

None.

phone

string

None.

web_popup_ids

string

None.

birthdate

date

None.

deleted

boolean

Required

state_id

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "full_name": "sample string 5 sample string 6",
  "id": "4c57a8d9-4897-408e-bb76-d1c3ea4c2276",
  "is_delegated": true,
  "agreement": true,
  "view_info": {
    "id": "0c3e2d3a-b09c-4660-9dd9-7ec1e056093f",
    "show_date_of_in_request": true
  },
  "id_role": "02419000-8815-4551-8a3e-a8483481d613",
  "first_name": "sample string 5",
  "last_name": "sample string 6",
  "is_manager": true,
  "is_hr": true,
  "is_admin": true,
  "image_id": "e8a2513b-fb04-4d7a-9bfd-78c904fea33e",
  "email": "sample string 10",
  "phone": "sample string 11",
  "web_popup_ids": "sample string 12",
  "birthdate": "2024-02-24T10:41:51Z",
  "deleted": true,
  "state_id": 1
}

application/xml, text/xml

Sample:
<UserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models">
  <agreement>true</agreement>
  <birthdate>2024-02-24T11:41:51.8705145+01:00</birthdate>
  <deleted>true</deleted>
  <email>sample string 10</email>
  <first_name>sample string 5</first_name>
  <full_name>sample string 5 sample string 6</full_name>
  <id>4c57a8d9-4897-408e-bb76-d1c3ea4c2276</id>
  <id_role>02419000-8815-4551-8a3e-a8483481d613</id_role>
  <image_id>e8a2513b-fb04-4d7a-9bfd-78c904fea33e</image_id>
  <is_admin>true</is_admin>
  <is_delegated>true</is_delegated>
  <is_hr>true</is_hr>
  <is_manager>true</is_manager>
  <last_name>sample string 6</last_name>
  <phone>sample string 11</phone>
  <state_id>1</state_id>
  <view_info>
    <id>0c3e2d3a-b09c-4660-9dd9-7ec1e056093f</id>
    <show_date_of_in_request>true</show_date_of_in_request>
  </view_info>
  <web_popup_ids>sample string 12</web_popup_ids>
</UserInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserLogged
NameDescriptionTypeAdditional information
Role

integer

None.

IsSuperAdmin

boolean

None.

Token

string

None.

DateOfLastActivity

date

None.

IP

string

None.

GroupId

integer

None.

GroupRole

integer

None.

FullName

string

None.

Id

globally unique identifier

None.

IdImage

globally unique identifier

None.

IdUserWorkPosition

globally unique identifier

None.

IdShift

globally unique identifier

None.

Code

string

None.

Code2

string

None.

PeopleSoftId

string

None.

FunctionalUnit

string

None.

Title

string

None.

Introduction

string

None.

FirstName

string

None.

LastName

string

None.

Lock

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "role": 1,
  "date_od_last_activity": "2024-02-24T10:41:51Z",
  "ip": "sample string 4",
  "group_id": 1,
  "group_role": 1,
  "full_name": "sample string 16 sample string 15",
  "id": "290c0545-24c7-4e98-ae45-c7de70378bc8",
  "image_id": "efb35566-df20-43f9-b752-06ab62bec2de",
  "id_user_work_position": "7e0898a1-8422-4180-ac67-e62f34bf85c1",
  "id_shift": "d6c6b667-f00a-49e8-8bd9-f129a81d463b",
  "code": "sample string 9",
  "code2": "sample string 10",
  "title": "sample string 13",
  "introduction": "sample string 14",
  "first_name": "sample string 15",
  "last_name": "sample string 16"
}

application/xml, text/xml

Sample:
<UserLogged xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models">
  <code>sample string 9</code>
  <code2>sample string 10</code2>
  <first_name>sample string 15</first_name>
  <full_name>sample string 16 sample string 15</full_name>
  <id>290c0545-24c7-4e98-ae45-c7de70378bc8</id>
  <id_shift>d6c6b667-f00a-49e8-8bd9-f129a81d463b</id_shift>
  <id_user_work_position>7e0898a1-8422-4180-ac67-e62f34bf85c1</id_user_work_position>
  <image_id>efb35566-df20-43f9-b752-06ab62bec2de</image_id>
  <introduction>sample string 14</introduction>
  <last_name>sample string 16</last_name>
  <title>sample string 13</title>
  <DateOfLastActivity>2024-02-24T11:41:51.8861141+01:00</DateOfLastActivity>
  <GroupId>1</GroupId>
  <GroupRole>1</GroupRole>
  <IP>sample string 4</IP>
  <Role>1</Role>
  <Token>sample string 2</Token>
</UserLogged>