Method Details for GetEmployeeNormalWorkingTimeHistoriesRaw.
Get a list of employee normal working time histories
Parameters
- siteCode String Unique identification for your TimeLog account
- apiID String The API ID
- apiPassword String The API password
- employeeUserID Integer UserID of specific employee. Set to 0 to get for all employees
- employeeStatus Integer Set to 0 for inactive employees; 1 for active employees; -1 to get all employees
Returns
A list of normal working time histories in standard XML document
Result Example
<?xml version="1.0" encoding="utf-8"?> <tlp:EmployeeNormalWorkingTimeHistories xmlns:tlp="http://www.timelog.com/XML/Schema/tlp/v4_4"> <tlp:EmployeeNormalWorkingTimeHistory ID="13" GUID="7A0A7B21-70E5-445B-A549-4577F0D486A3"> <tlp:EmployeeUserID>9</tlp:EmployeeUserID> <tlp:ValidFromDate>2021-08-06T00:00:00</tlp:ValidFromDate> <tlp:NormalWorkingTimeID>1</tlp:NormalWorkingTimeID> <tlp:NormalWorkingTimeGUID>96E86B36-4F7C-4B52-851B-BC4AD62028FA</tlp:NormalWorkingTimeGUID> <tlp:NormalWorkingTimeName>Normal</tlp:NormalWorkingTimeName> </tlp:EmployeeNormalWorkingTimeHistory> <tlp:EmployeeNormalWorkingTimeHistory ID="17" GUID="5C1974CB-A2C3-487F-ABB6-AABD98D18B3E"> <tlp:EmployeeUserID>9</tlp:EmployeeUserID> <tlp:ValidFromDate>2021-10-20T00:00:00</tlp:ValidFromDate> <tlp:NormalWorkingTimeID>2</tlp:NormalWorkingTimeID> <tlp:NormalWorkingTimeGUID>6B3B3480-D5B3-4A8E-A22D-19F3B7C0A0BA</tlp:NormalWorkingTimeGUID> <tlp:NormalWorkingTimeName>Part Time</tlp:NormalWorkingTimeName> </tlp:EmployeeNormalWorkingTimeHistory> <tlp:EmployeeNormalWorkingTimeHistory ID="19" GUID="04F6192F-79F4-4B9D-9F18-38D31BC7ABF5"> <tlp:EmployeeUserID>9</tlp:EmployeeUserID> <tlp:ValidFromDate>2022-01-04T00:00:00</tlp:ValidFromDate> <tlp:NormalWorkingTimeID>1</tlp:NormalWorkingTimeID> <tlp:NormalWorkingTimeGUID>96E86B36-4F7C-4B52-851B-BC4AD62028FA</tlp:NormalWorkingTimeGUID> <tlp:NormalWorkingTimeName>Normal</tlp:NormalWorkingTimeName> </tlp:EmployeeNormalWorkingTimeHistory> <tlp:EmployeeNormalWorkingTimeHistory ID="20" GUID="3FE6AACD-B553-41BD-AB09-70F2C739E89F"> <tlp:EmployeeUserID>9</tlp:EmployeeUserID> <tlp:ValidFromDate>2022-01-31T00:00:00</tlp:ValidFromDate> <tlp:NormalWorkingTimeID>2</tlp:NormalWorkingTimeID> <tlp:NormalWorkingTimeGUID>6B3B3480-D5B3-4A8E-A22D-19F3B7C0A0BA</tlp:NormalWorkingTimeGUID> <tlp:NormalWorkingTimeName>Part Time</tlp:NormalWorkingTimeName> </tlp:EmployeeNormalWorkingTimeHistory> </tlp:EmployeeNormalWorkingTimeHistories>
Result Schema
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tlp="http://www.timelog.com/XML/Schema/tlp/v4_4"
targetNamespace="http://www.timelog.com/XML/Schema/tlp/v4_4"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xsd:element name="EmployeeNormalWorkingTimeHistories" >
<xsd:complexType>
<xsd:sequence>
<xsd:element name="EmployeeNormalWorkingTimeHistory" type="tlp:EmployeeNormalWorkingTimeHistoriesRaw_Type" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:key name="EmployeeNormalWorkingTimeHistory_Key">
<xsd:selector xpath=".//tlp:EmployeeNormalWorkingTimeHistory" />
<xsd:field xpath="@ID" />
</xsd:key>
</xsd:element>
<xsd:complexType name="EmployeeNormalWorkingTimeHistoriesRaw_Type">
<xsd:sequence>
<xsd:element name="EmployeeUserID" type="xsd:integer"/>
<xsd:element name="ValidFromDate" type="xsd:dateTime" />
<xsd:element name="NormalWorkingTimeID" type="xsd:integer" />
<xsd:element name="NormalWorkingTimeGUID" type="xsd:string" />
<xsd:element name="NormalWorkingTimeName" type="xsd:string" />
</xsd:sequence>
<xsd:attribute name="ID" type="xsd:integer" use="required" />
<xsd:attribute name="GUID" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:schema>