Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
titlePwsGetExpenseTypes Request
  • PwsGetExpenseTypes
    • serviceRequest: PwsGetExpenseTypesRq
      • RequestId: Int32
      • SessionTicket: String
      • IncludeHardCostsFlag: Boolean
      • IncludeInactiveFlag: Boolean
      • IncludeMileageCostsFlag: Boolean
      • IncludeSoftCostsFlag: Boolean
      • IncludeVendorInvoiceCostsFlag: Boolean
      • ResourceIdentity: PwsResourceRef
      • IncludeSubcontractorInvoiceCostsFlag: Boolean

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

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

PwsResourceRef

No


??? 

true 

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
languagexml
titleExample 01
collapsetrue
<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
titlePwsGetExpenseTypes Response

Response Elements


Element

Data Type

Description

Sample Data

Messages

PwsMessage

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.

Ok 

ServerTimestampUtc

DateTime

Click here for more information.

2018-02-28T18:50:42.6296994Z 

ExpenseTypes

PwsExpenseType

This structure represents the fields associated with an expense type

 


Response Usage Example(s)

...

ErrorNumber

ErrorCode

ErrorText

65168SpecifiedResourceDoesNotMatchExpenseReportResourceThe resource display name for an expense report mapping item must match the expense report resource.