Import
Scope: catalog Permissions to execute: for all
Import via REST supports all the main CRM entities (type identifiers can be found here):
- Leads
- Deals
- Contacts
- Companies
- Estimates
- New invoices
- SPAs
There are two methods available for import:
crm.item.import
- single entry importcrm.item.batchImport
- entry group import
Adding elements via import, contrary to adding using crm.*.add
, has the following individual specifics:
- Access permissions are checked for import and not for adding the elements
- Workflows and automation rules won't be launched at the added element
- When executing by account administrator, there is an option to set values for some of system fields:
FIeld Description createdTime Date and time of created entry updatedTime Date and time entry updated movedTime Date and time stage updated (when entity supports stages) createdBy User who created an entry updatedBy User who updated an entry movedBy User who updated the stage (when entity supports stages) These field values have some limits:
- Requires
createdTime
field value monotone increase, i. e. you cannot create entries with date earlier than any previously existing entries. createdTime
andupdatedTime
cannot have future timeupdatedTime
cannot be earlier thancreatedTime
movedTime
must be within range betweencreatedTime
andupdatedTime
- Requires
© «Bitrix24», 2001-2024