Documentation

crm.deal.get

Scope: crm Permissions: for all

crm.deal.get(id)

Returns a deal by the deal ID.

Parameters

Parameter Description
id Specifies the deal ID.

Example

<script type="text/javascript">
	var id = prompt("Enter the deal ID");
		BX24.callMethod(
			"crm.deal.get", 
			{ id: id }, 
			function(result) 
			{
				if(result.error())
					console.error(result.error());
				else
					console.dir(result.data());
			}
		);	


© «Bitrix24», 2001-2024