Webservices - List of Employees

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

13 April,2021

 

 
REQUEST

{

   "Proxy": {   

      "Function":"HeliosWs",

      "HostName":"xxxxx",

      "UserName":"yyyyy",

      "Password":"zzzzz",

      "ReportName":"webservice"

   },

 

   "AuthenticationType":"SYSTEM",

   "UserName":"16984205",

   "Password":"8G56A2NrB",  

   "Function":"GetEmployeeList",

   "FromEmployeeNo":"10",

   "ToEmployeeNo":"10"

}

 
 
RESPONSE

{

   "EmployeeList": [   {

      "EmployeeNo": "10",

      "Name": "Per Jensen",

      "Address": "",

      "Postcode": "",

      "City": "",

      "Phone": "",

      "Mobile": "",

      "Email": "",

      "PunchInMonday": "07:30",

      "PunchOutMonday": "16:00",

      "PunchInTuesday": "07:30",

      "PunchOutTuesday": "16:00",

      "PunchInWednesday": "07:30",

      "PunchOutWednesday": "16:00",,

      "PunchInThursday": "07:30",

      "PunchOutThursday": "16:00",

      "PunchInFriday": "07:30",

      "PunchOutFriday": "14:15",

      "PunchInSaturday": "00:00",

      "PunchOutSaturday": "00:00",

      "PunchSunday": "00:00",

      "PunchOutSunday": "00:00",

      "EfficiencyPct": 100.00

   }],

   "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

  • AuthenticationType must be set to SYSTEM, CUSTOMER or EMPLOYEE.
  • Max. 5000 employees are included in response.
  • If FromEmployeeNo is blank then request starts at first customer.
  • If ToEmployeeNo is blank then request ends at last customer. Unless max. employees is reached before.