crm.item.get
Scope: catalog Permissions to execute: for all
crm.item.get({entityTypeId: number, id: number})
Passes item data with id
for SPA with entityTypeId
.
Parameters
Parameter | Description |
---|---|
entityTypeId | SPA ID. |
id | Item ID. |
Response
{ "item": { "id": 28, "xmlId": "", "title": "Item name", "createdBy": 1, "updatedBy": 1, "movedBy": 1, "createdTime": "2021-03-09T02:00:00+02:00", "updatedTime": "2021-03-29T02:00:00+02:00", "movedTime": "2021-03-25T02:00:00+02:00", "categoryId": 17, "opened": "Y", "stageId": "DT132_17:CLIENT", "previousStageId": "DT132_17:PREPARATION", "begindate": "2021-03-09T02:00:00+02:00", "closedate": "2021-03-16T02:00:00+02:00", "companyId": 36, "contactId": 1, "opportunity": 120, "isManualOpportunity": "N", "taxValue": 20, "currencyId": "USD", "mycompanyId": 7, "sourceId": "RC_GENERATOR", "sourceDescription": "", "assignedById": 2, "ufCrm24_1612951135": 123 } }
Here
xmlId
- item external ID;title
- item name;stageId
- item's current stage ID;previousStageId
- item's previous stage ID;createdBy
- created by ID;updatedBy
- updated by ID;movedBy
- item stage moved by this user ID;createdTime
- item's creation time;updatedTime
- time for item update;movedTime
- item stage update time;categoryId
- SPA category ID;ufCrm...
- custom field values:- multiple field values are passed as an array;
- "file" field type values are passed as list:
id
- identifier;url
- link to file at the account;urlMachine
- link to app file.
© «Bitrix24», 2001-2024