Back to Service

Method Details for GetSupportJournalRaw.

Gets a list of support journals

Definition

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

Parameters

  • siteCode String Unique identification for your TimeLog account
  • apiID String The API ID
  • apiPassword String The API password
  • supportCaseID Integer ID of specific support case. Set to 0 to get all
  • employeeID Integer ID of specific Employee. Set to 0 to get all
  • customerID Integer ID of an Customer. Set to 0 to get
  • supportContractID Integer ID of an support contract. Set to 0 to get all

Returns

A list of support journal objects in XML format

Result Example

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

    <tlp:SupportJournal ID="4161">
    <tlp:Date>2008-05-16T00:00:00</tlp:Date>
    <tlp:StartTime>9:21</tlp:StartTime>
    <tlp:EndTime>9:28</tlp:EndTime>
    <tlp:RegMinutes>7</tlp:RegMinutes>
    <tlp:Comment>Case Created</tlp:Comment>
    <tlp:RegHours>0.116666</tlp:RegHours>
    <tlp:InvHours>0.000000</tlp:InvHours>
    <tlp:CostAmount>41</tlp:CostAmount>
    <tlp:RegAmount>0</tlp:RegAmount>
    <tlp:InvAmount>0</tlp:InvAmount>
    <tlp:EmployeeID>59</tlp:EmployeeID>
    <tlp:EmployeeInitials>TLJ</tlp:EmployeeInitials>
    <tlp:EmployeeFullName>Thomas Ljungqvist</tlp:EmployeeFullName>
    <tlp:CustomerID>3957</tlp:CustomerID>
    <tlp:CustomerName>Babel-Systems</tlp:CustomerName>
    <tlp:CustomerNo>08.02.3274</tlp:CustomerNo>
    <tlp:SupportCaseID>2244</tlp:SupportCaseID>
    <tlp:SupportCaseHeader>Tracker is not working</tlp:SupportCaseHeader>
    <tlp:SupportCaseNo>S08.0621</tlp:SupportCaseNo>
    <tlp:SupportContractID>415</tlp:SupportContractID>
    <tlp:SupportContractName>SLA (Support Requests)</tlp:SupportContractName>
    <tlp:SupportContractNo>A08.0198</tlp:SupportContractNo>
  </tlp:SupportJournal>
  <tlp:SupportJournal ID="4222">
    <tlp:Date>2008-05-20T00:00:00</tlp:Date>
    <tlp:StartTime>12:58</tlp:StartTime>
    <tlp:EndTime>12:59</tlp:EndTime>
    <tlp:RegMinutes>1</tlp:RegMinutes>
    <tlp:Comment>
      Asked the customer:
      Just wondering, have you had a working version TimeLog Tracker, and is this a new problem, or have you recently installed it, and attempted to use it?
    </tlp:Comment>
    <tlp:RegHours>0.016666</tlp:RegHours>
    <tlp:InvHours>0.000000</tlp:InvHours>
    <tlp:CostAmount>6</tlp:CostAmount>
    <tlp:RegAmount>0</tlp:RegAmount>
    <tlp:InvAmount>0</tlp:InvAmount>
    <tlp:EmployeeID>59</tlp:EmployeeID>
    <tlp:EmployeeInitials>TLJ</tlp:EmployeeInitials>
    <tlp:EmployeeFullName>Thomas Ljungqvist</tlp:EmployeeFullName>
    <tlp:CustomerID>3957</tlp:CustomerID>
    <tlp:CustomerName>Babel-Systems</tlp:CustomerName>
    <tlp:CustomerNo>08.02.3274</tlp:CustomerNo>
    <tlp:SupportCaseID>2244</tlp:SupportCaseID>
    <tlp:SupportCaseHeader>Tracker is not working</tlp:SupportCaseHeader>
    <tlp:SupportCaseNo>S08.0621</tlp:SupportCaseNo>
    <tlp:SupportContractID>415</tlp:SupportContractID>
    <tlp:SupportContractName>SLA (Support Requests)</tlp:SupportContractName>
    <tlp:SupportContractNo>A08.0198</tlp:SupportContractNo>
  </tlp:SupportJournal>
</tlp:SupportJournals>

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="SupportJournals" >
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="SupportJournal" type="tlp:SupportJournalRaw_Type" minOccurs="0" maxOccurs="unbounded" />
      </xsd:sequence>
    </xsd:complexType>
    <xsd:key name="SupportJournal_Key">
      <xsd:selector xpath=".//tlp:SupportJournal" />
      <xsd:field xpath="@ID" />
    </xsd:key>
  </xsd:element>

  <xsd:complexType name="SupportJournalRaw_Type">
    <xsd:sequence>
      <xsd:element name="Date" type="xsd:dateTime"/>
      <xsd:element name="StartTime" type="xsd:string" />
      <xsd:element name="EndTime" type="xsd:string" />
      <xsd:element name="RegMinutes" type="xsd:decimal" />
      <xsd:element name="Comment" type="xsd:string" />
      <xsd:element name="RegHours" type="xsd:decimal" />
      <xsd:element name="InvHours" type="xsd:decimal" />
      <xsd:element name="CostAmount" type="xsd:decimal" />
      <xsd:element name="RegAmount" type="xsd:decimal" />
      <xsd:element name="InvAmount" type="xsd:decimal" />
      <xsd:element name="EmployeeID" type="xsd:positiveInteger" />
      <xsd:element name="EmployeeInitials" type="xsd:string" />
      <xsd:element name="EmployeeFullName" type="xsd:string" />
      <xsd:element name="CustomerID" type="xsd:positiveInteger" />
      <xsd:element name="CustomerName" type="xsd:string" />
      <xsd:element name="CustomerNo" type="xsd:string" minOccurs="0" maxOccurs="1"  />
      <xsd:element name="SupportCaseID" type="xsd:positiveInteger" />
      <xsd:element name="SupportCaseHeader" type="xsd:string" />
      <xsd:element name="SupportCaseNo" type="xsd:string" />
      <xsd:element name="SupportContractID" type="xsd:positiveInteger" />
      <xsd:element name="SupportContractName" type="xsd:string" />
      <xsd:element name="SupportContractNo" type="xsd:string" />
    </xsd:sequence>
    <xsd:attribute name="ID" type="xsd:positiveInteger" use="required" />
  </xsd:complexType>
</xsd:schema>

Download the XSD