PwsGetResourceCostCards

Overview


This web service retrieves a list of cost cards (PwsCostCardElement), based upon multiple criteria fields and/or a resource identifier (PwsResourceRef). In addition to the cost cards present in the response, information about the invoices, locations, payee vendors, projects, receipts and vouchers represented by at least one cost card in the results are included.

Request Format


PwsGetResourceCostCards Request
  • PwsGetResourceCostCards
    • serviceRequest: PwsGetResourceCostCardsRq
      • RequestId: Int32
      • SessionTicket: String
      • ExcludeApprovedCardsBefore: DateTime
      • IncludeApprovedFlag: Boolean
      • IncludeApprovedToPayFlag: Boolean
      • IncludeDraftFlag: Boolean
      • IncludePaidFlag: Boolean
      • IncludeReceivedFlag: Boolean
      • IncludeRejectedFlag: Boolean
      • IncludeSubmittedFlag: Boolean
      • IncludeTransmittedFlag: Boolean
      • ResourceIdentity: PwsResourceRef

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.

AQ5WrtOZXd6h2ydAZlgm3g==

ExcludeApprovedCardsBefore

DateTime

No 


If specified, all approved cards prior to this date (in UTC format) will be excluded from the response.

2018-01-01T00:00:00.000Z

IncludeApprovedFlag

Boolean

No 

false

If set to 'true', approved cost cards will be included in the response.

true

IncludeApprovedToPayFlag

Boolean

No 

false 

If set to 'true', approved to pay cost cards will be included in the response.

true 

IncludeDraftFlag

Boolean

No

false 

If set to 'true', draft cost cards will be included in the response.

true 

IncludePaidFlag

Boolean

No 

false 

If set to 'true', paid cost cards will be included in the response.

true 

IncludeReceivedFlag

Boolean

No 

false 

If set to 'true', received cost cards will be included in the response.

true 

IncludeRejectedFlag

Boolean

No 

false 

If set to 'true', rejected cost cards will be included in the response.

false

IncludeSubmittedFlag

Boolean

No 

false 

If set to 'true', submitted cost cards will be included in the response.

true 

IncludeTransmittedFlag

Boolean

No 

false 

If set to 'true', transmitted cost cards will be included in the response.

false

ResourceIdentity

PwsResourceRef

No 


The resource associated with the cost cards when acting on behalf of another user. If not supplied, the cost cards of the authenticated user will be returned.


Request Usage Example(s)


Example 01
<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:PwsGetResourceCostCards>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>AQ5WrtOZXd6h2ydAZlgm3g==</req:SessionTicket>
            <tim:ExcludeApprovedCardsBefore>2018-01-01T00:00:00.000Z</tim:ExcludeApprovedCardsBefore>
            <tim:IncludeApprovedFlag>true</tim:IncludeApprovedFlag>
            <tim:IncludeApprovedToPayFlag>true</tim:IncludeApprovedToPayFlag>
            <tim:IncludeDraftFlag>true</tim:IncludeDraftFlag>
            <tim:IncludePaidFlag>true</tim:IncludePaidFlag>
            <tim:IncludeReceivedFlag>true</tim:IncludeReceivedFlag>
            <tim:IncludeRejectedFlag>false</tim:IncludeRejectedFlag>
            <tim:IncludeSubmittedFlag>true</tim:IncludeSubmittedFlag>
            <tim:IncludeTransmittedFlag>false</tim:IncludeTransmittedFlag>
         </pws:serviceRequest>
      </pws:PwsGetResourceCostCards>
   </soapenv:Body>
</soapenv:Envelope>

Response Format


PwsGetResourceCostCards 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.

1

Status

RequestStatus

Click here for more information.

Ok

ServerTimestampUtc

DateTime

Click here for more information.

2018-03-20T15:21:03.883377Z

CostCards

PwsCostCardElement[]

Detailed information about the cost cards.


Invoices

PwsExpenseEntryInvoice[]

Detailed information about all invoices associated with the returned cost cards.


