Back to Service

Method Details for GetSalaryAccountsRaw.

Get a list of salary accounts

Definition

TimeLog.TLP.WebAppCode.Service.GetSalaryAccountsRaw(System.String,System.String,System.String)

Parameters

  • siteCode String Unique identification for your TimeLog account
  • apiID String The API ID
  • apiPassword String The API password

Returns

A list of salary accounts in standard XML document

Result Example

<?xml version="1.0" encoding="utf-8" ?>
<tlp:SalaryAccounts 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/SalaryAccountsRaw.xsd">
  <tlp:SalaryAccount ID="1" GUID="AF629B0B-2554-49FA-A245-CA5056495574">
    <tlp:Name>Ferie</tlp:Name>
    <tlp:Description>Ferie</tlp:Description>
    <tlp:IsActive>1</tlp:IsActive>
    <tlp:AccountType>Absence</tlp:AccountType>
    <tlp:BalanceFormat>Days</tlp:BalanceFormat>
    <tlp:Code>20</tlp:Code>
  </tlp:SalaryAccount>
  <tlp:SalaryAccount ID="2" GUID="462FFA42-BFCC-4DB7-ACF0-493AFFE0114F">
    <tlp:Name>Sygdom</tlp:Name>
    <tlp:Description>Sygdom</tlp:Description>
    <tlp:IsActive>1</tlp:IsActive>
    <tlp:AccountType>Absence</tlp:AccountType>
    <tlp:BalanceFormat>Hours</tlp:BalanceFormat>
    <tlp:Code>30</tlp:Code>
  </tlp:SalaryAccount>
  <tlp:SalaryAccount ID="3" GUID="26D4F401-B1DD-4117-8CBD-A1344F87C494">
    <tlp:Name>Flex</tlp:Name>
    <tlp:Description>Flex</tlp:Description>
    <tlp:IsActive>1</tlp:IsActive>
    <tlp:AccountType>Flex</tlp:AccountType>
    <tlp:BalanceFormat>Hours</tlp:BalanceFormat>
    <tlp:Code>10</tlp:Code>
  </tlp:SalaryAccount>
</tlp:SalaryAccounts>