POST api/TablesManagement/ADURate?pType={pType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pType

string

Required

Body Parameters

CurrencyRate
NameDescriptionTypeAdditional information
currency_code

integer

None.

currencyRate_dateActual

date

None.

currencyRate_rate

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "currency_code": 1,
  "currencyRate_dateActual": "2024-11-21T11:56:49.7569345+02:00",
  "currencyRate_rate": 3.0
}

application/xml, text/xml

Sample:
<CurrencyRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <currencyRate_dateActual>2024-11-21T11:56:49.7569345+02:00</currencyRate_dateActual>
  <currencyRate_rate>3</currencyRate_rate>
  <currency_code>1</currency_code>
</CurrencyRate>

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 'CurrencyRate'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

CurrencyRate
NameDescriptionTypeAdditional information
currency_code

integer

None.

currencyRate_dateActual

date

None.

currencyRate_rate

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "currency_code": 1,
  "currencyRate_dateActual": "2024-11-21T11:56:49.7569345+02:00",
  "currencyRate_rate": 3.0
}

application/xml, text/xml

Sample:
<CurrencyRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <currencyRate_dateActual>2024-11-21T11:56:49.7569345+02:00</currencyRate_dateActual>
  <currencyRate_rate>3</currencyRate_rate>
  <currency_code>1</currency_code>
</CurrencyRate>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.