crm.company.details.configuration.get
The method gets configuration for company details. Leads personal configuration for selected user details or general configuration, specified for all users.
Parameters
Parameter | Description | Available from version |
---|---|---|
scope | Configuration scope of application. Available values:
| |
userId | User ID. Indicates current ID if not set. Only required when getting personal configuration. |
Example
//-- //Get personal configuration for company details for user with identifier 1. BX24.callMethod( "crm.company.details.configuration.get", { scope: "P", userId: 1 }, function(result) { if(result.error()) console.error(result.error()); else console.dir(result.data()); } ); //Get general configuration for company details. BX24.callMethod( "crm.company.details.configuration.get", { scope: "C" }, function(result) { if(result.error()) console.error(result.error()); else console.dir(result.data()); } ); //---
© «Bitrix24», 2001-2024