GET api/Configuration/Currencies

List all currencies

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Currency
NameDescriptionTypeAdditional information
Code

Currency code

string

None.

Description

Currency description

string

None.

Exchange

Exchange rate

decimal number

None.

Global

True if it's the global currency

boolean

None.

Response Formats

Sample:
[
  {
    "Code": "EU",
    "Description": "Euro",
    "Exchange": 1.0,
    "Global": true
  },
  {
    "Code": "US",
    "Description": "Dollar",
    "Exchange": 1.1,
    "Global": false
  }
]
Sample:
<ArrayOfCurrency xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.Parametrizacao">
  <Currency>
    <Code>EU</Code>
    <Description>Euro</Description>
    <Exchange>1</Exchange>
    <Global>true</Global>
  </Currency>
  <Currency>
    <Code>US</Code>
    <Description>Dollar</Description>
    <Exchange>1.1</Exchange>
    <Global>false</Global>
  </Currency>
</ArrayOfCurrency>
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Code"

EU
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Description"

Euro
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Exchange"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Global"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Code"

US
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Description"

Dollar
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Exchange"

1.1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Global"

False
--MultipartDataMediaFormatterBoundary1q2w3e--