Web Services Developer's Guide → Web Services API Reference → SBM Application Web Services → Application Calls → GetSubmitProjects
This service returns a list of projects into which the user can submit. If a table ID is provided, only projects from that table are listed.
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. |
table (optional) | TableIdentifier | Specify a table to limit the projects that are returned. |
ProjectData (a list of projects, if multiple are available) is returned in the response. See ProjectData for more information.
The project or projects that are returned are limited by the table you specify. Only projects available to the user are returned. Use CreatePrimaryItems to submit after the desired project is found.
The following XML is a snippet of the payload that is sent with GetSubmitProjects.
<urn:GetSubmitProjects> <urn:auth> <urn:userId>admin</urn:userId> <urn:password></urn:password> <urn:hostname></urn:hostname> <urn:loginAsUserId></urn:loginAsUserId> </urn:auth> <urn:table> <urn:displayName>Issues</urn:displayName> <urn:id>1000</urn:id> <urn:uuid></urn:uuid> <urn:dbName>UBG_ISSUES</urn:dbName> </urn:table> </urn:GetSubmitProjects>
Copyright © 2007–2017 Serena Software, Inc. All rights reserved.