Web Services Developer's Guide → Web Services API Reference → SBM Application Web Services → Arguments → ResponseItemOptions
ResponseItemOptions holds the Options type and it enables you to limit the data that is returned in a response.
Name | Type | Description |
---|---|---|
options | Extension. See Options. | Options extension base. Holds a name value pairing for future elements. |
sections | SectionsOption | Enumeration element that controls the sections of an item that should be returned. |
specifiedSections | string | If SECTIONS-SPECIFIED is used in the sections element above, enter the specified section or sections here. The available options are described below in the Usage section. |
limitedField | FieldIdentifier | Enables you to limit the return results based on one or more fields that you identify. |
The ResponseItemOptions type is used to limit the return results based on item sections or specific fields that you identify.
You use the following parameters to control the amount of data that is returned in the response:
In the sections parameter, specify one of the following enumeration options:
You can use a comma-separated list in specifiedSections to return only the sections of an item you want. For example:
<urn:specifiedSections>SECTION:FIXED,SECTION:EXTENDED</urn:specifiedSections>
This ensures that only the fixed and extended sections of an item are returned. Here are some of the possible sections you can specify:
<urn:specifiedSections>SECTION:ATTACHMENTS</urn:specifiedSections>
<urn:limitedField> <urn:displayName>Severity</urn:displayName> <urn:id>69</urn:id> <urn:uuid>f4eff572-2e29-4d7f-8478-8e9e16865c2c</urn:uuid> <urn:dbName>SEVERITY</urn:dbName> </urn:limitedField>
The following XML shows ResponseItemOptions in the <urn:options> element of a typical call.
<urn:options> <urn:extraOption> <urn:name></urn:name> <urn:value></urn:value> </urn:extraOption> <urn:sections>SECTIONS-SPECIFIED</urn:sections> <urn:specifiedSections>SECTION:EXTENDED</urn:specifiedSections> <urn:limitedField></urn:limitedField> </urn:options>
Copyright © 2007–2017 Serena Software, Inc. All rights reserved.