Geeft de gegevens van een reparatiebon aan de hand van het reparatiebonnummer.
http[s]://<url>:<poort>/odapi/rest/TMethods/workOrder/[key]/103447/json
Geen
{
"data": {
"work order": {
"number": "103447",
"date": "20170330",
"dateString": "Donderdag 30 maart 2017",
"totalExcludingVat": 52.5,
"totalIncludingVat": 0,
"amountsExcludingVat": false,
"discountColumn": false,
"salesOpportunityNumber": "",
"priceTypeId": 0,
"applicationDate": "20170330",
"applicationTime": "11:00",
"applicationDateString": "Donderdag 30 maart 2017, 11:00",
"subject": "Alledrie speakers tegelijkertijd gestopt. Een speaker reeds geruild door Alexander.",
"applicationNumber": "Opzetten testomgeving ",
"executionDate": "20170330",
"plannedExecutionTime": "11:00",
"plannedExecutionDuration": "01:00",
"executionDateString": "Donderdag 30 maart 2017, 11:00",
"executionTime": "11:00",
"executionDuration": "11:00",
"executionIntermission": "00:00",
"completionDate": "20170330",
"quote": false,
"repairStatus": {
"id": 0,
"title": "Reparatiestatus",
"name": ""
},
"finished": false,
"completed": false,
"repairCategory": {
"id": 0,
"name": "Ondersteuning",
"invoicing": true
},
"repairResult": {
"id": 0,
"name": "Reparatie"
},
"status": {
"index": 4,
"name": "Wordt uitgevoerd"
},
"mileage": 0,
"descriptionText": "Alledrie speakers tegelijkertijd gestopt. Een speaker reeds geruild door Alexander.\r\n",
"customerText": "",
"mechanicText": "",
"mechanic": {
"id": 1,
"name": "Reinoud Berg"
},
"department": {
"index": 1,
"code": "O",
"name": "Order-Direct"
},
"employee": {
"id": 1,
"name": "Reinoud Berg"
},
"branch": {
"id": 0,
"code": "ALM",
"name": "Magazijn"
},
"relation": {
"number": "25536",
"shortName": "Prima VOF",
"vatNumber": "",
"domesticVatNumber": "",
"cocNumber": "51694336",
"homepage": "www.primavof.nl",
"relationship": {
"types": [
"customer"
],
"customerDepartments": [
{
"department": {
"index": 1,
"code": "O",
"name": "Order-Direct"
}
},
{
"department": {
"index": 2,
"code": "M",
"name": "Mail"
}
}
]
},
"currency": {
"id": 1,
"name": "EUR"
},
"language": {
"id": 1,
"code": "nl",
"name": "Nederlands"
},
"region": {
"id": 0,
"name": "geen",
"representative": "",
"mechanic": ""
},
"email": {
"address": "mail@primavof.nl",
"html": true,
"synchronize": true,
"folderMask": "",
"addressMask": "",
"store": true,
"mailCategory": {
"id": 0,
"name": "",
"completed": false
}
},
"customerPayments": {
"method": "",
"period": 14,
"paymentCondition": 0,
"deferredDiscount": 0
},
"collectionOrders": {
"period": 14,
"type": 1,
"typeName": "Algemeen",
"characteristic": "",
"signed": "20091101",
"signedString": "Zondag 1 november 2009",
"first": true
},
"priceAgreements": {
"apply": true,
"synchronize": false
},
"priceType": {
"id": 0,
"name": "Verkoopadviesprijs"
},
"active": true,
"customerProductNumers": false,
"columnPricesOrders": true,
"columnPrices": false,
"columnDiscounts": false,
"columnDiscountsInvoice": false,
"reminders": {
"sendByEmail": true,
"useEmailAddress": false,
"sendToAccountsPayable": true,
"sendToInvoiceContact": false,
"email": {
"address": ""
}
},
"employee": {
"name": "Johan van de Broek"
},
"created": "20101022",
"modified": "20200107",
"logoAttachmentIndex": 0,
"addresses": [
{
"address": {
"owner": "relation",
"number": "25536",
"id": 1,
"index": 1,
"externalId": "",
"description": "Standaard adres",
"type": "office",
"name": "Prima VOF",
"name2": "",
"street": "Kiespijn 1",
"street2": "",
"postalCode": "6662 ZE",
"city": "Lekkerkerk",
"state": "",
"countryCode": "NL",
"countryName": "Nederland",
"telephone": "(085) 007 22 44",
"speedDial": "",
"fax": "",
"mobile": "",
"speedDialMobile": "",
"kix": "6662ZE1",
"ean": "",
"latitude": 51.3501904,
"longitude": 5.4335709
}
},
{
"address": {
"owner": "relation",
"number": "25536",
"id": 2,
"index": 2,
"externalId": "",
"description": "Factuuradres",
"type": "office",
"name": "Prima VOF",
"name2": "",
"street": "Kiespijn 1",
"street2": "",
"postalCode": "6662 ZE",
"city": "Lekkerkerk",
"state": "",
"countryCode": "NL",
"countryName": "Nederland",
"telephone": "(085) 007 22 44",
"speedDial": "",
"fax": "",
"mobile": "",
"speedDialMobile": "",
"kix": "6662ZE1",
"ean": "",
"latitude": 51.3501904,
"longitude": 5.4335709
}
},
{
"address": {
"owner": "relation",
"number": "25536",
"id": 3,
"index": 3,
"externalId": "",
"description": "Bestandenset 2",
"type": "office",
"name": "Comfydent",
"name2": "",
"street": "Abdis Oranginastraat 4",
"street2": "",
"postalCode": "6240 VC",
"city": "Heerlen",
"state": "",
"countryCode": "NL",
"countryName": "Nederland",
"telephone": "",
"speedDial": "",
"fax": "",
"mobile": "",
"speedDialMobile": "",
"kix": "6240VC4",
"ean": "",
"latitude": 51.1812207,
"longitude": 5.9722888
}
}
]
},
"address": {
"owner": "relation",
"number": "25536",
"id": 1,
"index": 1,
"externalId": "",
"description": "Standaard adres",
"type": "office",
"name": "Prima VOF",
"name2": "",
"street": "Kiespijn 1",
"street2": "",
"postalCode": "6662 ZE",
"city": "Lekkerkerk",
"state": "",
"countryCode": "NL",
"countryName": "Nederland",
"telephone": "(085) 007 22 44",
"speedDial": "",
"fax": "",
"mobile": "",
"speedDialMobile": "",
"kix": "6662ZE1",
"ean": "",
"latitude": 51.3521904,
"longitude": 5.4135209
},
"machine": {
"number": "101354",
"date": "20110107",
"dateString": "Vrijdag 7 januari 2011",
"totalExcludingVat": 0,
"totalIncludingVat": 0,
"kind": "Order-Direct 11",
"brand": "",
"type": "Standaardversie",
"serialNumber": "",
"externalNumber": "",
"constructionYear": "",
"description": "",
"status": {
"id": 1,
"name": "In gebruik",
"completed": false
},
"compoundDescription": "Order-Direct 11 Standaardversie - Licentie",
"department": {
"index": 1,
"code": "O",
"name": "Order-Direct"
},
"employee": {
"id": 17,
"name": "Kim Kwabena Mfum"
},
"branch": {
"id": 0,
"code": "ALM",
"name": "Magazijn"
}
},
"applicant": {
"name": "Ruud Brood"
},
"lines": [
{
"line": {
"id": 1,
"quantity": 0.5,
"product": {
"code": "999-900",
"description": "Arbeidsloon consultancy"
}
}
}
]
}
}
}