Geeft de gegevens van een online reparatiebon aan de hand van het bonnummer.
http[s]://<url>:<poort>/odapi/rest/TMethods/onlineWorkOrder/[key]/103447/json
Geen
{
"data": {
"onlineWorkOrder": {
"number": "103447",
"name": {
"singular": "Werkbon",
"plural": "Werkbonnen"
},
"date": "20170330",
"dateString": "Donderdag 30 maart 2017",
"discounts": true,
"applicationNumber": "Opzetten testomgeving ",
"repairStatus": {
"id": 3,
"name": "Wachten op onderdelen"
},
"status": {
"index": 4,
"name": "Wordt uitgevoerd"
},
"relation": {
"number": "25536",
"email": {
"address": ""
}
},
"address": {
"id": 1,
"nameCity": "Primat B.V., Dommelen (NL)",
"codeCity": "5551 ZE Dommelen"
},
"employee": {
"name": "Reinoud Berg"
},
"contact": {
"name": "Ruud Botman"
},
"machine": {
"number": "101354",
"kind": "Order-Direct 11",
"brand": "",
"type": "Standaardversie",
"serialNumber": "",
"externalNumber": "",
"constructionYear": "",
"description": ""
},
"totalExcludingVat": 52.5,
"lines": [
{
"line": {
"id": 1,
"quantity": 0.5,
"unitPrice": 105,
"discount": " netto",
"discountPercentage": 0,
"unitPriceString": "€ 105,00 netto",
"deliveryDate": "18991230",
"salesInfo": "",
"productConfiguration": {
"code": "",
"index": 0,
"id": 0
},
"product": {
"code": "999-900",
"description": "Arbeidsloon consultancy",
"salesPriceUnit": 1,
"baseUnit": {
"productUnit": {
"id": 0
}
},
"imageUrl": ""
},
"total": 52.5
}
}
]
}
}
}