Versions Compared

Key

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

Overview


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


Info
titleRate Limiting

In order to protect our servers from inadvertent service overuse or intentional attack, and to fairly distribute services to all our customers, we have implemented a rate limiting algorithm.  When fully deployed, this new algorithm will cause services to either succeed with new warnings or fail with new errors when services are consumed at too high a rate.  Programs that consume Projector services should be enhanced to handle rate limiting errors so that they can continue functioning properly.  For more information please visit: Projector Rate Limiting Behavior.


Request Format


Panel
titlePwsGetExpenseEntryParameters 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)


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/">
   <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>

...

Panel
titlePwsGetExpenseEntryParameters Response

Response Elements


Element

Data Type

Description

Sample Data

Messages

PwsMessage[]

 The

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)

...

Code Block
languagexml
titleExample 01
collapsetrue
<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/">
               <b:PwsMessage>
                  <b:AdditionalErrorText>Message 136: This request was executed against the QA Marlboro [secureqa.projectorpsa.com] environment.</b:AdditionalErrorText>
                  <b:ErrorCode>NonProductionEnvironment</b:ErrorCode>
                  <b:ErrorNumber>136</b:ErrorNumber>
                  <b:ErrorText>This web service request was executed against a non-production instance of Projector.</b:ErrorText>
                  <b:Type>Information</b:Type>
                  <b:ReferenceId1 i:nil="true"/>
                  <b:ReferenceId2 i:nil="true"/>
             
 </b:PwsMessage>             </Messages>
            <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>

...

ErrorNumber

...

ErrorCode

...

ErrorText


...

PwsGetExpenseEntryParameters - Common Errors and Warnings