POST api/MarketRates

Request Information

URI Parameters

None.

Body Parameters

MarketRate
NameDescriptionTypeAdditional information
ID

integer

None.

ClientCode

string

String length: inclusive between 0 and 20

BaseCurrencyCode

string

Required

String length: inclusive between 0 and 10

RangeMax

decimal number

None.

RateAdjustment

decimal number

None.

RangeEffectiveDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "ClientCode": "sample string 2",
  "BaseCurrencyCode": "sample string 3",
  "RangeMax": 1.0,
  "RateAdjustment": 4.0,
  "RangeEffectiveDate": "2025-05-09T17:45:43.1428588+00:00"
}

application/xml, text/xml

Sample:
<MarketRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric">
  <BaseCurrencyCode>sample string 3</BaseCurrencyCode>
  <ClientCode>sample string 2</ClientCode>
  <ID>1</ID>
  <RangeEffectiveDate>2025-05-09T17:45:43.1428588+00:00</RangeEffectiveDate>
  <RangeMax>1</RangeMax>
  <RateAdjustment>4</RateAdjustment>
</MarketRate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MarketRate
NameDescriptionTypeAdditional information
ID

integer

None.

ClientCode

string

String length: inclusive between 0 and 20

BaseCurrencyCode

string

Required

String length: inclusive between 0 and 10

RangeMax

decimal number

None.

RateAdjustment

decimal number

None.

RangeEffectiveDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "ClientCode": "sample string 2",
  "BaseCurrencyCode": "sample string 3",
  "RangeMax": 1.0,
  "RateAdjustment": 4.0,
  "RangeEffectiveDate": "2025-05-09T17:45:43.1428588+00:00"
}

application/xml, text/xml

Sample:
<MarketRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric">
  <BaseCurrencyCode>sample string 3</BaseCurrencyCode>
  <ClientCode>sample string 2</ClientCode>
  <ID>1</ID>
  <RangeEffectiveDate>2025-05-09T17:45:43.1428588+00:00</RangeEffectiveDate>
  <RangeMax>1</RangeMax>
  <RateAdjustment>4</RateAdjustment>
</MarketRate>