Overview
This web service retrieves a list of engagement summary records (PwsEngagementSummary), based on specified search criteria. The following parameters affect the list of engagements retrieved:
- QueryString. Find all engagements matching specified string in engagement name or engagement code, client name or code (for engagement's client and any of it's parent clients) or project name or code (for projects that are part of the engagement).
- IncludeClosedFlag. If true, engagements that are open or closed according to the current engagement stage settings will be returned. Otherwise, only engagements that are not considered closed will be returned.
- EngagementId/EngagementUid/EngagementCode. If specified, the identified engagement will be returned (QueryString and IncludeClosedFlag will be ignored).
Request Format
- PwsGetEngagementList
- serviceRequest: PwsGetEngagementListRq
- RequestId: Int32
- SessionTicket: String
- EngagementIdentity: PwsEngagementRef
- IncludeClosedFlag: Boolean
- MaxRowsToReturn: Int32
- QueryString: String
- LastUpdatedSinceTimestamp: DateTime
- PurchaseOrderNumber: String
- serviceRequest: PwsGetEngagementListRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | 1 | |
SessionTicket | String | Yes | Click here for more information. | Ab54WRQ1LlgW9CoQrXhyzw== | |
EngagementIdentity | No | The unique keys used to identify the engagement(s) to be retrieved. Click here for more information. | |||
IncludeClosedFlag | Boolean | Yes | false | If set to 'true', engagements that are open or closed according to the current engagement stage settings will be returned. Otherwise, only engagements that are not considered closed will be returned. This flag is disregarded if an engagement is specified.
| true |
MaxRowsToReturn | Int32 | No | The maximum number of engagements to be retrieved. This flag is disregarded if an engagement is specified. | 5 | |
QueryString | String | No | A search string to narrow down the results. An engagement will be included in the results if the search string matches the engagement code or engagement name. This value is disregarded if a cost center is specified in EngagementIdentity. Click here for more information. | ||
LastUpdatedSinceTimestamp | DateTime | No | Only engagements that have been updated on or after the specified date/time will be retrieved. This flag is disregarded if an engagement is specified. | 2018-01-01 | |
PurchaseOrderNumber | String | No | The purchase order number(s) associated with the engagement(s). This flag is disregarded if an engagement is specified. |
Request Usage Example(s)
Response Format
- PwsGetEngagementListResponse
- PwsGetEngagementListResult: PwsGetEngagementListRs
- Messages: PwsMessage
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- Engagements: PwsEngagementSummary [0..infinity]
- PwsGetEngagementListResult: PwsGetEngagementListRs
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information. | ||
ResponseId | Int32 | Click here for more information. | 1 |
Status | Click here for more information. | Ok | |
ServerTimestampUtc | DateTime | Click here for more information. | 2018-01-19T16:51:13.0252909Z |
Engagements | PwsEngagementSummary [0..infinity] | The engagement summary records that were fetched by the service. Click here for more information. |
Response Usage Example(s)
PwsGetEngagementList - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | Description |
---|---|---|
104 | RowCountExceeded | Exceeded maximum row count |
10100 | MaxRowsToReturnOutOfRange | Invalid value specified for MaxRowsToReturn |
50045 | ViewPermissionDenied | Permission denied |
54024 | UnexpectedErrorRetrievingEngagementList | Unexpected error retrieving engagement list |
54061 | EngagementNotFound | Specified engagement not found |
54370 | NoPermissionToViewEngagement | Permission denied to view specific engagement |