Versions Compared

Key

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

...

Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32

No


Click here for more information.


SessionTicket

String

Yes


Click here for more information.

AQOEFtV1TzXKcVR0VSE/sg==

CostCardIdentities

PwsVersionedCostCardRef[]

Yes


This is the identities of a list of cost cards that will be updated with a new invoice workflow status


InvoiceWorkflowStatus

String

Yes


The invoice workflow status:

'N' for Not Approved to Invoice

'A' for Approved to Invoice

'D' for Draft Invoiced

'I' for Invoiced

A

SendApprovalEmailFlag

Boolean

No

false

If set to "true", an email will be sent informing the ??? (Finance team, Management team, Project Management team) that the invoice as been approved. ???[Luke, I need more information here ...]

false

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:PwsSetCostCardInvoiceWorkflowStatus>
         <pws:serviceRequest>
            <req:SessionTicket>AQOEFtV1TzXKcVR0VSE/sg==</req:SessionTicket>
            <tim:CostCardIdentities>
               <!--Zero or more repetitions:-->
               <tim:PwsVersionedCostCardRef>
                  <com:CostCardUid>1152921504613936990</com:CostCardUid>
               </tim:PwsVersionedCostCardRef>
            </tim:CostCardIdentities>
            <tim:InvoiceWorkflowStatus>A</tim:InvoiceWorkflowStatus>
            <tim:SendApprovalEmailFlag>false</tim:SendApprovalEmailFlag>
         </pws:serviceRequest>
      </pws:PwsSetCostCardInvoiceWorkflowStatus>
   </soapenv:Body>
</soapenv:Envelope>

...

Element

Data Type

Description

Sample Data

Messages

PwsMessage[]

Click here for more information.


ResponseId

Int32

Click here for more information.

10

Status

RequestStatus

Click here for more information.

Ok

ServerTimestampUtc

DateTime

Click here for more information.

2018-0809-22T1711T15:5022:2348.1025831Z5091758Z

CostCardIdentities

PwsCostCardRef[]

 The identity of the cost cards that have been updated.


...