TTItemHolder

Description

The TTItemHolder type contains the TTItem response and any returned errors for items that were not successfully created or updated. The TTItemHolder type parameters are listed below.

Parameters

Name Type Description
item TTItem

The TTItem type holds the generic data for an item.

status Status Holds status information for any messages or failures that are encountered.

Usage

The TTItemHolder type holds all of the field information for an item along with attached notes and item links. If any errors occur during the call, they are returned in the status element in the order in which they were processed.

XML

The following XML snippet shows TTItemHolder in the <ae:item> return element of the GetItems response. Note that an error message is returned in this example (inside the message element). In this example, three items were requested using the GetItems call; however, the second item was not given an internal ID. Therefore, an error was returned for the second item, though the service continued to run and returned the third item (BUG000173).

<ae:item>
   <ae:id xsi:type="ae:ItemIdentifier">
      <ae:displayName>BUG000164</ae:displayName>
      <ae:id>106</ae:id>
      <ae:uuid>7fe3e1f4-c8a8-4a99-8aec-fd236699a516</ae:uuid>
      <ae:tableId>1000</ae:tableId>
      <ae:tableIdItemId>1000:106</ae:tableIdItemId>
      <ae:issueId>000164</ae:issueId>
   </ae:id>
   <ae:itemType>Bug Report</ae:itemType>
   <ae:project xsi:type="ae:ProjectIdentifier">
      <ae:displayName>IDM Project</ae:displayName>
      <ae:id>2</ae:id>
     	<ae:uuid>0b87f347-a00c-4359-9c16-625e847bfdab</ae:uuid>
      <ae:fullyQualifiedName>Base Project||IDM Project</ae:fullyQualifiedName>
      <ae:internalName>TTT_ISSUES.IDM_PROJECT</ae:internalName>
   </ae:project>
   <ae:title>I'm getting a 502 error</ae:title>
   <ae:description>When I access the HR system, I'm getting a 502 error.
   </ae:description>
   <ae:createdBy xsi:type="ae:UserIdentifier">
      <ae:displayName>Jan Lvl 2 Support</ae:displayName>
      <ae:id>18</ae:id>
      <ae:uuid>09c6aa7e-e2b9-4ff4-9377-0d4090cab4fe</ae:uuid>
      <ae:loginId>jan</ae:loginId>
   </ae:createdBy>
   <ae:createDate>2009-02-18T18:18:11Z</ae:createDate>
   <ae:modifiedBy xsi:type="ae:UserIdentifier">
      <ae:displayName>Rhadika Tester</ae:displayName>
      <ae:id>28</ae:id>
      <ae:uuid>43a37118-c82a-4fbd-803f-a1f0ad127c12</ae:uuid>
      <ae:loginId>rhadika</ae:loginId>
   </ae:modifiedBy>
   <ae:modifiedDate>2009-02-18T18:22:53Z</ae:modifiedDate>
   <ae:activeInactive>false</ae:activeInactive>
   <ae:state xsi:type="ae:StateIdentifier">
      <ae:displayName>Resolved</ae:displayName>
      <ae:id>7</ae:id>
      <ae:uuid>ea57582f-5c62-4bcd-b250-5e21cad308e3</ae:uuid>
      <ae:internalName>SOFTWARE_ISSUES.RESOLVED</ae:internalName>
      <ae:isClosed>true</ae:isClosed>
   </ae:state>
   <ae:owner xsi:type="ae:UserIdentifier">
       <ae:displayName/>
       <ae:id>0</ae:id>
       <ae:uuid/>
       <ae:loginId/>
   </ae:owner>
   <ae:url>http://serverName:80/tmtrack/tmtrack.dll?IssuePage&amp;
   RecordId=106&amp;Template=view&amp;TableId=1000</ae:url>
</ae:item>
</ae:return>
    <ae:return>
       <ae:status>
          <ae:status>IS-ERROR</ae:status>
          <ae:message>Invalid item id 0 for table 1000.</ae:message>
       </ae:status>
    </ae:return>
<ae:return>
<ae:item>
   <ae:id xsi:type="ae:ItemIdentifier">
      <ae:displayName>BUG000173</ae:displayName>
      <ae:id>109</ae:id>
      <ae:uuid>c1e62a05-5dd1-46e7-9cdc-b91518893b23</ae:uuid>
      <ae:tableId>1000</ae:tableId>
      <ae:tableIdItemId>1000:109</ae:tableIdItemId>
      <ae:issueId>000173</ae:issueId>
   </ae:id>
   <ae:itemType>Bug Report</ae:itemType>
   <ae:project xsi:type="ae:ProjectIdentifier">
      <ae:displayName>IDM Project</ae:displayName>
      <ae:id>2</ae:id>
      <ae:uuid>0b87f347-a00c-4359-9c16-625e847bfdab</ae:uuid>
      <ae:fullyQualifiedName>Base Project||IDM Project</ae:fullyQualifiedName>
      <ae:internalName>TTT_ISSUES.IDM_PROJECT</ae:internalName>
   </ae:project>
   <ae:title>Image Builder crashes my system.</ae:title>
   <ae:description>When user logs on to Image Builder, she gets a blue
   screen.</ae:description>
   <ae:createdBy xsi:type="ae:UserIdentifier">
      <ae:displayName>Jan Lvl 2 Support</ae:displayName>
      <ae:id>18</ae:id>
      <ae:uuid>09c6aa7e-e2b9-4ff4-9377-0d4090cab4fe</ae:uuid>
      <ae:loginId>jan</ae:loginId>
   </ae:createdBy>
   <ae:createDate>2009-02-19T19:44:33Z</ae:createDate>
   <ae:modifiedBy xsi:type="ae:UserIdentifier">
      <ae:displayName>Administrator</ae:displayName>
      <ae:id>8</ae:id>
      <ae:uuid>9f9146a3-a273-4411-8000-8396688b7554</ae:uuid>
      <ae:loginId>admin</ae:loginId>
   </ae:modifiedBy>
   <ae:modifiedDate>2010-09-08T21:55:07Z</ae:modifiedDate>
   <ae:activeInactive>true</ae:activeInactive>
   <ae:state xsi:type="ae:StateIdentifier">
      <ae:displayName>Testing Issue</ae:displayName>
      <ae:id>5</ae:id>
      <ae:uuid>4c9d41b8-d5b3-49ef-a69c-d9e6320ad85a</ae:uuid>
      <ae:internalName>SOFTWARE_ISSUES.TESTING_ISSUE</ae:internalName>
      <ae:isClosed>false</ae:isClosed>
   </ae:state>
   <ae:owner xsi:type="ae:UserIdentifier">
      <ae:displayName>Rhadika Tester</ae:displayName>
      <ae:id>28</ae:id>
      <ae:uuid>43a37118-c82a-4fbd-803f-a1f0ad127c12</ae:uuid>
      <ae:loginId>rhadika</ae:loginId>
   </ae:owner>
   <ae:url>http://serverName:80/tmtrack/tmtrack.dll?IssuePage&amp;
   RecordId=109&amp;Template=view&amp;TableId=1000</ae:url>
</ae:item>