Overview
This web service retrieves a list of engagement type summary records (PwsEngagementTypeSummary), based on specified search criteria. The following parameters affect the list of engagement types retrieved:
- QueryString. Find all engagement types matching specified string in engagement type name or engagement type short name
- IncludeInactiveFlag. If true, engagement type that are marked as inactive will be returned. Otherwise, only engagement types that are not considered inactive will be returned.
- If the engagement type is specified, the identified engagement eypte will be returned (QueryString and IncludeActiveFlag will be ignored).
Request Format
- PwsGetEngagementTypeList
- serviceRequest: PwsGetEngagementTypeListRq
- RequestId: Int32
- SessionTicket: String
- EcCostCenterIdentity: PwsCostCenterRef
- EngagementTypeIdentity: PwsEngagementTypeRef
- IncludeInactiveFlag: Boolean
- MaxRowsToReturn: Int32
- QueryString: String (255)
- serviceRequest: PwsGetEngagementTypeListRq
Request Element
rElement | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | 1 | |
SessionTicket | String | Yes | Click here for more information. | Aa/HJL2aAIqnCD1DEazq8Q== | |
EcCostCenterIdentity | No | For this service, if the cost center is specified, only engagement types that are valid for the cost center will be returned. Applicable to installations in which Enterprise Configuration is enabled. | |||
EngagementTypeIdentity | No | For this service, the caller may specify up to 1 engagement type identity. If an engagement type identity is not specified all engagement types fitting the criteria will be returned. | |||
IncludeInactiveFlag | Boolean | No | true | If set to 'true', all engagement types including those that have been marked as inactive will be returned. This flag is disregarded if an engagement type is specified. | true |
MaxRowsToReturn | Int32 | No | The maximum number of engagement types to be returned. This value is disregarded if an engagement type is specified in EngagementTypeIdentity. | 3 | |
String (255) | No | A search string to narrow down the results. An engagement type will be included in the results if the search string matches the EngagementTypeName or EngagementTypeShortName. This value is disregarded if an engagement type is specified in EngagementTypeIdentity. |
Request Usage Example(s)
Response Format
- PwsGetEngagementTypeListResponse
- PwsGetEngagementTypeListResult: PwsGetEngagementTypeListRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- EngagementTypes: PwsEngagementTypeSummary[]
- PwsGetEngagementTypeListResult: PwsGetEngagementTypeListRs
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-02-28T20:58:20.9857123Z |
EngagementTypes | The engagement type summary record(s) retrieved by the service |
Response Usage Example(s)
PwsGetEngagementTypeList - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | Description |
---|---|---|
54612 | EngagementTypeNotFound | The specified engagement type does not exist. |