mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-01-24 05:36:29 +02:00
1.1 KiB
1.1 KiB
sidebar_position |
---|
6 |
Get deal structure
Gets a structure with field descriptions for creating a deal
Function GetDealStructure(Val URL, Val Token = "") Export
Parameter | CLI option | Type | Description |
---|---|---|---|
URL | --url | String | URL of webhook or a Bitrix24 domain, when token used |
Token | --token | String | Access token, when app auth method used |
Returns: Map Of KeyAndValue - serialized JSON of answer from Bitrix24 API
:::tip
Method at API documentation: crm.deal.fields
:::
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
Result = OPI_Bitrix24.GetDealStructure(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "6476c766006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetDealStructure(URL, Token);
oint bitrix24 GetDealStructure --url "b24-ar17wx.bitrix24.by" --token "6476c766006e9f06006b12e400000001000..."