Documentation

event.offline.get

Scope: catalog Permissions: all

This method returns to the app the first in the offline events queue. Offline methods availability can be verified via the method feature.get.

Method parameters

Parameter Description Type
filter Records filter. By default, all records are passed, without filtration. Filtration by fields is supported: ID,
TIMESTAMP_X,
EVENT_NAME,
MESSAGE_ID
with the standard operation types =, >, <, <= and etc.
array
order Records sorting. Sorting by the same fields, as in the filter is supported. Array type [field=>ASC|DESC] is received on input. By default - [TIMESTAMP_X:ASC]. array
limit Quantity of selected records. By default is 50. int

Additional parameters

Parameter Description
clear Values: 0|1 - option to delete selected records. By default - 1
process_id Process ID. It is used, if it is necessary to repeatedly select records that have not yet been handled by the current process.
error Values: 0|1 - option to return erroneous records (see. below). By default - 0.

This method supports multithreaded parsing. It means, that several parallel requests to /rest/event.offline.get are permitted (with compliance to limitation on the number of requests per unit of time). Each of such records will receive different sets of records.

© «Bitrix24», 2001-2024