Versions Compared

Key

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

...

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:PwsMarkPaymentVouchersReceived>
         <pws:serviceRequest>
            <req:SessionTicket>AZiT3IQ6HBrx52tFGD+G1A==</req:SessionTicket>
            <tim:PaymentVoucherIdentity>
               <com:PaymentVoucherNumber>PVER00161</com:PaymentVoucherNumber>
            </tim:PaymentVoucherIdentity>
            <tim:ReceivedFlag>true</tim:ReceivedFlag>
            <tim:ResourceIdentity>
               <com:ResourceDisplayName>Min Zeng</com:ResourceDisplayName>
            </tim:ResourceIdentity>
         </pws:serviceRequest>
      </pws:PwsMarkPaymentVouchersReceived>
   </soapenv:Body>
</soapenv:Envelope>



Response Format

Panel
titlePwsMarkPaymentVouchersReceivedRs

...

Code Block
languagexml
titleExample 01
collapsetrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsMarkPaymentVouchersReceivedResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsMarkPaymentVouchersReceivedResult 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/">0</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-03-26T17:56:47.0673082Z</ServerTimestampUtc>
            <a:Vouchers>
               <a:PwsReceivedPaymentVoucher>
                  <a:Amount>13</a:Amount>
                  <a:EffectiveStatus>C</a:EffectiveStatus>
                  <a:ItemCount>1</a:ItemCount>
                  <a:PaymentVoucher>
                     <PaymentVoucherId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <PaymentVoucherNumber xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">PVER00161</PaymentVoucherNumber>
                     <PaymentVoucherUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607398897</PaymentVoucherUid>
                     <a:ApprovedToPayByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserDisplayName>PPSA Support User</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>000</b:UserReferenceSystemId>
                        <b:UserUid>1152921504606944261</b:UserUid>
                        <b:EmailAddress>support@projectorpsa.com</b:EmailAddress>
                        <b:FirstName>PPSA Support User</b:FirstName>
                        <b:LastName>PPSA Support User</b:LastName>
                        <b:MiddleName>PPSA Support User</b:MiddleName>
                     </a:ApprovedToPayByUser>
                     <a:ApprovedToPayTimestamp>2014-12-23T18:08:09.36Z</a:ApprovedToPayTimestamp>
                     <a:CashAdvanceAmount>0</a:CashAdvanceAmount>
                     <a:PaidByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <a:PaidTimestamp i:nil="true"/>
                     <a:PayeeVendor xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:VendorId i:nil="true"/>
                        <b:VendorName>Min Zeng</b:VendorName>
                        <b:VendorUid>1152921504606886624</b:VendorUid>
                        <b:VendorNumber>Min Zeng</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>C</a:PaymentWorkflowStatus>
                     <a:ReceivedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserDisplayName>Bruce Wayne</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>BW-01</b:UserReferenceSystemId>
                        <b:UserUid>1152921504606950320</b:UserUid>
                        <b:EmailAddress>bruce@revcorp.doc</b:EmailAddress>
                        <b:FirstName>Bruce</b:FirstName>
                        <b:LastName>Wayne</b:LastName>
                        <b:MiddleName i:nil="true"/>
                     </a:ReceivedByUser>
                     <a:ReceivedTimestamp>2018-03-26T17:56:47.13Z</a:ReceivedTimestamp>
                     <a:TransmittedByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <a:TransmittedTimestamp i:nil="true"/>
                     <a:CanMarkReceivedFlag>true</a:CanMarkReceivedFlag>
                  </a:PaymentVoucher>
                  <a:ProjectSummary i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:ExpenseDocumentIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:DocumentNumber>ER00161</b:DocumentNumber>
                     <b:ExpenseDocumentId i:nil="true"/>
                     <b:ExpenseDocumentUid>1152921504607449694</b:ExpenseDocumentUid>
                  </a:ExpenseDocumentIdentity>
               </a:PwsReceivedPaymentVoucher>
            </a:Vouchers>
         </PwsMarkPaymentVouchersReceivedResult>
      </PwsMarkPaymentVouchersReceivedResponse>
   </s:Body>
</s:Envelope>


Common Errors and Warnings

...

ErrorNumberErrorCodeErrorText
19011ExpenseDocumentAndPaymentVoucherMayNotBothBeSpecifiedMust specify an expense document or a payment voucher, but not both.