POST api/FinancesSap/GetExchangeRate

Request Information

URI Parameters

None.

Body Parameters

ExchangeRateQueryModel
NameDescriptionTypeAdditional information
DovizTipi

string

None.

Date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "DovizTipi": "sample string 1",
  "Date": "2026-05-08T21:47:38.0602027+03:00"
}

application/xml, text/xml

Sample:
<ExchangeRateQueryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ugur.RestApi2.Models">
  <Date>2026-05-08T21:47:38.0602027+03:00</Date>
  <DovizTipi>sample string 1</DovizTipi>
</ExchangeRateQueryModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ExchangeRateQueryModel'.

Response Information

Resource Description

ExchangeRateItem
NameDescriptionTypeAdditional information
Tarih

date

None.

Doviz

string

None.

Kur

decimal number

None.

MANDT

string

None.

KURST

string

None.

FCURR

string

None.

TCURR

string

None.

GDATU

string

None.

UKURS

decimal number

None.

FFACT

decimal number

None.

TFACT

decimal number

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Error getting value from 'Tarih' on 'GM.SAP.Models.ExchangeRateItem'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Error getting value from 'Tarih' on 'GM.SAP.Models.ExchangeRateItem'.

application/xml, text/xml

Sample:
<ExchangeRateItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GM.SAP.Models">
  <_x003C_FCURR_x003E_k__BackingField>sample string 3</_x003C_FCURR_x003E_k__BackingField>
  <_x003C_FFACT_x003E_k__BackingField>7</_x003C_FFACT_x003E_k__BackingField>
  <_x003C_GDATU_x003E_k__BackingField>sample string 5</_x003C_GDATU_x003E_k__BackingField>
  <_x003C_KURST_x003E_k__BackingField>sample string 2</_x003C_KURST_x003E_k__BackingField>
  <_x003C_MANDT_x003E_k__BackingField>sample string 1</_x003C_MANDT_x003E_k__BackingField>
  <_x003C_TCURR_x003E_k__BackingField>sample string 4</_x003C_TCURR_x003E_k__BackingField>
  <_x003C_TFACT_x003E_k__BackingField>8</_x003C_TFACT_x003E_k__BackingField>
  <_x003C_UKURS_x003E_k__BackingField>6</_x003C_UKURS_x003E_k__BackingField>
</ExchangeRateItem>