exchange-rates
Operations addressed under /exchange-rates — 6 operations.
update-exchange-rate
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_EXCRT_3 | 400 | EXCHANGE_RATE_IS_NOT_FOUND |
update-exchange-rate › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.
create-exchange-rate
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_EXCRT_1 | 400 | THERE_IS_ALREADY_RATE_FOR_GIVEN_CURRENCY_PAIR_CODE |
create-exchange-rate › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.
get-exchange-rates-by-currency-pair
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as ExchangeRateDto.
| Field | Declared type | Nullable |
|---|---|---|
RateDate | DateOnly | no |
ExchangeRates | List<ExchangeRateItem> (collection) | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_EXCRT_2 | 400 | EXCHANGE_RATE_IS_NOT_FOUND_FOR_GIVEN_INPUTS |
path Parameters
currencyPairCodequery Parameters
orderByorderSortpageIndexpageSizerateDatespreadTypePermitted values — validated against the spread_type parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | General | tr: General |
2 | Central Bank | tr: central_bank |
get-exchange-rates-by-currency-pair › Responses
Success. The catalog declares this returns a single record. Of 25 operations in this state with a probeable route, 8 answered and 6 returned a single record — the other two returned a collection and a bare boolean.
rateDateget-exchange-rates-by-spread-type
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as ExchangeRateSpreadTypeDto.
| Field | Declared type | Nullable |
|---|---|---|
RateDate | DateOnly? | yes |
ExchangeRates | List<ExchangeRateSpreadTypeItem> (collection) | no |
Member names are the service's declaration names.
path Parameters
spreadTypePermitted values — validated against the spread_type parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | General | tr: General |
2 | Central Bank | tr: central_bank |
Permitted values — validated against the spread_type parameter.
| Value | Meaning |
|---|---|
1 | General |
2 | Central Bank |
query Parameters
currencyNumberrateDateget-exchange-rates-by-spread-type › Responses
Success. An exact, uniquely bound route registration classifies this response as a single-record.
get-convert-currency
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
query Parameters
fromAmountfromCurrencyNumberisEffectiverateDaterateTypePermitted values — validated against the exchange_rate_type parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | Bid | tr: Müşteriye Alış kuru |
2 | Ask | tr: Müşteriye Satış kuru |
spreadTypePermitted values — validated against the spread_type parameter. The service rejects any other value.
| Value | Token | Labels |
|---|---|---|
1 | General | tr: General |
2 | Central Bank | tr: central_bank |
toCurrencyNumberget-convert-currency › Responses
Success. The catalog declares this returns a single record. Of 25 operations in this state with a probeable route, 8 answered and 6 returned a single record — the other two returned a collection and a bare boolean.
exchangeRatefromAmountfromCurrencyNumberrateTimetoAmounttoCurrencyNumberconvert-currency
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as IEnumerable<ConvertCurrencyDto>.
| Field | Declared type | Nullable |
|---|---|---|
RateTime | DateTime? | yes |
FromCurrencyNumber | string | no |
ToCurrencyNumber | string | no |
FromAmount | decimal? | yes |
ToAmount | decimal? | yes |
ExchangeRate | decimal? | yes |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_EXCRT_3 | 400 | EXCHANGE_RATE_IS_NOT_FOUND |
ERR_EXCRT_6 | 400 | CURRENCY_PAIR_NOT_FOUND |
convert-currency › Responses
Success. An exact, uniquely bound route registration classifies this response as a collection.