A
A
Apostol632019-04-05 10:48:54
Bitrix24
Apostol63, 2019-04-05 10:48:54

How to get the path to the image from Bitrix 24 CRM?

Hello everyone
, I need to get the path to the image that is contained in the transaction from Bitrix 24
When I receive data about the transaction and its fields, all that concerns the image is
[id] => *****
[showUrl] => /bitrix/ components/bitrix/crm.deal.show/show_file.php?ownerId=****&fieldName=UF_CRM_154538313****&dynamic=Y&fileId=******
[downloadUrl] => /bitrix/components/bitrix/crm .deal.show/show_file.php?auth=&ownerId=****&fieldName=UF_CRM_154538313****&dynamic=Y&fileId=******
But in showUrl there is no path to the image
, even there is yourbitrix.bitrix24 at the beginning. Common crawl en
You can view or download a picture if you are authorized.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2019-05-18
@gromdron

You can register the application, get an access_token and add the auth GET parameter with the value of your token to showUrl to get the file :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question