V
V
Vyacheslav Zhgilev2022-02-07 23:19:45
Bitrix24
Vyacheslav Zhgilev, 2022-02-07 23:19:45

How to find out STAGE_ID - stage identifier in the cloud?

Guys, in the STAGE_ID box you can see it through the Control Panel, but how to do it in the cloud?

PS: if only through the REST API I ask for more details, otherwise there is no experience with the API

There is such a code, but I don’t understand where to attach it
https://dev.1c-bitrix.ru/rest_help/crm/stagehistor...


BX24.callMethod(
"crm.stagehistory.list",
{
entityTypeId: 2,
order: { "ID": "ASC" },
filter: { "OWNER_ID": 1 },
select: [ "ID", "STAGE_ID", "CREATED_TIME" ]
},
function(result)
{
if(result.error())
console.error(result.error());
else
{
console.dir(result.data());
if(result.more() )
result.next();
}
}
);

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