Versions Compared

Key

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

Overview

This structure is used in response of a web service (ex. PwsGetCurrencies). It contains the basic information of a currency and Fx rate against another currency if provided in the web service. represents a conversion rate (often referred to as an F/X rate) between the currecy referenced within the structure and a contextual currency. The contextual currency is determined, for example, by parameters passed to the web service that returns this data (ex. PwsGetCurrencies). 

Format

Panel
titlePwsCurrencyRate

...

Element

Data Type

Description

Sample Data

Currency

PwsOpsCurrencySummary

The basic information of a system currency.


FxRate

Double

The F/X rate between this and another currency provided in a web service request.

0.022222222222222223

Usage Example(s)


Code Block
languagexml
titleExample 01 - Warning
collapsetrue
               <a:PwsCurrencyRate>
                  <a:Currency xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:OpsCurrencyCode>JPY</b:OpsCurrencyCode>
                     <b:OpsCurrencyId i:nil="true"/>
                     <b:CurrencyIdentity>
                        <b:CurrencyCode>JPY</b:CurrencyCode>
                        <b:CurrencyId i:nil="true"/>
                        <b:CurrencyUid>1152921504606850741</b:CurrencyUid>
                     </b:CurrencyIdentity>
                     <b:CurrencyName>Japanese Yen</b:CurrencyName>
                     <b:DecimalDigits>0</b:DecimalDigits>
                     <b:InactiveFlag>false</b:InactiveFlag>
                     <b:InstallationCurrencyInactiveFlag>false</b:InstallationCurrencyInactiveFlag>
                  </a:Currency>
                  <a:FxRate>0.022222222222222223</a:FxRate>
               </a:PwsCurrencyRate>

...