Maakt een nieuwe klantbestelling aan.
Apps, Webshop-koppelingen, externe applicaties
http[s]://<url>:<poort>/odapi/rest/TMethods/preliminaryCustomerOrder/[key]
Geen
{
"data": {
"preliminaryCustomerOrder": {
"number": "",
"date": "20200212",
"dateString": "Woensdag 12 februari",
"discounts": true,
"autoProcess": false,
"subject": "Testbestelling",
"customerOrderNumber": "55555",
"customerOrderDescription": "",
"delivery": {
"method": "",
"date": "20200221"
},
"payment": {
"method": "",
"period": 0
},
"text": "Opmerkingen\nLaatste regel",
"orderStatus": {
"id": 0,
"name": "Geen",
"expired": false
},
"orderProcessingStatus": {
"id": 3,
"name": "Wordt bewerkt",
"processed": false
},
"relation": {
"number": "25979",
"email": {
"address": ""
}
},
"address": {
"id": 1,
"name": "Sillekens Driessens BV",
"street": "Burghofweg 3",
"postalCode": "6043 EC",
"city": "Echt",
"countryCode": "NL",
"telephone": "(0495) 31 18 99"
},
"employee": {
"name": ""
},
"contact": {
"name": "Piet Sillekens"
},
"machine": {
"number": "",
"kind": "",
"brand": "",
"type": "",
"serialNumber": "",
"externalNumber": "",
"constructionYear": "",
"description": ""
},
"totalExcludingVat": 6868.25,
"lines": [
{
"line": {
"id": 1,
"quantity": 1,
"unitPrice": 6295,
"discount": " netto",
"discountPercentage": 0,
"deliveryDate": "18991230",
"salesInfo": "",
"productConfiguration": {
"code": "",
"index": 0,
"id": 0
},
"product": {
"code": "100-010",
"description": "Order-Direct - Standaarduitvoering 10-user",
"salesPriceUnit": 0,
"baseUnit": {
"productUnit": {
"id": 0
}
}
},
"total": 6295
}
},
{
"line": {
"id": 2,
"quantity": 1,
"unitPrice": 349,
"discount": " netto",
"discountPercentage": 0,
"deliveryDate": "18991230",
"salesInfo": "",
"productConfiguration": {
"code": "",
"index": 0,
"id": 0
},
"product": {
"code": "100-050",
"description": "Order-Direct - Module WEB-applicatie - Relatiebeheer basis",
"salesPriceUnit": 1,
"baseUnit": {
"productUnit": {
"id": 0
}
}
},
"total": 349
}
},
{
"line": {
"id": 3,
"quantity": 5,
"unitPrice": 44.85,
"discount": " netto",
"discountPercentage": 0,
"deliveryDate": "18991230",
"salesInfo": "",
"productConfiguration": {
"code": "",
"index": 0,
"id": 0
},
"product": {
"code": "200-100",
"description": "Servicecontract 15% van de configuratiewaarde per jaar",
"salesPriceUnit": 1,
"baseUnit": {
"productUnit": {
"id": 0
}
}
},
"total": 224.25
}
}
]
}
}
}