Geeft de gegevens van een offerte aan de hand van het offertenummer.
http[s]://<url>:<poort>/odapi/rest/TMethods/quotation/[key]/104347/json
Geen
{
"data": {
"quotation": {
"number": "104347",
"date": "20191218",
"dateString": "Woensdag 18 december 2019",
"totalExcludingVat": 401.35,
"totalIncludingVat": 485.63,
"subject": "Prijsopgave",
"request": {
"date": "20191218",
"number": "Telefonisch"
},
"delivery": {
"period": "In overleg"
},
"payment": {
"method": "30 dagen.",
"period": 30
},
"quotationStatus": {
"id": 2,
"name": "Verzonden per e-mail"
},
"successEstimate": 70,
"validityPeriod": true,
"validityPeriodLength": 30,
"print": {
"totals": true,
"lines": true,
"salesInfo": true,
"prices": true,
"text": true,
"signature": true
},
"salesReferences": 2,
"salutation": "Geachte heer Koster,",
"department": {
"index": 1,
"code": "O",
"name": "Order-Direct"
},
"employee": {
"id": 33,
"name": "Marcel Houtakkers"
},
"branch": {
"id": 0,
"code": "ALM",
"name": "Magazijn"
},
"relation": {
"number": "10016",
"shortName": "kuster",
"homepage": "www.willemkoster.nl",
"relationship": {
"types": [
"customer"
],
"customerDepartments": [
{
"department": {
"index": 1,
"code": "O",
"name": "Order-Direct"
}
}
]
},
"currency": {
"id": 1,
"name": "EUR"
},
"language": {
"id": 1,
"code": "nl",
"name": "Nederlands"
},
"region": {
"id": 0,
"name": "geen"
},
"email": {
"address": "info@willemkoster.nl",
"html": true,
"synchronize": true,
"store": true
},
"customerPayments": {
"method": "30 dagen.",
"period": 30
},
"priceAgreements": {
"apply": true
},
"active": true,
"columnPricesOrders": true,
"reminders": {
"sendByEmail": true,
"sendToAccountsPayable": true
},
"employee": {
"name": "Johan van de Broek"
},
"created": "20020320",
"modified": "20191217",
"addresses": [
{
"address": {
"owner": "relation",
"number": "10016",
"id": 1,
"index": 1,
"description": "Standaard adres",
"type": "office",
"name": "Willem Koster Houtbewerkingsmachines",
"street": "Bisschoplaan 7",
"postalCode": "6239 AA",
"city": "Leveroy",
"countryCode": "NL",
"countryName": "Nederland",
"telephone": "(0490) 48 12 76",
"speedDial": "022",
"fax": "(0490) 44 00 71",
"kix": "6239AA7",
"latitude": 51.245942,
"longitude": 5.9075109
}
},
{
"address": {
"owner": "relation",
"number": "10016",
"id": 2,
"index": 2,
"description": "Factuuradres",
"type": "office",
"name": "Willem Koster Houtbewerkingsmachines",
"street": "Bisschoplaan 7",
"postalCode": "6239 AA",
"city": "Leveroy",
"countryCode": "NL",
"countryName": "Nederland",
"telephone": "(0490) 48 12 76",
"speedDial": "022",
"fax": "(0490) 44 00 71",
"kix": "6239AA7",
"latitude": 51.245942,
"longitude": 5.9075109
}
}
]
},
"address": {
"owner": "relation",
"number": "10016",
"id": 1,
"index": 1,
"description": "Standaard adres",
"type": "office",
"name": "Willem Koster Houtbewerkingsmachines",
"street": "Bisschoplaan 7",
"postalCode": "6239 AA",
"city": "Leveroy",
"countryCode": "NL",
"countryName": "Nederland",
"telephone": "(0490) 48 12 76",
"speedDial": "022",
"fax": "(0490) 44 00 71",
"kix": "6239AA7",
"latitude": 51.245942,
"longitude": 5.9075109
},
"attn": {
"name": "Willem Koster"
},
"lines": [
{
"line": {
"remark": "Order-Direct - Aanvullende modules:"
}
},
{
"line": {
"id": 2,
"quantity": 1,
"product": {
"code": "150-060",
"description": "Order-Direct - Module Koppeling met boekhouding"
}
}
},
{
"line": {
"remark": "Order-Direct servicecontract:"
}
},
{
"line": {
"id": 4,
"quantity": 1,
"product": {
"code": "200-000",
"description": "Order-Direct - Servicecontract (per jaar) - Basis"
}
}
}
]
}
}
}