Back to Service

Method Details for GetGroupUnitsRaw.

Get a list of group units


  • siteCode String Unique identification for your TimeLog account
  • apiID String The API ID
  • apiPassword String The API password
  • groupID Integer ID of specific group. Set to 0 to get all groups
  • customerID Integer ID of specific customer. Set to 0 to get for all customers
  • contactID Integer ID of specific contact. Set to 0 to get for all contacts
  • opportunityID Integer ID of specific Opportunity. Set to 0 to get for all opportunities


A list of group in standard XML document

Result Example

<?xml version="1.0" encoding="utf-8"?>
<tlp:GroupUnits xmlns:tlp="">
  <tlp:GroupUnit ID="1">
  <tlp:GroupUnit ID="2">
    <tlp:Value>Very good friend</tlp:Value>
  <tlp:GroupUnit ID="3">

Result Schema

<?xml version="1.0" encoding="utf-8"?>
<xsd:schema xmlns:xsd=""
  <xsd:element name="Groups" >
        <xsd:element name="GroupUnit" type="tlp:GroupUnitsRaw_Type" minOccurs="0" maxOccurs="unbounded" />
    <xsd:key name="Event_Key">
      <xsd:selector xpath=".//tlp:GroupUnit" />
      <xsd:field xpath="@ID" />

  <xsd:complexType name="GroupUnitsRaw_Type">
      <xsd:element maxOccurs="unbounded" name="GroupUnit">
            <xsd:element minOccurs="0" maxOccurs="1" name="ContactID" type="xsd:integer" />
            <xsd:element minOccurs="0" maxOccurs="1" name="CustomerID" type="xsd:integer" />
            <xsd:element name="GroupID" type="xsd:integer" />
            <xsd:element minOccurs="0" maxOccurs="1" name="ValueID" type="xsd:integer" />
            <xsd:element name="Value" type="xsd:string" />
          <xsd:attribute name="ID" type="xsd:integer" use="required" />


Download the XSD