Back to Service

Method Details for GetSalaryAccountEmployeePostingsRaw.

Get a list of salary account employee postings

Parameters

  • siteCode String Unique identification for your TimeLog account
  • apiID String The API ID
  • apiPassword String The API password
  • SalaryAccountID Integer ID of specific salary account. Set to 0 to get all salary accounts
  • EmployeeUserID Integer ID of specific employee. Set to 0 to get all employees
  • FromDate DateTime (yyyy-MM-dd) Limits result to postings with date on or later than this date
  • ToDate DateTime (yyyy-MM-dd) Limits result to postings with date on or prior to this date

Returns

A list of employee postings in standard XML document

Result Example

<?xml version="1.0" encoding="utf-8" ?>
<tlp:SalaryAccountEmployeePostings xmlns:tlp="http://www.timelog.com/XML/Schema/tlp/v4_4"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://www.timelog.com/XML/Schema/tlp/v4_4 http://www.timelog.com/api/xsd/SalaryAccountEmployeePostingsRaw.xsd">
  <tlp:SalaryAcountEmployeePosting ID="1" GUID="E33B6EC7-4CBC-4A17-8409-CE923411F441">
    <tlp:EmployeeUserId>1</tlp:EmployeeUserId>
    <tlp:EmployeeUsername>psu</tlp:EmployeeUsername>
    <tlp:EmployeeNo></tlp:EmployeeNo>
    <tlp:SalaryAccountID>3</tlp:SalaryAccountID>
    <tlp:SalaryAccountName>Flex</tlp:SalaryAccountName>
    <tlp:Date>2019-06-13T00:00:00</tlp:Date>
    <tlp:EntityType>154</tlp:EntityType>
    <tlp:Hours>7.4000</tlp:Hours>
    <tlp:TotalHours>-7.4000</tlp:TotalHours>
    <tlp:Factor>-1.0000</tlp:Factor>
    <tlp:PostingType>0</tlp:PostingType>
    <tlp:Minutes>444</tlp:Minutes>
    <tlp:TotalMinutes>-444.0000</tlp:TotalMinutes>
    <tlp:Days>1.0000</tlp:Days>
    <tlp:TotalDays>-1.0000</tlp:TotalDays>
    <tlp:CommentToManager></tlp:CommentToManager>
    <tlp:CommentToEmployee></tlp:CommentToEmployee>
    <tlp:Created>2019-06-13T10:33:02.7696977</tlp:Created>
    <tlp:CreatedBy>375</tlp:CreatedBy>
  </tlp:SalaryAcountEmployeePosting>
  <tlp:SalaryAcountEmployeePosting ID="8" GUID="FF700112-CDFC-4C7F-B826-39CA8A3AFCCA">
    <tlp:EmployeeUserId>1</tlp:EmployeeUserId>
    <tlp:EmployeeUsername>psu</tlp:EmployeeUsername>
    <tlp:EmployeeNo></tlp:EmployeeNo>
    <tlp:SalaryAccountID>3</tlp:SalaryAccountID>
    <tlp:SalaryAccountName>Flex</tlp:SalaryAccountName>
    <tlp:Date>2019-06-13T00:00:00</tlp:Date>
    <tlp:EntityType>154</tlp:EntityType>
    <tlp:Hours>1.0200</tlp:Hours>
    <tlp:TotalHours>1.0200</tlp:TotalHours>
    <tlp:Factor>1.0000</tlp:Factor>
    <tlp:PostingType>0</tlp:PostingType>
    <tlp:Minutes>61</tlp:Minutes>
    <tlp:TotalMinutes>61.0000</tlp:TotalMinutes>
    <tlp:Days>0.1378</tlp:Days>
    <tlp:TotalDays>0.1378</tlp:TotalDays>
    <tlp:CommentToManager></tlp:CommentToManager>
    <tlp:CommentToEmployee></tlp:CommentToEmployee>
    <tlp:Created>2019-06-13T10:41:47.2096551</tlp:Created>
    <tlp:CreatedBy>373</tlp:CreatedBy>
  </tlp:SalaryAcountEmployeePosting>
  <tlp:SalaryAcountEmployeePosting ID="10" GUID="7C527354-8574-48A9-8E8B-6C506867B53D">
    <tlp:EmployeeUserId>1</tlp:EmployeeUserId>
    <tlp:EmployeeUsername>psu</tlp:EmployeeUsername>
    <tlp:EmployeeNo></tlp:EmployeeNo>
    <tlp:SalaryAccountID>3</tlp:SalaryAccountID>
    <tlp:SalaryAccountName>Flex</tlp:SalaryAccountName>
    <tlp:Date>2019-06-13T00:00:00</tlp:Date>
    <tlp:EntityType>154</tlp:EntityType>
    <tlp:Hours>2.8200</tlp:Hours>
    <tlp:TotalHours>2.8200</tlp:TotalHours>
    <tlp:Factor>1.0000</tlp:Factor>
    <tlp:PostingType>0</tlp:PostingType>
    <tlp:Minutes>169</tlp:Minutes>
    <tlp:TotalMinutes>169.0000</tlp:TotalMinutes>
    <tlp:Days>0.3811</tlp:Days>
    <tlp:TotalDays>0.3811</tlp:TotalDays>
    <tlp:CommentToManager></tlp:CommentToManager>
    <tlp:CommentToEmployee></tlp:CommentToEmployee>
    <tlp:Created>2019-06-13T11:00:48.7496431</tlp:Created>
    <tlp:CreatedBy>373</tlp:CreatedBy>
  </tlp:SalaryAcountEmployeePosting>
  <tlp:SalaryAcountEmployeePosting ID="12" GUID="3ACA0C16-4C7E-41DF-A405-5972C3276675">
    <tlp:EmployeeUserId>1</tlp:EmployeeUserId>
    <tlp:EmployeeUsername>psu</tlp:EmployeeUsername>
    <tlp:EmployeeNo></tlp:EmployeeNo>
    <tlp:SalaryAccountID>3</tlp:SalaryAccountID>
    <tlp:SalaryAccountName>Flex</tlp:SalaryAccountName>
    <tlp:Date>2019-06-13T00:00:00</tlp:Date>
    <tlp:EntityType>154</tlp:EntityType>
    <tlp:Hours>2.0000</tlp:Hours>
    <tlp:TotalHours>2.0000</tlp:TotalHours>
    <tlp:Factor>1.0000</tlp:Factor>
    <tlp:PostingType>0</tlp:PostingType>
    <tlp:Minutes>120</tlp:Minutes>
    <tlp:TotalMinutes>120.0000</tlp:TotalMinutes>
    <tlp:Days>0.2703</tlp:Days>
    <tlp:TotalDays>0.2703</tlp:TotalDays>
    <tlp:CommentToManager></tlp:CommentToManager>
    <tlp:CommentToEmployee></tlp:CommentToEmployee>
    <tlp:Created>2019-06-13T11:04:40.5279083</tlp:Created>
    <tlp:CreatedBy>373</tlp:CreatedBy>
  </tlp:SalaryAcountEmployeePosting>
  <tlp:SalaryAcountEmployeePosting ID="13" GUID="DE768BE6-C049-4200-BE86-A397D0DA785B">
    <tlp:EmployeeUserId>1</tlp:EmployeeUserId>
    <tlp:EmployeeUsername>psu</tlp:EmployeeUsername>
    <tlp:EmployeeNo></tlp:EmployeeNo>
    <tlp:SalaryAccountID>3</tlp:SalaryAccountID>
    <tlp:SalaryAccountName>Flex</tlp:SalaryAccountName>
    <tlp:Date>2019-06-14T00:00:00</tlp:Date>
    <tlp:Hours>7.4000</tlp:Hours>
    <tlp:TotalHours>-7.4000</tlp:TotalHours>
    <tlp:Factor>-1.0000</tlp:Factor>
    <tlp:PostingType>0</tlp:PostingType>
    <tlp:Minutes>444</tlp:Minutes>
    <tlp:TotalMinutes>-444.0000</tlp:TotalMinutes>
    <tlp:Days>1.0000</tlp:Days>
    <tlp:TotalDays>-1.0000</tlp:TotalDays>
    <tlp:CommentToManager></tlp:CommentToManager>
    <tlp:CommentToEmployee></tlp:CommentToEmployee>
    <tlp:Created>2019-06-14T10:02:35.8510169</tlp:Created>
    <tlp:CreatedBy>375</tlp:CreatedBy>
  </tlp:SalaryAcountEmployeePosting>
  <tlp:SalaryAcountEmployeePosting ID="14" GUID="B77FC027-0D02-416A-9CA3-C3552676F93B">
    <tlp:EmployeeUserId>1</tlp:EmployeeUserId>
    <tlp:EmployeeUsername>psu</tlp:EmployeeUsername>
    <tlp:EmployeeNo></tlp:EmployeeNo>
    <tlp:SalaryAccountID>3</tlp:SalaryAccountID>
    <tlp:SalaryAccountName>Flex</tlp:SalaryAccountName>
    <tlp:Date>2019-06-14T00:00:00</tlp:Date>
    <tlp:EntityType>154</tlp:EntityType>
    <tlp:Hours>2.0000</tlp:Hours>
    <tlp:TotalHours>2.0000</tlp:TotalHours>
    <tlp:Factor>1.0000</tlp:Factor>
    <tlp:PostingType>0</tlp:PostingType>
    <tlp:Minutes>120</tlp:Minutes>
    <tlp:TotalMinutes>120.0000</tlp:TotalMinutes>
    <tlp:Days>0.2703</tlp:Days>
    <tlp:TotalDays>0.2703</tlp:TotalDays>
    <tlp:CommentToManager></tlp:CommentToManager>
    <tlp:CommentToEmployee></tlp:CommentToEmployee>
    <tlp:Created>2019-06-14T10:18:38.3287560</tlp:Created>
    <tlp:CreatedBy>373</tlp:CreatedBy>
  </tlp:SalaryAcountEmployeePosting>
  <tlp:SalaryAcountEmployeePosting ID="15" GUID="C2157900-ED4C-445D-B8DC-9D167B8DD826">
    <tlp:EmployeeUserId>1</tlp:EmployeeUserId>
    <tlp:EmployeeUsername>psu</tlp:EmployeeUsername>
    <tlp:EmployeeNo></tlp:EmployeeNo>
    <tlp:SalaryAccountID>3</tlp:SalaryAccountID>
    <tlp:SalaryAccountName>Flex</tlp:SalaryAccountName>
    <tlp:Date>2019-06-13T00:00:00</tlp:Date>
    <tlp:EntityType>154</tlp:EntityType>
    <tlp:Hours>1.0000</tlp:Hours>
    <tlp:TotalHours>1.0000</tlp:TotalHours>
    <tlp:Factor>1.0000</tlp:Factor>
    <tlp:PostingType>0</tlp:PostingType>
    <tlp:Minutes>60</tlp:Minutes>
    <tlp:TotalMinutes>60.0000</tlp:TotalMinutes>
    <tlp:Days>0.1351</tlp:Days>
    <tlp:TotalDays>0.1351</tlp:TotalDays>
    <tlp:CommentToManager></tlp:CommentToManager>
    <tlp:CommentToEmployee></tlp:CommentToEmployee>
    <tlp:Created>2019-06-14T10:18:43.7087050</tlp:Created>
    <tlp:CreatedBy>373</tlp:CreatedBy>
  </tlp:SalaryAcountEmployeePosting>
