Geeft de gegevens van een bestelbon aan de hand van het bestelbonnummer.
http[s]://<url>:<poort>/odapi/rest/TMethods/purchaseOrder/[key]/105058/json
Geen
{
"data": {
"purchase order": {
"number": "105058",
"date": "20210503",
"totalExcludingVat": 100,
"totalIncludingVat": 0,
"subject": "",
"orderMethod": "",
"delivery": {
"method": "",
"method": "",
"date": "18991230"
},
"pickupDate": "18991230",
"customerOrderNumber": "",
"print": {
"prices": false,
"totalizeCodes": false,
"info": false,
"images": false,
"costs": false,
"remarks": false
},
"purchaseOrderStatus": {
"id": 0,
"name": "geen"
},
"department": {
"index": 1,
"code": "O",
"name": "Power BI"
},
"employee": {
"id": 33,
"name": "Marcel Peeters"
},
"branch": {
"id": 0,
"code": "ALM",
"name": "Alkmaar"
},
"relation": {
"number": "25117",
"shortName": "zuidpool",
"vatNumber": "NL761931640B01",
"domesticVatNumber": "",
"cocNumber": "30162370 Barendrecht",
"eoriNumber": "",
"homepage": "www.zuidpool.nl",
"relationship": {
"types": [
"customer",
"supplier"
],
"customerDepartments": [
{
"department": {
"index": 1,
"code": "O",
"name": "Power BI"
}
}
],
"supplierDepartments": [
{
"department": {
"index": 1,
"code": "O",
"name": "Power BI"
}
}
]
},
"currency": {
"id": 1,
"name": "EUR"
},
"language": {
"id": 1,
"code": "nl",
"name": "Nederlands"
},
"region": {
"id": 0,
"name": "geen",
"representative": "",
"mechanic": ""
},
"email": {
"address": "order@zuidpool.nl",
"html": true,
"synchronize": true,
"folderMask": "",
"addressMask": "",
"store": true,
"mailCategory": {
"id": 0,
"name": "",
"completed": false
}
},
"banking": {
"name": "Rabobank",
"accountNumber": "11.87.11.938",
"accountHolderName": "",
"accountHolderCity": "",
"iban": "",
"bic": "",
"bankLeitZahl": "",
"postalBankAccountNumber": ""
},
"customerPayments": {
"method": "",
"period": 30,
"paymentCondition": 0,
"deferredDiscount": 0
},
"collectionOrders": {
"period": 0,
"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,
"customerDiscountGroup": "C",
"customerProductNumers": true,
"columnPricesOrders": true,
"columnPrices": false,
"columnDiscounts": false,
"columnDiscountsInvoice": false,
"reminders": {
"sendByEmail": false,
"useEmailAddress": false,
"sendToAccountsPayable": true,
"sendToInvoiceContact": false,
"email": {
"address": ""
}
},
"employee": {
"name": "Geert de Vries"
},
"created": "20040302",
"modified": "20211001",
"logoUrl": "",
"addresses": [
{
"address": {
"owner": "relation",
"number": "25117",
"id": 1,
"index": 1,
"externalId": "",
"description": "Standaard adres",
"type": "office",
"name": "Zuidpool VOF",
"name2": "",
"building": "",
"street": "Industrielaan 2",
"street2": "",
"postalCode": "7501 AS",
"city": "Maastricht",
"state": "",
"countryCode": "NL",
"countryName": "Nederland",
"nameCity": "Zuidpool VOF, Maastricht",
"codeCity": "7501 AS Maastricht",
"telephone": "(0475) 67 12 11",
"speedDial": "",
"fax": "(0475) 594266",
"mobile": "",
"speedDialMobile": "",
"kix": "7501AS2",
"ean": "",
"latitude": 52.1275441,
"longitude": 5.0397405
}
},
{
"address": {
"owner": "relation",
"number": "25117",
"id": 2,
"index": 2,
"externalId": "",
"description": "Factuuradres",
"type": "office",
"name": "Zuidpool VOF",
"name2": "",
"building": "",
"street": "Postbus 8901",
"street2": "",
"postalCode": "3600 BM",
"city": "Maastricht",
"state": "",
"countryCode": "NL",
"countryName": "Nederland",
"nameCity": "Zuidpool VOF, Maastricht",
"codeCity": "3600 BM Maastricht",
"telephone": "(0475) 67 12 11",
"speedDial": "",
"fax": "(0475) 594266",
"mobile": "",
"speedDialMobile": "",
"kix": "3600BM8901",
"ean": "",
"latitude": 52.1443818,
"longitude": 5.0355218
}
}
]
},
"address": {
"owner": "relation",
"number": "25117",
"id": 1,
"index": 1,
"externalId": "",
"description": "Standaard adres",
"type": "office",
"name": "Zuidpool VOF",
"name2": "",
"building": "",
"street": "Industrielaan 2",
"street2": "",
"postalCode": "7501 AS",
"city": "Maastricht",
"state": "",
"countryCode": "NL",
"countryName": "Nederland",
"nameCity": "Zuidpool VOF, Maastricht",
"codeCity": "7501 AS Maastricht",
"telephone": "(0475) 67 12 11",
"speedDial": "",
"fax": "(0475) 594266",
"mobile": "",
"speedDialMobile": "",
"kix": "7501AS2",
"ean": "",
"latitude": 52.1275441,
"longitude": 5.0397405
},
"attn": {
"name": "Bestellingen"
},
"lines": [
{
"line": {
"id": 1,
"quantity": 1,
"deliver": false,
"delivered": 0,
"unitPrice": 100,
"total": 100,
"product": {
"code": "520-310",
"description": "Barcodescanner bedraad USB - voorgeprogrammeerd",
"salesPriceUnit": 1
}
}
}
]
}
}
}