Documentation

entity.get

Gets storage parameters or list of all application storages.

Parameters

Parameter Description
ENTITY String ID of required storage.

Examples

BX24.callMethod('entity.get');

Request

https://my.bitrix24.com/rest/entity.get.json?auth=59efe32d01c0e9dc5732e8dfa68a4baa
Response

{"result":[{"ENTITY":"dish","NAME":"Dishes"},{"ENTITY":"menu","NAME":"Menu"}]}

Example of correct retrieval of the list of all accessible storages:

BX24.callMethod(
         "entity.get", 
         {},
         function(result)
         {
            if(result.error())
               console.error(result.error());
            else
            {
               console.info("List of created storages:", result.data());
            }
         }
      );


© «Bitrix24», 2001-2024