Can somebody help me.
I try to load following json into XIBO
(this is the result I copy from XIBO when he reads the json file)
{
"entries": [
{
"status": 200,
"message": "success",
"data": {
"total": 178,
"employees": [
{
"id": "183",
"nummer": "_0304044074",
"tag": "",
"voornaam": "FirstName",
"tussenvoegsel": "MiddleName",
"achternaam": "LastName",
"email": "xxxxxx@sample.com",
"sms": "+31600000000",
"telefoon": "+31600000000",
"status": "out",
"department_id": "14",
"BHV": "false"
},
{
"id": "1",
"nummer": "_0324979963",
"tag": "",
"voornaam": "FirstName",
"tussenvoegsel": "MiddleName",
"achternaam": "LastName",
"email": "xxxxxx@sample.com",
"sms": "+31600000000",
"telefoon": "+31600000000",
"status": "out",
"department_id": "14",
"BHV": "false"
},
{
"id": "174",
"nummer": "_0464885984",
"tag": "",
"voornaam": "FirstName",
"tussenvoegsel": "MiddleName",
"achternaam": "LastName",
"email": "xxxxxx@sample.com",
"sms": "+31600000000",
"telefoon": "+31600000000",
"status": "out",
"department_id": "14",
"BHV": "false"
},
{
"id": "3",
"nummer": "_0471210092",
"tag": "BHV=1",
"voornaam": "FirstName",
"tussenvoegsel": "MiddleName",
"achternaam": "LastName",
"email": "xxxxxx@sample.com",
"sms": "+31600000000",
"telefoon": "+31600000000",
"status": "out",
"department_id": "14",
"BHV": "false"
}
]
}
}
],
"number": 1,
"processed": [
[
[],
[]
]
],
"messages": [
"Processing 1 results into 4 potential columns",
"Processing Result with Data Root data",
"DataRoot is an object",
"Processing as Multiple Rows",
"Processing total",
"Processing employees",
"Consolidating entries",
"There are 2 entries in total"
]
}
I’ve validated this data with https://jsonlint.com/ and it passes.
If i do not fill in a data root the json file is fetched, and read.
The part I need is the “employees” part. If I fill in employees as data root
The error is “No data found at the DataRoot employees”.
If the json is valid, what do I do wrong?
XIBO version
Xibo Digital Signage - www.xibo.org.uk. Version 2.3.17