GET api/{database}/Currency/{currencyId}
Gets the specified Currency.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
currencyId | The currencyId. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "messages": [], "canChange": true, "cannotChangeReason": "sample string 2", "currencyId": "sample string 3", "description": "sample string 4", "emuTypeId": "sample string 5", "euroBuyRate": 6.0, "euroExchangeRate": 7.0, "euroSellRate": 8.0, "isoCurrencyId": "sample string 9", "useDecimals": true }
application/xml, text/xml
Sample:
<Currency xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Edit"> <CanChange>true</CanChange> <CannotChangeReason>sample string 2</CannotChangeReason> <CurrencyId>sample string 3</CurrencyId> <Description>sample string 4</Description> <EmuTypeId>sample string 5</EmuTypeId> <EuroBuyRate>6</EuroBuyRate> <EuroExchangeRate>7</EuroExchangeRate> <EuroSellRate>8</EuroSellRate> <IsoCurrencyId>sample string 9</IsoCurrencyId> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <UseDecimals>true</UseDecimals> </Currency>