Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Overview


This web service retrieves an installation's expense entry parameters (PwsExpenseEntryParameters), based upon a unique SessionTicket

Request Format


PwsGetExpenseEntryParameters Request
  • PwsGetExpenseEntryParameters

Request Elements


Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32

No


Click here for more information.

SessionTicket

String

Yes 


Click here for more information.

AWtum5ZED8JRwD8cvB6SBQ==

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/">
   <soapenv:Header/>
   <soapenv:Body>
      <pws:PwsGetExpenseEntryParameters>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>AWtum5ZED8JRwD8cvB6SBQ==</req:SessionTicket>
         </pws:serviceRequest>
      </pws:PwsGetExpenseEntryParameters>
   </soapenv:Body>
</soapenv:Envelope>


Response Format


PwsGetExpenseEntryParameters 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-02-27T16:50:37.1812904Z

Parameters

PwsExpenseEntryParameters

The expense entry parameters associated with the installation


Response Usage Example(s)


Example 01
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsGetExpenseEntryParametersResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsGetExpenseEntryParametersResult 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-02-27T16:50:37.1812904Z</ServerTimestampUtc>
            <a:Parameters>
               <a:AllowAttachReceiptsToCcFlag>true</a:AllowAttachReceiptsToCcFlag>
               <a:AllowAttachReceiptsToErFlag>true</a:AllowAttachReceiptsToErFlag>
               <a:AllowCostCardsOutsideProjectDatesFlag>false</a:AllowCostCardsOutsideProjectDatesFlag>
               <a:AllowNonbillableCostCardsFlag>true</a:AllowNonbillableCostCardsFlag>
               <a:DocumentManagementEnabledFlag>true</a:DocumentManagementEnabledFlag>
               <a:FirstDayOfWeek>Sunday</a:FirstDayOfWeek>
               <a:FxRateVarianceWarningThreshold>0.1</a:FxRateVarianceWarningThreshold>
               <a:ReceiptFileSizeQuota>2097152</a:ReceiptFileSizeQuota>
               <a:RequireLocationFlag>false</a:RequireLocationFlag>
               <a:RequireNotificationFlag>false</a:RequireNotificationFlag>
               <a:Udf1>
                  <a:UdfDatatype>I</a:UdfDatatype>
                  <a:UdfRequiredFlag>false</a:UdfRequiredFlag>
                  <a:UdfValues xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
                  <a:UdfIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:UdfId i:nil="true"/>
                     <b:UdfName>Attendees</b:UdfName>
                     <b:UdfUid>1152921504606860180</b:UdfUid>
                  </a:UdfIdentity>
                  <a:UdfConnectorCode i:nil="true"/>
                  <a:UdfDetailSubstitutionCode i:nil="true"/>
                  <a:UdfItemDetailPageUrl i:nil="true"/>
                  <a:DecimalDigits>0</a:DecimalDigits>
               </a:Udf1>
               <a:Udf2>
                  <a:UdfDatatype>L</a:UdfDatatype>
                  <a:UdfRequiredFlag>false</a:UdfRequiredFlag>
                  <a:UdfValues xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
                  <a:UdfIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:UdfId i:nil="true"/>
                     <b:UdfName>Purpose</b:UdfName>
                     <b:UdfUid>1152921504606860181</b:UdfUid>
                  </a:UdfIdentity>
                  <a:UdfConnectorCode i:nil="true"/>
                  <a:UdfDetailSubstitutionCode i:nil="true"/>
                  <a:UdfItemDetailPageUrl i:nil="true"/>
                  <a:DecimalDigits i:nil="true"/>
               </a:Udf2>
               <a:UseSystemIncurredFxRatesFlag>true</a:UseSystemIncurredFxRatesFlag>
               <a:OboPermissionFlag>true</a:OboPermissionFlag>
            </a:Parameters>
         </PwsGetExpenseEntryParametersResult>
      </PwsGetExpenseEntryParametersResponse>
   </s:Body>
</s:Envelope>


PwsGetExpenseEntryParameters - Common Errors and Warnings


ErrorNumber

ErrorCode

ErrorText

10004InvalidSessionTicketThe specified session ticket is invalid. Please verify you are issuing this request against the correct instance of Projector.
  • No labels