Documentation

crm.deal.get

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());
			}
		);	


© «Bitrix Inc.», 2001-2017, «Bitrix Inc.», 2017