GET banking/exchangerates/{id}/{date}?bank={bank}&forcurrency={forcurrency}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
date | date |
Required |
|
bank | integer |
None. |
|
forcurrency | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
ExchangeRateName | Description | Type | Additional information |
---|---|---|---|
Year | integer |
None. |
|
ID | integer |
None. |
|
Date | date |
None. |
|
BankID | integer |
None. |
|
CurrencyID | integer |
None. |
|
Currency | Currency |
None. |
|
ForCurrencyID | integer |
None. |
|
ForCurrency | Currency |
None. |
|
BuyingRate | decimal number |
None. |
|
Rate | decimal number |
None. |
|
SellingRate | decimal number |
None. |
|
Audit | Audit |
None. |
Response Formats
application/json, text/json
Sample:
{ "Year": 1, "ID": 2, "Date": "2025-04-03T07:10:52.7357638+00:00", "BankID": 4, "CurrencyID": 5, "Currency": { "ID": 1, "Code": "sample string 2", "Name": "sample string 3", "Sign": "sample string 4", "Lookup": "sample string 5" }, "ForCurrencyID": 6, "ForCurrency": { "ID": 1, "Code": "sample string 2", "Name": "sample string 3", "Sign": "sample string 4", "Lookup": "sample string 5" }, "BuyingRate": 7.0, "Rate": 8.0, "SellingRate": 9.0, "Audit": { "AddUser": 1, "AddTime": "2025-04-03T07:10:52.7357638+00:00", "EditUser": 1, "EditTime": "2025-04-03T07:10:52.7357638+00:00" } }
text/xml
Sample:
<ExchangeRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Banking"> <Audit xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d2p1:AddTime>2025-04-03T07:10:52.7357638+00:00</d2p1:AddTime> <d2p1:AddUser>1</d2p1:AddUser> <d2p1:EditTime>2025-04-03T07:10:52.7357638+00:00</d2p1:EditTime> <d2p1:EditUser>1</d2p1:EditUser> </Audit> <BankID>4</BankID> <BuyingRate>7</BuyingRate> <Currency xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common"> <d2p1:Code>sample string 2</d2p1:Code> <d2p1:ID>1</d2p1:ID> <d2p1:Lookup>sample string 5</d2p1:Lookup> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:Sign>sample string 4</d2p1:Sign> </Currency> <CurrencyID>5</CurrencyID> <Date>2025-04-03T07:10:52.7357638+00:00</Date> <ForCurrency xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common"> <d2p1:Code>sample string 2</d2p1:Code> <d2p1:ID>1</d2p1:ID> <d2p1:Lookup>sample string 5</d2p1:Lookup> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:Sign>sample string 4</d2p1:Sign> </ForCurrency> <ForCurrencyID>6</ForCurrencyID> <ID>2</ID> <Rate>8</Rate> <SellingRate>9</SellingRate> <Year>1</Year> </ExchangeRate>