</tlp:SalaryAccountEmployeePostings>

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="SalaryAccountEmployeePostings" >
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="SalaryAccountEmployeePosting" type="tlp:SalaryAccountEmployeePostingRaw_Type" minOccurs="0" maxOccurs="unbounded" />
      </xsd:sequence>
    </xsd:complexType>
    <xsd:key name="SalaryAccountEmployeePosting_Key">
      <xsd:selector xpath=".//tlp:SalaryAccountEmployeePosting" />
      <xsd:field xpath="@ID" />
    </xsd:key>
  </xsd:element>

  <xsd:complexType name="SalaryAccountEmployeePostingRaw_Type">
    <xsd:sequence>
      <xsd:element name="EmployeeUserID" type="xsd:integer" minOccurs="1" maxOccurs="1"  />
      <xsd:element name="EmployeeUsername" type="xsd:string" minOccurs="1" maxOccurs="1"  />
      <xsd:element name="EmployeeNo" type="xsd:string" minOccurs="1" maxOccurs="1"  />
      <xsd:element name="SalaryAccountID" type="xsd:integer" minOccurs="1" maxOccurs="1"  />
      <xsd:element name="SalaryAccountName" type="xsd:string" minOccurs="1" maxOccurs="1"  />
      <xsd:element name="Date" type="xsd:dateTime" minOccurs="1" maxOccurs="1"  />
      <xsd:element name="EntityType" type="xsd:integer" minOccurs="1" maxOccurs="1" />
      <xsd:element name="Hours" type="xsd:decimal" minOccurs="1" maxOccurs="1"  />
      <xsd:element name="TotalHours" type="xsd:decimal" minOccurs="1" maxOccurs="1"  />
      <xsd:element name="Factor" type="xsd:decimal" minOccurs="1" maxOccurs="1"  />
      <xsd:element name="PostingType" type="xsd:integer" minOccurs="1" maxOccurs="1"  />
      <xsd:element name="Minutes" type="xsd:integer" minOccurs="1" maxOccurs="1"  />
      <xsd:element name="TotalMinutes" type="xsd:decimal" minOccurs="1" maxOccurs="1"  />
      <xsd:element name="Days" type="xsd:decimal" minOccurs="1" maxOccurs="1"  />
      <xsd:element name="TotalDays" type="xsd:decimal" minOccurs="1" maxOccurs="1"  />
      <xsd:element name="CommentToManager" type="xsd:string" minOccurs="0" maxOccurs="1"  />
      <xsd:element name="CommentToEmployee" type="xsd:string" minOccurs="0" maxOccurs="1"  />
      <xsd:element name="Created" type="xsd:dateTime" minOccurs="1" maxOccurs="1"  />
      <xsd:element name="CreatedBy" type="xsd:integer" minOccurs="1" maxOccurs="1"  />
    </xsd:sequence>
    <xsd:attribute name="ID" type="xsd:positiveInteger" use="required" />
    <xsd:attribute name="GUID" type="xsd:string" use="required" />
  </xsd:complexType>

</xsd:schema>

Download the XSD