PwsGetExpenseTypeGroupList
Overview
This web service retrieves a list of expense type group summary records (PwsExpenseTypeGroupSummary), based on specified search criteria. The following parameters affect the list of expense type groups retrieved:
- QueryString. Find all expense type groups matching specified string in expense type group name or expense type group code
- IncludeInactiveFlag. If true, expense type groups that are set to inactive will be included in the search. Otherwise, only active expense type groups will be returned.
- ExpenseTypeGroupIdentity. If specified, the identified expense type group will be returned (QueryString and IncludeClosedFlag will be ignored).
Request Format
- PwsGetExpenseTypeGroupList
- serviceRequest: PwsGetExpenseTypeGroupListRq
- RequestId: Int32
- SessionTicket: String
- ExpenseTypeGroupIdentity: PwsExpenseTypeGroupRef
- IncludeInactiveFlag: Boolean
- MaxRowsToReturn: Int32
- QueryString: String (255)
- serviceRequest: PwsGetExpenseTypeGroupListRq
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. | Aa/HJL2aAIqnCD1DEazq8Q== | |
ExpenseTypeGroupIdentity | No | The unique keys used to identify the expense type group to be retrieved . | |||
IncludeInactiveFlag | Boolean | No | true | If set to 'true', inactive expense type groups will be returned in the results. This input will be disregarded if ExpenseTypeGroupIdentity is specified. | true |
MaxRowsToReturn | Int32 | No | The maximum number of expense type groups this service will return. This input will be disregarded if ExpenseTypeGroupIdentity is specified. | 10 | |
String (255) | No | A search string to narrow down the results. An expense type group will be included in the results if the search string matches the expense type group name. This value is disregarded if an expense type group name is specified in ExpenseTypeGroupIdentity. This input will be disregarded if ExpenseTypeGroupIdentity is specified. | Software |
Request Usage Example(s)
Response Format
- PwsGetExpenseTypeGroupListResponse
- PwsGetExpenseTypeGroupListResult: PwsGetExpenseTypeGroupListRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- ExpenseTypeGroups: PwsExpenseTypeGroupSummary[]
- PwsGetExpenseTypeGroupListResult: PwsGetExpenseTypeGroupListRs
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-27T20:47:46.2964588ZÂ |
ExpenseTypeGroups | The expense type group summary records that were fetched by the service |
Response Usage Example(s)
PwsGetExpenseTypeGroupList - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | Description |
---|---|---|
59947 | SpecifiedExpenseTypeGroupNotFound | The specified expense type group was not found. |