Method Details for GetSupportTypesShortList.
Gets a list of support types with key information only
Parameters
- siteCode String Unique identification for your TimeLog account
- apiID String The API ID
- apiPassword String The API password
Returns
A list of support type objects in XML format
Result Example
<?xml version="1.0" encoding="utf-8"?> <tlp:SupportTypes 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/SupportTypesShortList.xsd"> <tlp:SupportType ID="18"> <tlp:Name>Bug Fixes</tlp:Name> </tlp:SupportType> <tlp:SupportType ID="3"> <tlp:Name>Time/Expense Tracking</tlp:Name> <tlp:ParentID>18</tlp:ParentID> </tlp:SupportType> <tlp:SupportType ID="4"> <tlp:Name>Project Management</tlp:Name> <tlp:ParentID>18</tlp:ParentID> </tlp:SupportType> <tlp:SupportType ID="11"> <tlp:Name>Resource Management</tlp:Name> <tlp:ParentID>18</tlp:ParentID> </tlp:SupportType> <tlp:SupportType ID="5"> <tlp:Name>Invoicing</tlp:Name> <tlp:ParentID>18</tlp:ParentID> </tlp:SupportType> <tlp:SupportType ID="6"> <tlp:Name>Approval/Closing</tlp:Name> <tlp:ParentID>18</tlp:ParentID> </tlp:SupportType> </tlp:SupportTypes>
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="SupportTypes"> <xsd:complexType> <xsd:sequence> <xsd:element name="SupportType" type="tlp:SupportTypeShort_Type" minOccurs="0" maxOccurs="unbounded" /> </xsd:sequence> </xsd:complexType> <xsd:key name="Support_Key"> <xsd:selector xpath=".//tlp:SupportType" /> <xsd:field xpath="@ID" /> </xsd:key> </xsd:element> <xsd:complexType name="SupportTypeShort_Type"> <xsd:sequence> <xsd:element name="Name" type="xsd:string" /> <xsd:element name="ParentID" type="xsd:positiveInteger" minOccurs="0" maxOccurs="1" /> </xsd:sequence> <xsd:attribute name="ID" type="xsd:positiveInteger" use="required"></xsd:attribute> </xsd:complexType> </xsd:schema>