Locations

PwsLocationSummary[]

The locations associated with the cost cards.


PayeeVendors

PwsVendorSummary[]

The payee vendors associated with the cost cards.


Projects

PwsExpenseEntryProject[]

The projects associated with the cost cards.


Receipts

PwsReceiptDetail[]

The receipts and/or receipt notes associated with the cost cards.


Vouchers

PwsPaymentVoucher[]

The payment vouchers associated with the cost cards.


Response Usage Example(s)


Example 01
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsGetResourceCostCardsResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsGetResourceCostCardsResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/TimeAndCost/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
            <ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-03-20T15:35:12.5480873Z</ServerTimestampUtc>
            <a:CostCards>
               <a:PwsCostCardElement>
                  <a:AdjustedRevenueAmount i:nil="true"/>
                  <a:ApprovalWorkflowStatus>A</a:ApprovalWorkflowStatus>
                  <a:ApprovedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:UserDisplayName>Beth Brown</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>Partner - 01</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607011056</b:UserUid>
                     <b:EmailAddress>beth@projectorpsa.com</b:EmailAddress>
                     <b:FirstName>Beth</b:FirstName>
                     <b:LastName>Brown</b:LastName>
                     <b:MiddleName i:nil="true"/>
                  </a:ApprovedByUser>
                  <a:ApprovedTimestamp>2018-03-20T15:20:45.237Z</a:ApprovedTimestamp>
                  <a:ApprovedToInvoiceByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:ApprovedToInvoiceTimestamp i:nil="true"/>
                  <a:BilledTimestamp i:nil="true"/>
                  <a:ClientAmount>5</a:ClientAmount>
                  <a:CostCardDetail>
                     <CostCardId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <CostCardUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504614515304</CostCardUid>
                     <ReferenceId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <a:Description>test</a:Description>
                     <a:DescriptionClearFlag>false</a:DescriptionClearFlag>
                     <a:ExpenseTypeIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:ExpenseTypeId i:nil="true"/>
                        <b:ExpenseTypeName>Other/Misc Billable</b:ExpenseTypeName>
                        <b:ExpenseTypeUid>1152921504606879705</b:ExpenseTypeUid>
                     </a:ExpenseTypeIdentity>
                     <a:IncurredAmount>5</a:IncurredAmount>
                     <a:IncurredDate>2018-03-02T00:00:00Z</a:IncurredDate>
                     <a:IncurredOpsCurrencyIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:OpsCurrencyCode>USD</b:OpsCurrencyCode>
                        <b:OpsCurrencyId i:nil="true"/>
                     </a:IncurredOpsCurrencyIdentity>
                     <a:IncurredVatAmount>0</a:IncurredVatAmount>
                     <a:LocationClearFlag>false</a:LocationClearFlag>
                     <a:LocationIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <a:NonBillableFlag>false</a:NonBillableFlag>
                     <a:OverrideClientAmount i:nil="true"/>
                     <a:OverrideClientAmountClearFlag>false</a:OverrideClientAmountClearFlag>
                     <a:PayeeVendorClearFlag>false</a:PayeeVendorClearFlag>
                     <a:PayeeVendorIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:VendorId i:nil="true"/>
                        <b:VendorName>Jack Spratt</b:VendorName>
                        <b:VendorUid>1152921504607055599</b:VendorUid>
                        <b:VendorNumber>Jack Spratt</b:VendorNumber>
                     </a:PayeeVendorIdentity>
                     <a:ProjectIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:ProjectCode>P001395-001</b:ProjectCode>
                        <b:ProjectId i:nil="true"/>
                        <b:ProjectUid>1152921504607412209</b:ProjectUid>
                     </a:ProjectIdentity>
                     <a:ResourceClearFlag>false</a:ResourceClearFlag>
                     <a:ResourceIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:ResourceDisplayName>Jack Spratt</b:ResourceDisplayName>
                        <b:ResourceId i:nil="true"/>
                        <b:ResourceReferenceSystemId>E123</b:ResourceReferenceSystemId>
                        <b:ResourceUid>1152921504607111573</b:ResourceUid>
                     </a:ResourceIdentity>
                     <a:Timestamp>AAAAAA64To8=</a:Timestamp>
                     <a:TotalAmountDisbursedCurrency>5</a:TotalAmountDisbursedCurrency>
                     <a:Udf1 xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UdfId i:nil="true"/>
                        <b:UdfName>Attendees</b:UdfName>
                        <b:UdfUid>1152921504606860180</b:UdfUid>
                        <b:BooleanValue i:nil="true"/>
                        <b:DataType>I</b:DataType>
                        <b:DateValue i:nil="true"/>
                        <b:IntegerValue i:nil="true"/>
                        <b:ResourceIdentityValue i:nil="true"/>
                        <b:TextValue i:nil="true"/>
                        <b:UdfTreatment>N</b:UdfTreatment>
                        <b:StoplightValues/>
                        <b:NumericValue i:nil="true"/>
                        <b:RelationValue i:nil="true"/>
                     </a:Udf1>
                     <a:Udf1ClearFlag>false</a:Udf1ClearFlag>
                     <a:Udf2 xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UdfId i:nil="true"/>
                        <b:UdfName>Purpose</b:UdfName>
                        <b:UdfUid>1152921504606860181</b:UdfUid>
                        <b:BooleanValue i:nil="true"/>
                        <b:DataType>L</b:DataType>
                        <b:DateValue i:nil="true"/>
                        <b:IntegerValue i:nil="true"/>
                        <b:ResourceIdentityValue i:nil="true"/>
                        <b:TextValue i:nil="true"/>
                        <b:UdfTreatment>N</b:UdfTreatment>
                        <b:StoplightValues/>
                        <b:NumericValue i:nil="true"/>
                        <b:RelationValue i:nil="true"/>
                     </a:Udf2>
                     <a:Udf2ClearFlag>false</a:Udf2ClearFlag>
                     <a:Units>1</a:Units>
                     <a:ExternalGroupingIdentifier i:nil="true"/>
                     <a:ExternalGroupingIdentifierClearFlag>false</a:ExternalGroupingIdentifierClearFlag>
                  </a:CostCardDetail>
                  <a:CreatedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:UserDisplayName>Beth Brown</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>Partner - 01</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607011056</b:UserUid>
                     <b:EmailAddress>beth@projectorpsa.com</b:EmailAddress>
                     <b:FirstName>Beth</b:FirstName>
                     <b:LastName>Brown</b:LastName>
                     <b:MiddleName i:nil="true"/>
                  </a:CreatedByUser>
                  <a:CreatedTimestamp>2018-02-28T22:05:49.3Z</a:CreatedTimestamp>
                  <a:CreditedCostCardIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:DisbursedAmountDisbursedCurrency>5</a:DisbursedAmountDisbursedCurrency>
                  <a:DisbursedAmountEngagementCurrency>5</a:DisbursedAmountEngagementCurrency>
                  <a:DocumentCount>0</a:DocumentCount>
                  <a:EngagementCurrency xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:CurrencyCode>USD</b:CurrencyCode>
                     <b:CurrencyId i:nil="true"/>
                     <b:CurrencyUid>1152921504606851838</b:CurrencyUid>
                  </a:EngagementCurrency>
                  <a:ExpenseAmount>0</a:ExpenseAmount>
                  <a:ForReportingOnlyFlag>false</a:ForReportingOnlyFlag>
                  <a:FxRate>1</a:FxRate>
                  <a:FxRateActual>1</a:FxRateActual>
                  <a:InvoiceIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:InvoiceWorkflowStatus>N</a:InvoiceWorkflowStatus>
                  <a:InvoicedAmount>0</a:InvoicedAmount>
                  <a:LastUpdatedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:UserDisplayName>Beth Brown</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>Partner - 01</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607011056</b:UserUid>
                     <b:EmailAddress>beth@projectorpsa.com</b:EmailAddress>
                     <b:FirstName>Beth</b:FirstName>
                     <b:LastName>Brown</b:LastName>
                     <b:MiddleName i:nil="true"/>
                  </a:LastUpdatedByUser>
                  <a:LastUpdatedTimestamp>2018-03-20T15:20:50.667Z</a:LastUpdatedTimestamp>
                  <a:LockedFlag>true</a:LockedFlag>
                  <a:NoteCount>0</a:NoteCount>
                  <a:RejectedByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:RejectedReason i:nil="true"/>
                  <a:RejectedTimestamp i:nil="true"/>
                  <a:RevRecAdjustmentAmount i:nil="true"/>
                  <a:RevenueAmount>0</a:RevenueAmount>
                  <a:Status>U</a:Status>
                  <a:SubmittedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:UserDisplayName>Beth Brown</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>Partner - 01</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607011056</b:UserUid>
                     <b:EmailAddress>beth@projectorpsa.com</b:EmailAddress>
                     <b:FirstName>Beth</b:FirstName>
                     <b:LastName>Brown</b:LastName>
                     <b:MiddleName i:nil="true"/>
                  </a:SubmittedByUser>
                  <a:SubmittedTimestamp>2018-02-28T22:05:49.437Z</a:SubmittedTimestamp>
                  <a:SystemRatePerMileageUnit>0.575</a:SystemRatePerMileageUnit>
                  <a:UnitCost>5</a:UnitCost>
                  <a:UnitPrice>5</a:UnitPrice>
                  <a:VatAmountDisbursedCurrency>0</a:VatAmountDisbursedCurrency>
                  <a:VoucherIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:PaymentVoucherId i:nil="true"/>
                     <b:PaymentVoucherNumber>PVER00722</b:PaymentVoucherNumber>
                     <b:PaymentVoucherUid>1152921504607609481</b:PaymentVoucherUid>
                  </a:VoucherIdentity>
                  <a:WipAmount i:nil="true"/>
                  <a:ChargeableFlag>true</a:ChargeableFlag>
                  <a:DisbursingCostCenterIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:CostCenterId i:nil="true"/>
                     <b:CostCenterName>Executive Team (USA)</b:CostCenterName>
                     <b:CostCenterNumber>Executive Team (USA)</b:CostCenterNumber>
                     <b:CostCenterUid>1152921504606867363</b:CostCenterUid>
                  </a:DisbursingCostCenterIdentity>
                  <a:EngagementCurrencyDecimalDigits>2</a:EngagementCurrencyDecimalDigits>
                  <a:EngagementTypeBillableFlag>true</a:EngagementTypeBillableFlag>
                  <a:IncurredCurrencyDecimalDigits>2</a:IncurredCurrencyDecimalDigits>
                  <a:ManagementData>
                     <a:AccountingPeriodClosedFlag>false</a:AccountingPeriodClosedFlag>
                     <a:ApprovalWorkflowFlag>true</a:ApprovalWorkflowFlag>
                     <a:ApproverFlag>false</a:ApproverFlag>
                     <a:ApproverToInvoiceFlag>true</a:ApproverToInvoiceFlag>
                     <a:ApproverToPayFlag>false</a:ApproverToPayFlag>
                     <a:ApproversCanRejectApprovedExpensesFlag>false</a:ApproversCanRejectApprovedExpensesFlag>
                     <a:AutoApprovalFlag>false</a:AutoApprovalFlag>
                     <a:AutoApprovalToInvoiceFlag>false</a:AutoApprovalToInvoiceFlag>
                     <a:AutoApprovalToPayFlag>false</a:AutoApprovalToPayFlag>
                     <a:AwsApprovedStatusAllowedFlag>false</a:AwsApprovedStatusAllowedFlag>
                     <a:AwsDraftStatusAllowedFlag>true</a:AwsDraftStatusAllowedFlag>
                     <a:AwsRejectedStatusAllowedFlag>true</a:AwsRejectedStatusAllowedFlag>
                     <a:AwsSubmittedStatusAllowedFlag>true</a:AwsSubmittedStatusAllowedFlag>
                     <a:CanAdjustFlag>true</a:CanAdjustFlag>
                     <a:CanEditFlag>false</a:CanEditFlag>
                     <a:ClientIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:ClientId i:nil="true"/>
                        <b:ClientNumber>PR-PSA</b:ClientNumber>
                        <b:ClientUid>1152921504606961482</b:ClientUid>
                     </a:ClientIdentity>
                     <a:ClientName>Projector PSA</a:ClientName>
                     <a:DisbursedCurrencyDecimalDigits>2</a:DisbursedCurrencyDecimalDigits>
                     <a:DisbursedCurrencyIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:CurrencyCode>USD</b:CurrencyCode>
                        <b:CurrencyId i:nil="true"/>
                        <b:CurrencyUid>1152921504606851838</b:CurrencyUid>
                     </a:DisbursedCurrencyIdentity>
                     <a:DisbursingCostCenterIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:CostCenterId i:nil="true"/>
                        <b:CostCenterName>Executive Team (USA)</b:CostCenterName>
                        <b:CostCenterNumber>Executive Team (USA)</b:CostCenterNumber>
                        <b:CostCenterUid>1152921504606867363</b:CostCenterUid>
                     </a:DisbursingCostCenterIdentity>
                     <a:EditSubmitFlag>false</a:EditSubmitFlag>
                     <a:ExpenseDocumentIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:DocumentNumber>ER00722</b:DocumentNumber>
                        <b:ExpenseDocumentId i:nil="true"/>
                        <b:ExpenseDocumentUid>1152921504607683576</b:ExpenseDocumentUid>
                     </a:ExpenseDocumentIdentity>
                     <a:ExpenseDocumentName>Expense report created 27 Feb 2018 - B</a:ExpenseDocumentName>
                     <a:ExpenseDocumentTimestamp>AAAAAA64Ku8=</a:ExpenseDocumentTimestamp>
                     <a:ExpenseDocumentType>E</a:ExpenseDocumentType>
                     <a:ExpenseDocumentVatFlag>false</a:ExpenseDocumentVatFlag>
                     <a:IwsApprovedStatusAllowedFlag>true</a:IwsApprovedStatusAllowedFlag>
                     <a:IwsDraftInvoiceStatusAllowedFlag>false</a:IwsDraftInvoiceStatusAllowedFlag>
                     <a:IwsInvoicedStatusAllowedFlag>false</a:IwsInvoicedStatusAllowedFlag>
                     <a:IwsUnapprovedStatusAllowedFlag>false</a:IwsUnapprovedStatusAllowedFlag>
                     <a:MileageUom>M</a:MileageUom>
                     <a:PwsApprovedStatusAllowedFlag>true</a:PwsApprovedStatusAllowedFlag>
                     <a:PwsPaidStatusAllowedFlag>false</a:PwsPaidStatusAllowedFlag>
                     <a:PwsReceivedStatusAllowedFlag>true</a:PwsReceivedStatusAllowedFlag>
                     <a:PwsTransmittedStatusAllowedFlag>true</a:PwsTransmittedStatusAllowedFlag>
                     <a:PwsUnapprovedStatusAllowedFlag>true</a:PwsUnapprovedStatusAllowedFlag>
                  </a:ManagementData>
                  <a:PaymentVoucherPaymentWorkflowStatus>P</a:PaymentVoucherPaymentWorkflowStatus>
                  <a:ProjectName>New Web Services Project (A)</a:ProjectName>
                  <a:DefaultVatPercentage>0</a:DefaultVatPercentage>
               </a:PwsCostCardElement>
            </a:CostCards>
            <a:Invoices/>
            <a:Locations xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
            <a:PayeeVendors xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:PwsVendorSummary>
                  <b:VendorId i:nil="true"/>
                  <b:VendorName>Jack Spratt</b:VendorName>
                  <b:VendorUid>1152921504607055599</b:VendorUid>
                  <b:VendorNumber>Jack Spratt</b:VendorNumber>
                  <b:ExpenseReportPayeeFlag>true</b:ExpenseReportPayeeFlag>
                  <b:InactiveFlag>false</b:InactiveFlag>
                  <b:ResourceVendorFlag>true</b:ResourceVendorFlag>
                  <b:VendorInvoicePayeeFlag>false</b:VendorInvoicePayeeFlag>
                  <b:SubcontractorInvoicePayeeFlag>true</b:SubcontractorInvoicePayeeFlag>
               </b:PwsVendorSummary>
            </a:PayeeVendors>
            <a:Projects>
               <a:PwsExpenseEntryProject>
                  <ProjectCode xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">P001395-001</ProjectCode>
                  <ProjectId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <ProjectUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607412209</ProjectUid>
                  <a:BookedResourcesOnlyFlag>false</a:BookedResourcesOnlyFlag>
                  <a:EarliestRoleStartDate>2018-01-01T00:00:00Z</a:EarliestRoleStartDate>
                  <a:EngagementDescriptor>
                     <EngagementCode xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">E001395</EngagementCode>
                     <EngagementId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <EngagementUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607324698</EngagementUid>
                     <a:ClientDescriptor>
                        <ClientId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <ClientNumber xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">PR-PSA</ClientNumber>
                        <ClientUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504606961482</ClientUid>
                        <a:ClientName>Projector PSA</a:ClientName>
                        <a:ParentClientDescriptor i:nil="true"/>
                     </a:ClientDescriptor>
                     <a:EngagementManager xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserDisplayName>Jack Spratt</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>E123</b:UserReferenceSystemId>
                        <b:UserUid>1152921504607112369</b:UserUid>
                        <b:EmailAddress>jack@revcorp.bb</b:EmailAddress>
                        <b:FirstName>Jack</b:FirstName>
                        <b:LastName>Spratt</b:LastName>
                        <b:MiddleName i:nil="true"/>
                     </a:EngagementManager>
                     <a:EngagementName>Web Services Engagement</a:EngagementName>
                     <a:EngagementTypeDescriptor>
                        <EngagementTypeId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <EngagementTypeName xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">Billable - Time and Materials</EngagementTypeName>
                        <EngagementTypeShortName xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">TandM</EngagementTypeShortName>
                        <EngagementTypeUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504606863884</EngagementTypeUid>
                        <a:BillableFlag>true</a:BillableFlag>
                     </a:EngagementTypeDescriptor>
                     <a:EngagementCurrencyDecimalDigits>2</a:EngagementCurrencyDecimalDigits>
                     <a:EngagementCurrencyIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:CurrencyCode>USD</b:CurrencyCode>
                        <b:CurrencyId i:nil="true"/>
                        <b:CurrencyUid>1152921504606851838</b:CurrencyUid>
                     </a:EngagementCurrencyIdentity>
                  </a:EngagementDescriptor>
                  <a:LatestRoleEndDate i:nil="true"/>
                  <a:LocationIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:LocationId i:nil="true"/>
                     <b:LocationName>USA</b:LocationName>
                     <b:LocationUid>1152921504606855985</b:LocationUid>
                  </a:LocationIdentity>
                  <a:OpenForCostFlag>true</a:OpenForCostFlag>
                  <a:ProjectCloseDate i:nil="true"/>
                  <a:ProjectDescription>New Web Services Project (A) - 2018</a:ProjectDescription>
                  <a:ProjectManager xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:UserDisplayName>Jack Spratt</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>E123</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607112369</b:UserUid>
                     <b:EmailAddress>jack@revcorp.bb</b:EmailAddress>
                     <b:FirstName>Jack</b:FirstName>
                     <b:LastName>Spratt</b:LastName>
                     <b:MiddleName i:nil="true"/>
                  </a:ProjectManager>
                  <a:ProjectName>New Web Services Project (A)</a:ProjectName>
                  <a:ProjectOpenDate>2018-01-01T00:00:00Z</a:ProjectOpenDate>
                  <a:ProjectStageIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:ProjectStageId i:nil="true"/>
                     <b:ProjectStageName>Delivery</b:ProjectStageName>
                     <b:ProjectStageShortName>Delivery</b:ProjectStageShortName>
                     <b:ProjectStageUid>1152921504606853304</b:ProjectStageUid>
                  </a:ProjectStageIdentity>
                  <a:RoleCount>1</a:RoleCount>
                  <a:Udf1InactiveFlag>false</a:Udf1InactiveFlag>
                  <a:Udf1Values xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
                  <a:Udf2InactiveFlag>false</a:Udf2InactiveFlag>
                  <a:Udf2Values xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                     <b:string>Celebration</b:string>
                     <b:string>Team Building</b:string>
                     <b:string>Client Meeting</b:string>
                     <b:string>Other</b:string>
                  </a:Udf2Values>
                  <a:AllowBookingFlag>true</a:AllowBookingFlag>
                  <a:Udf1DefaultValue i:nil="true"/>
                  <a:Udf2DefaultValue i:nil="true"/>
                  <a:ExpenseTypeIdentities xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:PwsExpenseTypeRef>
                        <b:ExpenseTypeId i:nil="true"/>
                        <b:ExpenseTypeName>Meals</b:ExpenseTypeName>
                        <b:ExpenseTypeUid>1152921504606878415</b:ExpenseTypeUid>
                     </b:PwsExpenseTypeRef>
                     <b:PwsExpenseTypeRef>
                        <b:ExpenseTypeId i:nil="true"/>
                        <b:ExpenseTypeName>Other/Misc Billable</b:ExpenseTypeName>
                        <b:ExpenseTypeUid>1152921504606879705</b:ExpenseTypeUid>
                     </b:PwsExpenseTypeRef>
                     <b:PwsExpenseTypeRef>
                        <b:ExpenseTypeId i:nil="true"/>
                        <b:ExpenseTypeName>Meals and Entertainment</b:ExpenseTypeName>
                        <b:ExpenseTypeUid>1152921504606881279</b:ExpenseTypeUid>
                     </b:PwsExpenseTypeRef>
                     <b:PwsExpenseTypeRef>
                        <b:ExpenseTypeId i:nil="true"/>
                        <b:ExpenseTypeName>Travel</b:ExpenseTypeName>
                        <b:ExpenseTypeUid>1152921504606881280</b:ExpenseTypeUid>
                     </b:PwsExpenseTypeRef>
                  </a:ExpenseTypeIdentities>
               </a:PwsExpenseEntryProject>
            </a:Projects>
            <a:Receipts/>
            <a:Vouchers>
               <a:PwsPaymentVoucher>
                  <PaymentVoucherId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <PaymentVoucherNumber xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">PVER00722</PaymentVoucherNumber>
                  <PaymentVoucherUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607609481</PaymentVoucherUid>
                  <a:ApprovedToPayByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:UserDisplayName>Beth Brown</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>Partner - 01</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607011056</b:UserUid>
                     <b:EmailAddress>beth@projectorpsa.com</b:EmailAddress>
                     <b:FirstName>Beth</b:FirstName>
                     <b:LastName>Brown</b:LastName>
                     <b:MiddleName i:nil="true"/>
                  </a:ApprovedToPayByUser>
                  <a:ApprovedToPayTimestamp>2018-03-20T15:20:51.503Z</a:ApprovedToPayTimestamp>
                  <a:CashAdvanceAmount>0</a:CashAdvanceAmount>
                  <a:PaidByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:UserDisplayName>Beth Brown</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>Partner - 01</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607011056</b:UserUid>
                     <b:EmailAddress>beth@projectorpsa.com</b:EmailAddress>
                     <b:FirstName>Beth</b:FirstName>
                     <b:LastName>Brown</b:LastName>
                     <b:MiddleName i:nil="true"/>
                  </a:PaidByUser>
                  <a:PaidTimestamp>2018-03-20T15:20:55.103Z</a:PaidTimestamp>
                  <a:PayeeVendor xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:VendorId i:nil="true"/>
                     <b:VendorName>Jack Spratt</b:VendorName>
                     <b:VendorUid>1152921504607055599</b:VendorUid>
                     <b:VendorNumber>Jack Spratt</b:VendorNumber>
                     <b:ExpenseReportPayeeFlag>true</b:ExpenseReportPayeeFlag>
                     <b:InactiveFlag>false</b:InactiveFlag>
                     <b:ResourceVendorFlag>true</b:ResourceVendorFlag>
                     <b:VendorInvoicePayeeFlag>false</b:VendorInvoicePayeeFlag>
                     <b:SubcontractorInvoicePayeeFlag>true</b:SubcontractorInvoicePayeeFlag>
                  </a:PayeeVendor>
                  <a:PaymentWorkflowStatus>P</a:PaymentWorkflowStatus>
                  <a:ReceivedByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:ReceivedTimestamp i:nil="true"/>
                  <a:TransmittedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:UserDisplayName>Beth Brown</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>Partner - 01</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607011056</b:UserUid>
                     <b:EmailAddress>beth@projectorpsa.com</b:EmailAddress>
                     <b:FirstName>Beth</b:FirstName>
                     <b:LastName>Brown</b:LastName>
                     <b:MiddleName i:nil="true"/>
                  </a:TransmittedByUser>
                  <a:TransmittedTimestamp>2018-03-20T15:20:55.103Z</a:TransmittedTimestamp>
                  <a:CanMarkReceivedFlag>true</a:CanMarkReceivedFlag>
                  <a:ApPaymentInformation>Pay to Jack</a:ApPaymentInformation>
                  <a:ApVoucherNumber>P123</a:ApVoucherNumber>
                  <a:DisbursedAmount>5</a:DisbursedAmount>
                  <a:DisbursedCurrency xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:CurrencyCode>USD</b:CurrencyCode>
                     <b:CurrencyId i:nil="true"/>
                     <b:CurrencyUid>1152921504606851838</b:CurrencyUid>
                  </a:DisbursedCurrency>
                  <a:DisbursingCostCenterIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:CostCenterId i:nil="true"/>
                     <b:CostCenterName>Executive Team (USA)</b:CostCenterName>
                     <b:CostCenterNumber>Executive Team (USA)</b:CostCenterNumber>
                     <b:CostCenterUid>1152921504606867363</b:CostCenterUid>
                  </a:DisbursingCostCenterIdentity>
                  <a:ReconciliationCompleteFlag>false</a:ReconciliationCompleteFlag>
                  <a:ExpenseDocuments>
                     <a:PwsPaymentVoucherExpenseDocument>
                        <a:DocumentType>E</a:DocumentType>
                        <a:ExpenseDocumentIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:DocumentNumber>ER00722</b:DocumentNumber>
                           <b:ExpenseDocumentId i:nil="true"/>
                           <b:ExpenseDocumentUid>1152921504607683576</b:ExpenseDocumentUid>
                        </a:ExpenseDocumentIdentity>
                        <a:ExpenseDocumentName>Expense report created 27 Feb 2018 - B</a:ExpenseDocumentName>
                     </a:PwsPaymentVoucherExpenseDocument>
                  </a:ExpenseDocuments>
               </a:PwsPaymentVoucher>
            </a:Vouchers>
         </PwsGetResourceCostCardsResult>
      </PwsGetResourceCostCardsResponse>
   </s:Body>
</s:Envelope>

PwsGetResourceCostCards - Common Errors and Warnings


ErrorNumber

ErrorCode

ErrorText

50223NoPermissionToActOnBehalfOfResourceThe specified user does not have permission to act on behalf of this resource.
57545ResourceNotFoundThe specified resource does not exist.