Web Services Developer's Guide → Web Services API Reference → SBM Application Web Services → Responses → ReportResult
The ReportResult type contains the actual item data returned in a report. The ReportResult type parameters are listed below.
Name | Type | Description |
---|---|---|
itemURL | string | This is the URL for the item returned in the report results. |
item | ItemIdentifier | The item described in the report. |
fieldValue | FieldWithValue | Holds the field type and field value for each field returned in the report results. |
The ReportResult is sent back in response to RunReport. ReportResult contains the URL for each item returned by the report. You can pre-pend http://serverName/tmtrack/ to the itemURL contents and access the item from the SBM User Workspace. For every column defined in the report, the field type and field value are returned as well in the fieldValue element.
The following XML snippet shows ReportResult in the return element of the RunReport response.
<ae:result>
<ae:itemURL>tmtrack.dll?IssuePage&RecordId=40&
→Template=view&TableId=1000</ae:itemURL>
<ae:item xsi:type="ae:ItemIdentifier">
<ae:displayName>BUG000077</ae:displayName>
<ae:id>40</ae:id>
<ae:uuid>2841fdfb-9db3-43bb-a2e1-3bd54b64dbac</ae:uuid>
<ae:tableId>1000</ae:tableId>
<ae:tableIdItemId>1000:40</ae:tableIdItemId>
<ae:issueId>000077</ae:issueId>
</ae:item>
<ae:fieldValue xsi:type="ae:FieldWithValue">
<ae:field xsi:type="ae:FieldIdentifier">
<ae:displayName>Item Id</ae:displayName>
<ae:id>53</ae:id>
<ae:uuid>8a46043d-8cff-4871-a106-f0646ed3c58f</ae:uuid>
<ae:dbName>ISSUEID</ae:dbName>
</ae:field>
<ae:fieldType>FLDTYPE-TEXT</ae:fieldType>
<ae:attribute>0</ae:attribute>
<ae:properties>0</ae:properties>
<ae:value>
<ae:displayValue>BUG000077</ae:displayValue>
<ae:internalValue>000077</ae:internalValue>
<ae:uuid/>
</ae:value>
</ae:fieldValue>
<ae:fieldValue xsi:type="ae:FieldWithValue">
<ae:field xsi:type="ae:FieldIdentifier">
<ae:displayName>Title</ae:displayName>
<ae:id>54</ae:id>
<ae:uuid>9bf79ebb-c66f-43dc-b608-5edc0677d4ca</ae:uuid>
<ae:dbName>TITLE</ae:dbName>
</ae:field>
<ae:fieldType>FLDTYPE-TEXT</ae:fieldType>
<ae:attribute>0</ae:attribute>
<ae:properties>0</ae:properties>
<ae:value>
<ae:displayValue>Scanner feature is not working correctly</ae:displayValue>
<ae:internalValue>Scanner feature is not working correctly</ae:internalValue>
<ae:uuid/>
</ae:value>
</ae:fieldValue>
</ae:result>
Copyright © 2007–2017 Serena Software, Inc. All rights reserved.