Web Services Developer's Guide → Web Services API Reference → SBM Application Web Services → Application Calls → GetItem
This service returns a single item, given the table ID and item ID.
Argument | Type | Description |
---|---|---|
auth (optional) | Auth | The Auth type supplies credentials and optionally, a host name for licensing. The userId and password can be specified with HTTP BASIC or WS-SECURITY instead. |
itemId (required) | ItemIdentifier | The item that should be returned. |
options (optional) | ResponseItemOptions | Enables you to limit the data that is returned in the response. |
TTItemHolder is returned for the item that is specified in the call. The itemIdentifier, which shows the unique TS_ID for the record and TS_ID of the table to which it belongs is displayed. For more detail, see TTItemHolder.
The GetItem call enables you to see a snapshot of an auxiliary or primary item, without invoking any actual changes against the specified item. To return results, you must provide the table ID and either one of the elements in the itemIdentifier or the issueId for the item.
You can use the following elements in the options argument to control the service handling and response:
For more information on the options elements, see ResponseItemOptions.
The following XML is a snippet of the payload that is sent with GetItem.
<urn:GetItem> <urn:auth> <urn:userId>admin</urn:userId> <urn:password></urn:password> <urn:hostname></urn:hostname> <urn:loginAsUserId></urn:loginAsUserId> <urn:extendedData> <urn:data> <urn:name></urn:name> <urn:value></urn:value> </urn:data> </urn:extendedData> </urn:auth> <urn:itemId> <urn:displayName>BUG000164</urn:displayName> <urn:id>106</urn:id> <urn:uuid></urn:uuid> <urn:tableId>1000</urn:tableId> <urn:tableIdItemId>1000:106</urn:tableIdItemId> <urn:issueId>000164</urn:issueId> </urn:itemId> <urn:options> <urn:extraOption> <urn:name></urn:name> <urn:value></urn:value> </urn:extraOption> <urn:sections>SECTIONS-SPECIFIED</urn:sections> <urn:specifiedSections>SECTION:FIXED</urn:specifiedSections> <urn:limitedField> <urn:displayName></urn:displayName> <urn:id></urn:id> <urn:uuid></urn:uuid> <urn:dbName></urn:dbName> </urn:limitedField> </urn:options> </urn:GetItem>
Copyright © 2007–2019 Micro Focus or one of its affiliates. All rights reserved.