Overview
This web service retrieves a list of expense document approvers (PwsProjectElement), based upon a list of unique cost centers (PwsCostCenterRef), or an expense document (PwsExpenseDocumentRef), or a list of unique cost centers (PwsProjectElement),or a resource identity (PwsResourceRef)
Request Format
- PwsGetExpenseDocumentApprovers
- serviceRequest: PwsGetExpenseDocumentApproversRq
- RequestId: Int32
- SessionTicket: String
- DisbursingCostCenterIdentity: PwsCostCenterRef
- ExpenseDocumentIdentity: PwsExpenseDocumentRef
- ProjectIdentities: PwsProjectRef
- ResourceIdentity: PwsResourceRef
- DocumentType: String
- serviceRequest: PwsGetExpenseDocumentApproversRq
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 | AXSG6rN0j9gBkWbkRw6OpQ== | |
DisbursingCostCenterIdentity | One of DisbursingCostCenterIdentity or ExpenseDocumentIdentity is required | For this service, the caller may specify a disbursing cost center identity to retrieve a a list of users that can approve expense documents associated with the disbursing cost center | |||
ExpenseDocumentIdentity | See DisbursingCostCenterIdentity | For this service, the caller may specify an expense document to retrieve a a list of users that can approve expenses on the expense document | |||
ProjectIdentities | No | For this service, the caller may specify one or more projects to retrieve a a list of users that can approve expense documents associated with the project(s) | |||
ResourceIdentity | No | For this service, the caller may specify a resource to retrieve a list of users that can approve expense documents associated with the resource. This can only be specified if the document type is an expense report (i.e. "E"). | |||
DocumentType | String | Yes | The expense document type: "E" for Expense Report "C" for Subcontractor Invoice "V" for Vendor Invoice "S" for Soft Cost Batch | E |
Request Usage Example(s)
Response Format
- PwsGetExpenseDocumentApproversResponse
- PwsGetExpenseDocumentApproversResult: PwsGetExpenseDocumentApproversRs
- Messages: PwsMessage
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- ApprovalSets: PwsApprovalSet
- PwsGetExpenseDocumentApproversResult: PwsGetExpenseDocumentApproversRs
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 | |
Status | RequestStatus | Click here for more information | |
ServerTimestampUtc | DateTime | Click here for more information | |
ApprovalSets | The complete set of unique identifying information about an expense document approver |
Response Usage Example(s)
PwsGetExpenseDocumentApprovers - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
19021 | ExpenseDocumentOrDisbursingCostCenterRequired | Must specify either an expense document or a disbursing cost center for retrieving approvers. |
65686 | CanOnlyRetrieveApproversForExistingExpenseReports | Approvers can only be retrieved for existing non-ER expense documents. |
65818 | ResourceMismatchSelectingApprovers | The specified resource does not match the resource associated with the specified expense document. |
65819 | ResourceMayOnlyBeSpecifiedForExpenseReports | A resource identity may only be specified when retrieving approvers for an expense report. |
65820 | ExpenseDocumentRefOrResourceRefRequiredForExpenseReports | Please specify either an expense document identity or a resource identity, or both. When retrieving approvers for an expense report. |