G
G
Galdar Turin2020-06-09 17:24:52
Bitrix24
Galdar Turin, 2020-06-09 17:24:52

How to display company and employee structure data?

I want to display company structure data

The structure of the company
5edf9b313be6b595936381.png


But I can’t find in the REST API where such a possibility is described ...
Google doesn’t really help either, maybe I don’t google like that))

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Galdar Turin, 2020-06-10
@Galdar

BX24.callMethod('user.get', {sort:'ID',order:'ASC'}, ( result: any ) => {
      if( result.error() )
      {
        console.error('Request error: ' + result.error());
      }
      else
      {
        console.log(result.data());

        if (result.more())
          result.next();
      }
    })

Y
Yuri Paimurzin, 2020-06-10
@rusellsystems

Methods of working with departments
https://dev.1c-bitrix.ru/rest_help/departments/ind...
Working with users
https://dev.1c-bitrix.ru/rest_help/users/index.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question