PwsGetProjectList
Overview
This web service retrieves a list of project summary records (PwsProjectSummary), based on specified search criteria. The following parameters affect the list of projects retrieved:
- QueryString: Find all projects matching specified string in project's code or name, associated contract line item code or name, the associated engagement code or name, or the client name or number for the associated engagement's client or any parent client thereof.
- IncludeClosedFlag: If set to 'true', projects that are considered closed according to the project stage settings will be included in the results. Otherwise, only projects that are considered open will be included.
- LastUpdatedTimestamp: If specified, only projects updated on after the specified timestamp will be included.
- ProjectIdentity: If specified, only the identified project will be returned. QueryString, IncludeClosedFlag and LastUpdatedTimestamp will be ignored.
Rate Limiting
In order to protect our servers from inadvertent service overuse or intentional attack, and to fairly distribute services to all our customers, we have implemented a rate limiting algorithm. When fully deployed, this new algorithm will cause services to either succeed with new warnings or fail with new errors when services are consumed at too high a rate. Programs that consume Projector services should be enhanced to handle rate limiting errors so that they can continue functioning properly. For more information please visit: Projector Rate Limiting Behavior.
Request Format
- PwsGetProjectList
- serviceRequest: PwsGetProjectListRq
- RequestId: Int32
- SessionTicket: String
- IncludeClosedFlag: Boolean
- MaxRowsToReturn: Int32
- ProjectIdentity: PwsProjectRef
- QueryString: String (255)
- LastUpdatedSinceTimestamp: DateTime
- serviceRequest: PwsGetProjectListRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
Int32 | No | Click here for more information. | |||
String | Yes | Click here for more information. | ARM5cmQi4CD5BoGl6bHk4w== | ||
IncludeClosedFlag | Boolean | No | false | If set to 'true', projects that are considered closed according to the project stage settings will be included. Otherwise, only projects that are considered open will be included. This flag is disregarded if a project is specified in ProjectIdentity. | false |
MaxRowsToReturn | Int32 | No | The maximum number of projects to be retrieved. This value is disregarded if a project is specified in ProjectIdentity. | 10 | |
ProjectIdentity | No | May be specified to retrieve a single project summary. Click here for more information. | |||
String (255) | No | A search string to narrow down the results. A project will be included in the results if the search string matches the project's code or name, of if it matches the associated contract line item code or name, or if it matches the associated engagement code or name, of if it matches the client name or number for the associated engagement's client or any parent client thereof. This value is disregarded if a project is specified in ProjectIdentity. | P001053-001|P001053-002 | ||
LastUpdatedSinceTimestamp | DateTime | No | Only projects that have been updated after the specified date/time will be retrieved. This value is disregarded if a project is specified in ProjectIdentity. | 2018-01-01z |
Request Usage Example(s)
Response Format
- PwsGetProjectListResponse
- PwsGetProjectListResult: PwsGetProjectListRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- Projects: PwsProjectSummary[]
- PwsGetProjectListResult: PwsGetProjectListRs
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information. | ||
Int32 | Click here for more information. | ||
Status | RequestStatus | Click here for more information | Ok |
DateTime | Click here for more information. | 2018-02-01T18:08:41.8772809Z | |
Projects | The project summary records that were fetched by the service. Click here for more information. |
Response Usage Example(s)
PwsGetProjectList - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | Description |
---|---|---|
104 | RowCountExceeded | Not all data rows were returned by this request because the specified row count was smaller than the total number of rows available. |
54282 | ProjectNotFound | Specified project does not exist. |