POST api/Auth?IP={IP}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| IP | string |
Required |
Body Parameters
UserInfo| Name | Description | Type | Additional 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. |
|
| is_editor | boolean |
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. |
|
| 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 6 sample string 7",
"id": "4b77e77a-0ff4-499e-a368-9ac85e629dae",
"is_delegated": true,
"agreement": true,
"view_info": {
"id": "141fe6bf-eb65-4d8c-9e27-9aef0f6dbc42",
"show_date_of_in_request": true
},
"id_role": "f42d0e35-18a3-4c5b-a398-8e238d9c59c4",
"is_editor": true,
"first_name": "sample string 6",
"last_name": "sample string 7",
"is_manager": true,
"is_hr": true,
"is_admin": true,
"image_id": "e9b3056d-5378-46fa-8d24-11d3a1357bb8",
"email": "sample string 11",
"phone": "sample string 12",
"web_popup_ids": "sample string 13",
"birthdate": "2026-02-27T03:42:42Z",
"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>2026-02-27T04:42:42.3561733+01:00</birthdate>
<deleted>true</deleted>
<email>sample string 11</email>
<first_name>sample string 6</first_name>
<full_name>sample string 6 sample string 7</full_name>
<id>4b77e77a-0ff4-499e-a368-9ac85e629dae</id>
<id_role>f42d0e35-18a3-4c5b-a398-8e238d9c59c4</id_role>
<image_id>e9b3056d-5378-46fa-8d24-11d3a1357bb8</image_id>
<is_admin>true</is_admin>
<is_delegated>true</is_delegated>
<is_editor>true</is_editor>
<is_hr>true</is_hr>
<is_manager>true</is_manager>
<last_name>sample string 7</last_name>
<phone>sample string 12</phone>
<state_id>1</state_id>
<view_info>
<id>141fe6bf-eb65-4d8c-9e27-9aef0f6dbc42</id>
<show_date_of_in_request>true</show_date_of_in_request>
</view_info>
<web_popup_ids>sample string 13</web_popup_ids>
</UserInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserLogged| Name | Description | Type | Additional 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": "2026-02-27T03:42:42Z",
"ip": "sample string 4",
"group_id": 1,
"group_role": 1,
"full_name": "sample string 16 sample string 15",
"id": "d0ee90ae-6e91-48c8-a77e-3905e95206ff",
"image_id": "0c8f1cb8-7670-4be6-afb5-e10b47366581",
"id_user_work_position": "55a883b7-3add-4f6f-8d83-f6ec7b1a1bf9",
"id_shift": "db242dc4-9479-4179-8051-ae07ea7d4431",
"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>d0ee90ae-6e91-48c8-a77e-3905e95206ff</id> <id_shift>db242dc4-9479-4179-8051-ae07ea7d4431</id_shift> <id_user_work_position>55a883b7-3add-4f6f-8d83-f6ec7b1a1bf9</id_user_work_position> <image_id>0c8f1cb8-7670-4be6-afb5-e10b47366581</image_id> <introduction>sample string 14</introduction> <last_name>sample string 16</last_name> <title>sample string 13</title> <DateOfLastActivity>2026-02-27T04:42:42.3717626+01:00</DateOfLastActivity> <GroupId>1</GroupId> <GroupRole>1</GroupRole> <IP>sample string 4</IP> <Role>1</Role> <Token>sample string 2</Token> </UserLogged>