Web Services Developer's Guide → Web Services API Reference → SBM Application Web Services → Arguments → MultipleResponseItemOptions
MultipleResponseItemOptions holds the ResponseItemOptions type, as well as an enumeration to determine if a service should stop on failure and send an error message or continue processing.
Name | Type | Description |
---|---|---|
ResponseItemOptions | Extension. See ResponseItemOptions. | ResponseItemOptions extension base. Holds a name value pairing for future elements and enables you to limit the data returned in the response. |
multiOption | MultipleOption | Enumeration element that holds the option to continue processing or stop when an error is encountered. |
The MultipleResponseItemOptions contains the same functionality as ResponseItemOptions, but it also enables you to specify an enumeration value that determines if the service should continue processing or stop when an error is encountered.
You use the following parameters in ResponseItemOptions and the multiOption parameter to control service handling and the amount of data that is returned in the response:
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 MultipleResponseItemOptions 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:multiOption>CONTINUE-ON-FAILURE</urn:multiOption> </urn:options>
Copyright © 2007–2019 Micro Focus or one of its affiliates. All rights reserved.