Webservices - List of Customers

The webservice is used to retrieve data for one or more customers.

03 August,2022

 

 
REQUEST

{

   "Proxy": {   

      "Function":"HeliosWs",

      "HostName":"xxxxx",

      "UserName":"yyyyy",

      "Password":"zzzzz",

      "ReportName":"webservice"

   },

 

   "AuthenticationType":"SYSTEM",

   "UserName":"16984205",

   "Password":"8G56A2NrB",  

   "Function":"GetCustomerList",

   "FromCustomerNo":"44570088",

   "ToCustomerNo":"44570088",

   "CustomerGrp":"",

   "Name":"",

   "Address","",

   "Postcode","",

   "Group":"",

   "Email":"",

   "Phone":"",

   "Mobile":"",

   "ShowExtendedData":true

}

 
 
RESPONSE

{

   "CustomerList": [   {

      "CustomerNo": "44570088",

      "Name": "RST ApS",

      "Name2": "",

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

      "Postcode": "2700",

      "City": "Brønshøj",

      "Country": "Danmark",

      "Attention": "",

      "Phone": "44570088",

      "Phone2": "",

      "Mobile": "",

      "Fax": "",

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

      "CompanyNo": "16984205",

      "Ean": "",

      "PaymentTerms":"8",

      "Group": "",

      "Department": "",

      "Project": "",

      "PriceGroup": "",

      "LetterGroup": "",

      "InfoTextMessage": false,

      "InfoEmail": true,

      "InfoGeneral": true,

      "InfoMOT": true,

      "InfoService": false,

      "InfoRustProofing": false,

      "UserDefinedStr1": "",

      "UserDefinedStr2": "",

      "UserDefinedStr3": "",

      "UserDefinedStr4": "",

      "UserDefinedStr5": "",

      "UserDefinedStr6": "",

      "UserDefinedStr7": "",

      "UserDefinedStr8": "",

      "UserDefinedStr9": "",

      "UserDefinedStr10": "",

      "UserDefinedInt1": 0,

      "UserDefinedInt2": 0,

      "UserDefinedInt3": 0,

      "UserDefinedInt4": 0,

      "UserDefinedInt5": 0,

      "UserDefinedInt6": 0,

      "UserDefinedInt7": 0,

      "UserDefinedInt8": 0,

      "UserDefinedInt9": 0,

      "UserDefinedInt10": 0,

      "UserDefinedBool1": false,

      "UserDefinedBool2": false,

      "UserDefinedBool3": false,

      "UserDefinedBool4": false,

      "UserDefinedBool5": false,

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

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

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

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

      "UserDefinedDate5": "0000-00-00T00:00:00Z"

 }],

   "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

  • Max. 5000 customers are included in response.
  • If FromCustomerNo is blank then request starts at first customer.
  • If ToCustomerNo is blank then request ends at last customer. Unless max. customers are reached before.
  • If Name is entered then all customers with a name that starts with the value entered will be included in the response.
  • If Address is entered then all customers with an address that starts with the value entered will be included in the response.
  • If Postcode is entered then all customers with this postcode will be included in the response.
  • If Group is entered then all customers in this group will be included in the response.
  • If Email, Phone or Mobile is entered then data is only returned for customers with an exact match on Email, Phone and/or Mobile
  • IF ShowExtendedData=false then only data from CustomerNo to Email will be retrieved.