Webservices - Postings (By Employee No.)

The webservice is used to retrieve employee postings.

 

13 April,2021

 

  
REQUEST

{

   "Proxy": {   

      "Function":"HeliosWs",

      "HostName":"xxxxx",

      "UserName":"yyyyy",

      "Password":"zzzzz",

      "ReportName":"webservice"

   },

 

   "AuthenticationType":"SYSTEM",

   "UserName":"16984205",

   "Password":"8G56A2NrB",  

   "Function":"GetEmployeePostingsByEmployeeNo",

   "FromEmployeeNo":"1",

   "ToEmployeeNo":"",

   "FromDate":"2020-08-22T00:00:00Z",

   "ToDate":""

}

 
  
RESPONSE

{

 

   "EmployeeList": [   {

      "EmployeeNo": "1",

      "EmployeeName": "Peter Sørensen",

      "PostingList": [      {

         "Index": 10,

         "Date": "2020-08-22T00:00:00Z",

         "EmployeeNo": "1",

         "PostingType": "RANGE",

         "OrderNo": "22",

         "TimeCode": "001",

         "StartTime": "07:00",

         "EndTime": "08:00"      }]

   }],    

   "WebserviceInfo": {

      "Name": "HELIOSWEBSERVICE",

      "Version": 1,

      "Build": 2103

   },

   "AuthenticationType": "SYSTEM",

   "ErrorCode": 0,

   "ErrorText": "",

   "Success": true,

   "Proxy": {

      "AgentName": "WSPROXY",

      "AgentVersion": "2.00.1322 x86-64",

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

      "ErrorCode": 0,

      "Success": true

   }

}

 

 
  
COMMENTS

  • Max. 50000 postings are included in response.
  • If FromEmployeeNo and ToEmployeeNo are blank all accounts are included.
  • If FromEmployeeNo is blank and ToEmployeeNo is not blank all accounts up till ToEmployeeNo are included.
  • If ToEmployeeNo is blank and FromEmployeeNo is not blank then only FromEmployeeNo is included.
  • PostingType will be PUNCHIN, PUNCHOUT, RANGE, BREAK or ABSENCE.