G
G
glain2021-09-04 12:36:54
1C-Bitrix
glain, 2021-09-04 12:36:54

How to set the value of the custom field "list" through the simplified Rest API of Bitrix 24?

How to set the value of the custom field "list" through the simplified Rest API of Bitrix 24? The "list" field already contains several values. It is necessary not to write down the value, but to select an existing one.
I tried the following options, they don't work:
$postData = array(
'UF_CRM_1577359488' => 151,
'UF_CRM_1577359488' => '151',
'UF_CRM_1577359488[]' => '151'
);
The value 151 is taken from the inspector for value of one of the list items. This code sets the first item of the list, the rest cannot be set.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question