﻿---
sidebar_position: 7
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Get user fields structure
 Gets the field structure for creating or modifying user information



`Function GetUserFieldsStructure(Val URL, Val Token = "") Export`

  | Parameter | CLI option | Type | Required | Description |
  |-|-|-|-|-|
  | URL | --url | String | &#x2714; | URL of webhook or a Bitrix24 domain, when token used |
  | Token | --token | String | &#x2716; | Access token, when app auth method used |

  
  Returns:  Map Of KeyAndValue - serialized JSON of answer from Bitrix24 API

<br/>

:::tip
Method at API documentation: [user.fields](https://dev.1c-bitrix.ru/rest_help/users/user_fields.php)
:::
<br/>


```bsl title="1C:Enterprise/OneScript code example"
    URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";

    Result = OPI_Bitrix24.GetUserFieldsStructure(URL);

    URL   = "b24-ar17wx.bitrix24.by";
    Token = "67ac1467006e9f06006b12e400000001000...";

    Result = OPI_Bitrix24.GetUserFieldsStructure(URL, Token);
```
 



```json title="Result"
{
 "result": {
  "ID": "ID",
  "XML_ID": "Внешний код",
  "ACTIVE": "Активность",
  "NAME": "Имя",
  "LAST_NAME": "Фамилия",
  "SECOND_NAME": "Отчество",
  "TITLE": "Список пользователей",
  "EMAIL": "E-Mail",
  "LAST_LOGIN": "Последняя авторизация",
  "DATE_REGISTER": "Дата регистрации",
  "TIME_ZONE": "TIME_ZONE",
  "IS_ONLINE": "IS_ONLINE",
  "TIME_ZONE_OFFSET": "TIME_ZONE_OFFSET",
  "TIMESTAMP_X": "TIMESTAMP_X",
  "LAST_ACTIVITY_DATE": "LAST_ACTIVITY_DATE",
  "PERSONAL_GENDER": "Пол",
  "PERSONAL_PROFESSION": "Профессия",
  "PERSONAL_WWW": "Домашняя страничка",
  "PERSONAL_BIRTHDAY": "Дата рождения",
  "PERSONAL_PHOTO": "Фотография",
  "PERSONAL_ICQ": "ICQ",
  "PERSONAL_PHONE": "Личный телефон",
  "PERSONAL_FAX": "Факс",
  "PERSONAL_MOBILE": "Личный мобильный",
  "PERSONAL_PAGER": "Пейджер",
  "PERSONAL_STREET": "Улица проживания",
  "PERSONAL_CITY": "Город проживания",
  "PERSONAL_STATE": "Область / край",
  "PERSONAL_ZIP": "Почтовый индекс",
  "PERSONAL_COUNTRY": "Страна",
  "PERSONAL_MAILBOX": "Почтовый ящик",
  "PERSONAL_NOTES": "Дополнительные заметки",
  "WORK_PHONE": "Телефон компании",
  "WORK_COMPANY": "Компания",
  "WORK_POSITION": "Должность",
  "WORK_DEPARTMENT": "Отдел",
  "WORK_WWW": "Сайт компании",
  "WORK_FAX": "WORK_FAX",
  "WORK_PAGER": "WORK_PAGER",
  "WORK_STREET": "WORK_STREET",
  "WORK_MAILBOX": "WORK_MAILBOX",
  "WORK_CITY": "Город работы",
  "WORK_STATE": "WORK_STATE",
  "WORK_ZIP": "WORK_ZIP",
  "WORK_COUNTRY": "WORK_COUNTRY",
  "WORK_PROFILE": "WORK_PROFILE",
  "WORK_LOGO": "WORK_LOGO",
  "WORK_NOTES": "WORK_NOTES",
  "UF_SKYPE_LINK": "Ссылка на чат в Skype",
  "UF_ZOOM": "Zoom",
  "UF_EMPLOYMENT_DATE": "Дата принятия на работу",
  "UF_TIMEMAN": "Учет рабочего времени",
  "UF_DEPARTMENT": "Подразделения",
  "UF_INTERESTS": "Интересы",
  "UF_SKILLS": "Навыки",
  "UF_WEB_SITES": "Другие сайты",
  "UF_XING": "Xing",
  "UF_LINKEDIN": "LinkedIn",
  "UF_FACEBOOK": "Facebook",
  "UF_TWITTER": "Twitter",
  "UF_SKYPE": "Skype",
  "UF_DISTRICT": "Район",
  "UF_PHONE_INNER": "Внутренний телефон",
  "USER_TYPE": "USER_TYPE"
 },
 "time": {
  "start": 1728454930.84083,
  "finish": 1728454930.86898,
  "duration": 0.0281410217285156,
  "processing": 0.000678062438964844,
  "date_start": "2024-10-09T09:22:10+03:00",
  "date_finish": "2024-10-09T09:22:10+03:00",
  "operating_reset_at": 1728455530,
  "operating": 0
 }
}
```
