get http://testapi.worldbox.ch/v1/monitoring/?datefrom=20170703&dateto=20170713
Query the orders and get an array of orders according to the filter parameter.
Note: if no date range is provided all orders will be returned to a maximum limit of 300 orders.
$.get('https://api.worldbox.ch/v1/monitoring/?datefrom=20141201&dateto=20141203', function(data) {
console.log(data);
});
Results:
[
{
"reports": {
"language": "EN",
"company": "Worldbox AG",
"itemnumber": "1707B0113",
"estimated production time": "5 days",
"reference": "Your referencenumber",
"status": "processing",
"datecreated": "2017-07-13T13:42:18Z",
"statuscode": 3,
"name": "Credit/Investigation report normal (offline)",
"comment": "",
"productcode": "REO110",
"format": "XML"
},
"monitoring": {
"enddate": "2018-07-13T13:42:17Z",
"startdate": "2017-07-13T13:42:17Z",
"intervals": 3,
"code": "REM593",
"charge": "CHF 93.95",
"ordernumber": "6788392624"
}
},
{
"reports": [
{
"language": "EN",
"company": "Worldbox AG",
"itemnumber": "1602B5118",
"reference": "Your referencenumber",
"status": "available",
"datecreated": "2016-11-15T13:42:40Z",
"statuscode": 3,
"name": "Credit/Investigation report normal (offline)",
"comment": "",
"productcode": "REO110",
"format": "XML",
"binary": "JVBERi0xLjUNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFuZyhkZS1DSCkgL1N0cnVjdFRyZWVSb290IDIxIDAgUi9NYXJrSW5mbzw8L01hcmtlZCB0cnVlPj4+Pg0KZW5kb2J..."
},
{
"language": "EN",
"company": "Worldbox AG",
"itemnumber": "1707B0113",
"reference": "Your referencenumber",
"status": "available",
"datecreated": "2017-03-14T13:42:40Z",
"statuscode": 3,
"name": "Credit/Investigation report normal (offline)",
"comment": "",
"productcode": "REO110",
"format": "XML",
"binary": "JVBERi0xLjUNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFuZyhkZS1DSCkgL1N0cnVjdFRyZWVSb290IDIxIDAgUi9NYXJrSW5mbzw8L01hcmtlZCB0cnVlPj4+Pg0KZW5kb2J..."
},
{
"language": "EN",
"company": "Worldbox AG",
"itemnumber": "1707B0122",
"estimated production time": "5 days",
"reference": "Your referencenumber",
"status": "processing",
"datecreated": "2017-07-17T09:12:10Z",
"statuscode": 3,
"name": "Credit/Investigation report normal (offline)",
"comment": "",
"productcode": "REO110",
"format": "XML"
}
],
"monitoring": {
"enddate": "2018-07-13T13:20:09Z",
"startdate": "2017-07-13T13:20:09Z",
"intervals": 3,
"code": "REM593",
"charge": "CHF 93.95",
"ordernumber": "8582335846"
}
}
]