department.fields
This method gets a list of department field names.
Parameters
Method has no parameters.
Call
BX24.callMethod('department.fields');
Request (xml for clarity of reply)
https://my.bitrix24.com/rest/department.fields.xml?auth=7c9d8f00ea0ddd9e02cab3eb2b3bd0d1
Response
<response> <result> <ID>ID</ID> <NAME>Department name</NAME> <SORT>Sort order</SORT> <PARENT>Parent department</PARENT> <UF_HEAD>Head</UF_HEAD> </result> </response>
© «Bitrix24», 2001-2024