crm.item.payment.list
Scope: catalog Permissions to execute: for all
crm.item.payment.list(entityId: number, entityTypeId: number)
This method gets list of payments.
Parameters
Parameter | Description |
---|---|
entityId | CRM entity ID. |
entityTypeId | CRM entity ID according to CRM constants. |
filter | Fields matching to available list of fields. |
order | Fields matching to available list of fields. |
start | String type. How many first entries to be skipped in the result. Values must be
divisible by
Due to technical restrictions the value of this parameters must always be divisible by 50. For example, in case of 50 the result will show 51st entry and subsequent ones, and the first 50 entries will be skipped.
. In case of -1 counting is disabled. |
Example
BX.rest.callMethod( 'crm.item.payment.list', { entityId: 21, entityTypeId: 2, }, function(result) { if (result.error()) { console.error(result.answer.error_description); } else { console.log(result.data()); } } );
© «Bitrix24», 2001-2024