get http://testapi.worldbox.ch/v1/order/?datefrom=20141201&dateto=20141210
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 100 orders ordered by date descending.
$.get('https://api.worldbox.ch/v1/order/?datefrom=20141201&dateto=20141203', function(data) {
console.log(data);
});
Results
[
{
"ordernumber": 1108607405,
"orderitems": [
{
"company": "Ascom (Schweiz) AG",
"reference": 123456,
"name": "Credit Report online",
"language": "DE",
"format": "PDF",
"datecreated": "2014-09-03T18:14:50Z",
"statuscode": 6,
"status": "available",
"productcode": "DLF150",
"itemnumber": "1409B0055"
},
{
"company": "Ascom (Schweiz) AG",
"reference": 123456,
"name": "Financial Report online",
"language": "DE",
"format": "PDF",
"datecreated": "2014-09-03T18:14:59Z",
"statuscode": 6,
"status": "available",
"productcode": "DLF110",
"itemnumber": "1409B0056"
}
],
"date": "2014-09-03T18:14:04Z"
},
{
"ordernumber": 9501322002,
"orderitems": [
{
"company": "Apple Inc.",
"reference": "",
"name": "Company Report online",
"language": "EN",
"format": "PDF",
"datecreated": "2014-09-03T14:31:49Z",
"statuscode": 7,
"status": "delivered",
"productcode": "DLF150",
"itemnumber": "1409B0053"
}
],
"date": "2014-09-03T14:31:31Z"
}
]