Import history - celdotro/marketplace GitHub Wiki
- Returns data about import history
celmarket\Admin\AdminHistory
getImportHistory
- method: admininfo
- action: getImportHistory
(all parameters are optional)
- date_start = start date
- date_stop = end date
- import_type = import type
- page = page number (default 0)
An object with the following attributes
- imports = array containing the history of imports
- (array element) = data about an import
- id = import's ID
- data_import = import's date
- tip_import = import's type
- fisier = imported file
- status = import's status
- rezultate_import = import's results
- (array element) = data about an import
- total = total number of imports
https://github.com/celdotro/marketplace_examples/blob/master/Admin/3.getImportHistory.php
{
"request": {
"date_start": "01-01-2018",
"date_stop": "01-01-2018",
"import_type": 1,
"page": 0
},
"response": {
"imports": [
"id": 1,
"data_import": "01-01-2018",
"tip_import": 1,
"fisier": "x",
"status": 1,
"rezultate_import": "x"
],
"total": 1
}
}