Getting all orders from a fair available in FoodMaster and create and update possibilities.
GET/BeursOrder
xxxxxxxxxxCREATE/BeursOrder
xxxxxxxxxxUPDATE/BeursOrder
dossiernr = company within FoodMaster
id_beursh = ID from the fair within FoodMaster
klant-nr = ID from the customer within FoodMaster
x{"dsBeursOrder": {"ttBeursOrder_HFD": [{"dossiernr": 1, // Company within FoodMaster"id_beursh": 37883, // Fair id within FoodMaster"klant-nr": 1, // Customer id within FoodMaster"punten_effectief": 55, // Points only delivered products - Automatic calculated"punten_theoretisch": 65, // Points including products ordered but not yet delivered - Automatic calculated"CRUD": "R", // CRUD"ttBeursOrder_DET": [ // All order details from the fair{"dossiernr": 1, // Company within FoodMaster"id_beursh": 37883, // Fair id within FoodMaster"klant-nr": 1, // Customer id within FoodMaster"volgnmmr": 1, // Sequence number"artikel-bc": "95411399800368", // Article barcode"artikelsrt": 0, // Article kind"artikelnr": "A7845", // Article ID"cd_beenheid": "KG", // Order unit code"atl_eenh_vkp": 1, // Quantity per unit"stuks_bst": 1.2, // Quantity ordered"kg_bst": 1.2, // Kilograms ordered"stuks_gel": 1.2, // Units delivered"prijs": 1.2, // Price"tp_korting1": 1, // Discount type"ln_korting1": 1.1, // Discount"commentaar": "", // Comment"lev_artikelnr": "SPKR021V", // Default supplier (article)"id_fprijskl": 1, // ID Price discount customers"rsv": "", //"ratio": "", //"dRecid": 1, // RECID fair detail"punten_effectief": 2, // Total points for delivered articles - Automatic calculated"punten_theoretisch": 3, // Total points for ordered articles (delivered and not yet delivered) - Automatic calculated"fractienr_beursbstd": 1 // Invoice number fair order},...],}]}}
Returns the orders from the fair.
See following example:
xxxxxxxxxx{"dsBeursOrder": {"ttBeursOrder_HFD": [{"dossiernr": 1, // Company within FoodMaster"id_beursh": 37883, // Fair id within FoodMaster"klant-nr": 1, // Customer id within FoodMaster"punten_effectief": 55, // Points only delivered products"punten_theoretisch": 65, // Points including products ordered but not yet delivered"CRUD": "R", // CRUD"ttBeursOrder_DET": [ // All order details from the fair{"dossiernr": 1, // Company within FoodMaster"id_beursh": 37883, // Fair id within FoodMaster"klant-nr": 1, // Customer id within FoodMaster"volgnmmr": 1, // Sequence number"artikel-bc": "95411399800368", // Article barcode"artikelsrt": 0, // Article kind"artikelnr": "A7845", // Article ID"cd_beenheid": "KG", // Order unit code"atl_eenh_vkp": 1, // Quantity per unit"stuks_bst": 1.2, // Quantity ordered"kg_bst": 1.2, // Kilograms ordered"stuks_gel": 1.2, // Units delivered"prijs": 1.2, // Price"tp_korting1": 1, // Discount type"ln_korting1": 1.1, // Discount"commentaar": "", // Comment"lev_artikelnr": "SPKR021V", // Default supplier (article)"id_fprijskl": 1, // ID Price discount customers"rsv": "", //"ratio": "", //"dRecid": 1, // RECID fair detail"punten_effectief": 2, // Total points for delivered articles"punten_theoretisch": 3, // Total points for ordered articles (delivered and not yet delivered)"fractienr_beursbstd": 1 // Invoice number fair order},...],}]}}