Overview
This web service retrieves an installation's expense entry parameters (PwsExpenseEntryParameters), based upon a unique SessionTicket
Request Format
- PwsGetExpenseEntryParameters
- serviceRequest: PwsGetExpenseEntryParametersRq
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. | AWtum5ZED8JRwD8cvB6SBQ== |
Request Usage Example(s)
<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
- PwsGetExpenseEntryParametersResponse
- PwsGetExpenseEntryParametersResult: PwsGetExpenseEntryParametersRs
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. |
|
Status | RequestStatus | Click here for more information. |
|
ServerTimestampUtc | DateTime | Click here for more information. |
|
Parameters | PwsExpenseEntryParameters | The expense entry parameters associated with the installation |
|
Response Usage Example(s)
<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>
PwsGetExpenseEntryParameters - Common Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|
10004 | InvalidSessionTicket | The specified session ticket is invalid. Please verify you are issuing this request against the correct instance of Projector. |