POST api/Currency

Receives a validation response

Required Headers:
Authorization: Basic Http Authorization with valid Sertica credentials

Returns:
200 OK - All Currencies was found and the validation response has been accepted.
400 Bad Request - If the received Validation fails to validate. Reason will be supplied in Response Phrase
401 Unauthorized - If credentials are invalid
500 Internal Server Error - Something unexpected failed. A logentry is saved in Sertica System Log if possible

Request Information

URI Parameters

None.

Body Parameters

ExchangeRatesRoot
NameDescriptionTypeAdditional information
ExchangeRate

Collection of ExchangeRate

None.

Request Formats

application/json, text/json

Sample:
{
  "ExchangeRate": [
    null,
    {
      "SourceSystem": "sample string 1",
      "BaseCurrencyCode": "sample string 2",
      "CurrencyCode": "sample string 3",
      "BaseRate": 1,
      "ExchRate": 1.1,
      "StartingDate": "2026-01-11 09:34:41"
    }
  ]
}

application/xml, text/xml

Sample:
<ExchangeRates xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ExchangeRate>
    <SourceSystem>sample string 1</SourceSystem>
    <BaseCurrencyCode>sample string 2</BaseCurrencyCode>
    <CurrencyCode>sample string 3</CurrencyCode>
    <BaseRate>1</BaseRate>
    <ExchRate>1.1</ExchRate>
    <StartingDate>2026-01-11 09:34:41</StartingDate>
  </ExchangeRate>
</ExchangeRates>

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.