Overview
This web service retrieves a list of expense types (PwsExpenseDocumentPwsExpenseType).
Request Format
Panel | ||
---|---|---|
| ||
|
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. | Ad9FlVn3Ywb5bdt3cQE3tg== | ||||
IncludeHardCostsFlag | Boolean | No | false | If set to 'true', expense types enabled for expense report entry are included in the results. | true |
IncludeInactiveFlag | Boolean | No | false | If set to 'true', inactive expense types are included in the results. Inactive expense types are expense types that are not enabled for expense reports (as either hard costs or mileage items), soft cost batches, vendor invoices or subcontractor invoices. | true |
IncludeMileageCostsFlag | Boolean | No | false | If set to 'true', mileage expense types are included in the results. | true |
IncludeSoftCostsFlag | Boolean | No | false | If set to 'true', expense types enabled for soft costs are included in the results. | true |
IncludeVendorInvoiceCostsFlag | Boolean | No | false | If set to 'true', expense types enabled for vendor invoices are included in the results. | true |
ResourceIdentity | No |
???
true
** This field has been deprecated. | |||||
IncludeSubcontractorInvoiceCostsFlag | Boolean | No | false | If set to 'true', expense types enabled for subcontractor invoices are included in the results. | true |
Request Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:tim="http://projectorpsa.com/DataContracts/Shared/TimeAndCost/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/"> <soapenv:Header/> <soapenv:Body> <pws:PwsGetExpenseTypes> <pws:serviceRequest> <req:RequestId>1</req:RequestId> <req:SessionTicket>Ad9FlVn3Ywb5bdt3cQE3tg==</req:SessionTicket> <tim:IncludeHardCostsFlag>true</tim:IncludeHardCostsFlag> <tim:IncludeInactiveFlag>true</tim:IncludeInactiveFlag> <tim:IncludeMileageCostsFlag>true</tim:IncludeMileageCostsFlag> <tim:IncludeSoftCostsFlag>true</tim:IncludeSoftCostsFlag> <tim:IncludeVendorInvoiceCostsFlag>true</tim:IncludeVendorInvoiceCostsFlag> <tim:IncludeSubcontractorInvoiceCostsFlag>true</tim:IncludeSubcontractorInvoiceCostsFlag> </pws:serviceRequest> </pws:PwsGetExpenseTypes> </soapenv:Body> </soapenv:Envelope> |
...
Panel | ||
---|---|---|
| ||
|
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-28T18:50:42.6296994Z |
ExpenseTypes | This structure represents the fields associated with an expense type |
Response Usage Example(s)
...
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
65168 | SpecifiedResourceDoesNotMatchExpenseReportResource | The resource display name for an expense report mapping item must match the expense report resource. |