Izvoz glav naročil. Brez dodatnih parametrov se izvozi zadnjih 10 novih naročil.
Odgovor:
[ { "documentID": 10060, "documentName": "2016\/9", "documentDate": "2016-06-06 12:50:26", "deliveryNoteID": null, "supplierName": "DOBAVITELJ 1234", "supplierVATID": "SI12345678", "deliveryDate": "2016-06-07", "orderValue": "10.51840000", "orderItemCount": 1, "flags": [] }, ... ]
Izvoz posameznega naročila.
Odgovor:
{ "documentID": 10060, "documentName": "2016\/9", "documentDate": "2016-06-06 12:50:26", "deliveryNoteID": null, "supplierName": "Dobavitelj 1234", "supplierVATID": "SI12345678", "deliveryDate": "2016-06-07", "flags": [], "supplierAddress": "NAVADNA ULICA 15", "supplierZipCode": "1000", "supplierCity": "LJUBLJANA", "supplierOrderNotes": "", "items": [ { "eanCode": "1234567890123", "code": "1234", "productName": "BELA \u0160TRUCA 1,00 KG", "unit": "KOS", "amount": "5", "salesGrossPrice": "0.82366666", "discountPercentage": "10", "netPrice": "0.7413", "taxPercentage": "9.5", "salesTaxPercentage": null }, { "eanCode": null, "code": "5678", "productName": "POLBELA \u0160TRUCA 1,00 KG", "unit": "KOS", "amount": "5", "salesGrossPrice": "0.87844444", "discountPercentage": "10", "netPrice": "0.7906", "taxPercentage": "9.5", "salesTaxPercentage": null }, ... ] }
Nastavi ali doda oznake naročil.
Odgovor:
{ "documentID": 10060, "flags": ["read", "processed"] }