Y
Y
Yan Cherut2021-10-11 06:16:50
Bitrix24
Yan Cherut, 2021-10-11 06:16:50

Is it possible to register a company's TIN through a webhook?

Interested in the possibility of implementing the above incoming webhook through the crm.requisite.add method.
6163b8ff3324e918031611.png
6163b9090d6a3695698727.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2021-10-11
@mattbe

Incorrect parameters are being used.
If you look at the request, it turns out like this: ?ENTITY_TYPE_ID=4&ENTITY_ID=1651
While the method takes only fields as an input argument, and accordingly the request should look like this:
?fields[ENTITY_TYPE_ID]=4&fields[ENTITY_ID]=1651
i.e. . fields[ENTITY_TYPE_ID] should be used as keys

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question