Back to Service

Method Details for GetPriceGroupsRaw.

Get a list of price groups

Definition

TimeLog.TLP.WebAppCode.Service.GetPriceGroupsRaw(System.String,System.String,System.String,System.Int32,System.Int32)

Parameters

  • siteCode String Unique identification for your TimeLog account
  • apiID String The API ID
  • apiPassword String The API password
  • legalEntityId Integer Unique identification for your legal entity
  • customerId Integer The customer ID

Returns

A list of price groups in XML format

Result Example

<?xml version="1.0" encoding="utf-8"?>
<tlp:PriceGroups 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/PriceGroupsRaw.xsd">

	<tlp:PriceGroup ID="1" GUID="A217F7EF-1532-E611-80E1-005056B220E2">
		<tlp:Name>Denmark</tlp:Name>
		<tlp:LegalEntityID>1</tlp:LegalEntityID>
		<tlp:LegalEntityName>Your company</tlp:LegalEntityName>
		<tlp:CurrencyISO>EUR</tlp:CurrencyISO>
		<tlp:IsActive>1</tlp:IsActive>
	</tlp:PriceGroup>
	<tlp:PriceGroup ID="2" GUID="6B0FB9FC-967A-48A2-A7BC-A99700DC594E">
		<tlp:Name>Default</tlp:Name>
		<tlp:LegalEntityID>2</tlp:LegalEntityID>
		<tlp:LegalEntityName>Genting (MY)</tlp:LegalEntityName>
		<tlp:CurrencyISO>MYR</tlp:CurrencyISO>
		<tlp:IsActive>1</tlp:IsActive>
	</tlp:PriceGroup>
	<tlp:PriceGroup ID="3" GUID="F77576E9-C5DD-48C6-A909-A99700DCAAE0">
		<tlp:Name>USD</tlp:Name>
		<tlp:LegalEntityID>2</tlp:LegalEntityID>
		<tlp:LegalEntityName>Genting (MY)</tlp:LegalEntityName>
		<tlp:CurrencyISO>USD</tlp:CurrencyISO>
		<tlp:IsActive>1</tlp:IsActive>
	</tlp:PriceGroup>
	<tlp:PriceGroup ID="4" GUID="FEDBFBBC-BE53-4DFF-9953-A99700DD1134">
		<tlp:Name>Default</tlp:Name>
		<tlp:LegalEntityID>2</tlp:LegalEntityID>
		<tlp:LegalEntityName>Genting (MY)</tlp:LegalEntityName>
		<tlp:CustomerID>672</tlp:CustomerID>
		<tlp:CustomerName>Inscale</tlp:CustomerName>
		<tlp:CurrencyISO>MYR</tlp:CurrencyISO>
		<tlp:IsActive>1</tlp:IsActive>
	</tlp:PriceGroup>
	<tlp:PriceGroup ID="5" GUID="FB24AECF-72E0-4BAD-806E-A99700DD1134">
		<tlp:Name>usd</tlp:Name>
		<tlp:LegalEntityID>2</tlp:LegalEntityID>
		<tlp:LegalEntityName>Genting (MY)</tlp:LegalEntityName>
		<tlp:CustomerID>672</tlp:CustomerID>
		<tlp:CustomerName>Inscale</tlp:CustomerName>
		<tlp:CurrencyISO>USD</tlp:CurrencyISO>
		<tlp:IsActive>1</tlp:IsActive>
	</tlp:PriceGroup>
	<tlp:PriceGroup ID="6" GUID="10D84513-7083-4488-B50A-A99700E7E903">
		<tlp:Name>Denmark</tlp:Name>
		<tlp:LegalEntityID>1</tlp:LegalEntityID>
		<tlp:LegalEntityName>Your company</tlp:LegalEntityName>
		<tlp:CustomerID>672</tlp:CustomerID>
		<tlp:CustomerName>Inscale</tlp:CustomerName>
		<tlp:CurrencyISO>EUR</tlp:CurrencyISO>
		<tlp:IsActive>1</tlp:IsActive>
	</tlp:PriceGroup>
</tlp:PriceGroups>