Webservices - List of Open Orders

The webservice is used to retrieve data for one or open orders..

 

 
REQUEST

{

   "Proxy": {   

      "Function":"HeliosWs",

      "HostName":"xxxxx",

      "UserName":"yyyyy",

      "Password":"zzzzz",

      "ReportName":"webservice"

   },

   

   "AuthenticationType":"SYSTEM",

   "UserName":"16984205",

   "Password":"8G56A2NrB",

   "Function":"GetOpenOrderList",

   "FromOrderNo":"",

   "ToOrderNo":"",

   "FromOrderDate":"",

   "ToOrderDate":"",

   "CustomerNo":"44570088"

}

 

 
RESPONSE

{

   "OrderList": [   {

      "OrderNo": 37634,

      "OrderDate": "2018-10-10T00:00:00Z",

      "Salesman": "",

      "CustomerNo": "44570088",

      "CustomerName": "RST ApS",

      "CustomerName2": "",

      "CustomerAddress": "Tølløsevej 47",

      "CustomerPostCode": "2700",

      "CustomerCity": "Brønshøj",

      "CustomerMobile": "",

      "CustomerEmail": "info@rst.dk",

      "CustomerGroup": "",

      "CustomerProject": "",

      "CustomerDepartment": "",

      "CustomerPriceGroup": "",

      "DeliveryDate": "0000-00-00T00:00:00Z",

      "DeliveryName": "",

      "DeliveryName2": "",

      "VehicleBasisNo": 9386,

      "VehicleRegNo": "DG23969",

      "VehicleMake": "HYUNDAI",

      "VehicleModel": "I20",

      "VehicleYear": "2011",

      "VehicleMileage": "",

      "SalespriceGross": 1000,

      "Discount": 0,

      "DiscountPct": 0,

      "SalespriceExVat": 1000,

      "Excess": 0,

      "SalesVat": 250,

      "SalespriceIncVat": 1250,

      "Currency": "DKK"

   }],

   "WebserviceInfo":    {

      "Name": "HELIOSWEBSERVICE",

      "Version": 1,

      "Build": 2001

   },

   "AuthenticationType": "SYSTEM",

   "ErrorCode": 0,

   "ErrorText": "",

   "Success": true,

   "Proxy": {

      "AgentName": "WSPROXY",

      "AgentVersion": "1.50.1122",

      "AgentCopyright": "Copyright (C) 2017-2018 Torben Ring. All rights reserved.",

      "ErrorCode": 0,

      "Success": true

   }

}

 

 
COMMENTS

  • If FromOrerNo is empty, it will be set to 1.
  • If ToOrderNo is empty, it will be set to the same value as Max. OrderNo.
  • If CustomerNo is entered in the request only open orders for this customer will be shown..