Webservices - List of Entries in Misc. Tables

The webservice is used to retrieve data from misc. tables in Helios. Data from the tables is retrieved by simply changing the value of the tag Function.

03 August,2022

 

 
REQUEST

{

   "Proxy": {   

      "Function":"HeliosWs",

      "HostName":"xxxxx",

      "UserName":"yyyyy",

      "Password":"zzzzz",

      "ReportName":"webservice"

   },

 

   "AuthenticationType":"SYSTEM",

   "UserName":"16984205",

   "Password":"8G56A2NrB",  

   "Function":"GetPaymentTermsList"

}

 
 
RESPONSE

{

   "TableList":    [

            {

         "PaymentCode": "0",

         "PaymentTerms": "0",

         "Text": "Netto kontant"

      },

            {

         "PaymentCode": "8",

         "PaymentTerms": "8",

         "Text": "Netto 8 dage"

      },

            {

         "PaymentCode": "LM10",

         "PaymentTerms": "LM10",

         "Text": "Lb.md.+ 10 dg."

      },

            {

         "PaymentCode": "LM20",

         "PaymentTerms": "LM20",

         "Text": "Lb.md.+ 20 dg."

      }

   ],

   "WebserviceInfo": {

      "Name": "HELIOSWEBSERVICE",

      "Version": 1,

      "Build": 2001

   },

   "AuthenticationType": "SYSTEM",

   "ErrorCode": 0,

   "ErrorText": "",

   "Success": true,

   "Proxy": {

   "AgentName": "WSPROXY",

   "AgentVersion": "1.00.1015",

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

   "ErrorCode": 0,

   "Success": true

   }

}

 

 
 
COMMENTS

  • Function can be set to the following values in order to retrieve data from the corresponding tables: GetAccountGroupList, GetDepartmentList, GetPaymentTermsList, GetSalesmanList, GetTimeCodeList and GetStatusList.