PUT api/currencyExchange

Request Information

URI Parameters

None.

Body Parameters

CurrencyExchangeModel
NameDescriptionTypeAdditional information
CurrencyExchangeId

integer

None.

CorporateId

integer

None.

CorporateName

string

None.

CurrencySourceId

integer

None.

CurrencySource

string

None.

CurrencyId

integer

None.

Currency

string

None.

SourceType

string

None.

Date

date

None.

Other

string

None.

ExchangeRate

decimal number

None.

SourceValue

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CurrencyExchangeId": 1,
  "CorporateId": 2,
  "CorporateName": "sample string 3",
  "CurrencySourceId": 4,
  "CurrencySource": "sample string 5",
  "CurrencyId": 6,
  "Currency": "sample string 7",
  "SourceType": "sample string 8",
  "Date": "2024-12-14T22:37:47.5433448+00:00",
  "Other": "sample string 9",
  "ExchangeRate": 10.0,
  "SourceValue": "sample string 11"
}

application/xml, text/xml

Sample:
<CurrencyExchangeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.Models">
  <CorporateId>2</CorporateId>
  <CorporateName>sample string 3</CorporateName>
  <Currency>sample string 7</Currency>
  <CurrencyExchangeId>1</CurrencyExchangeId>
  <CurrencyId>6</CurrencyId>
  <CurrencySource>sample string 5</CurrencySource>
  <CurrencySourceId>4</CurrencySourceId>
  <Date>2024-12-14T22:37:47.5433448+00:00</Date>
  <ExchangeRate>10</ExchangeRate>
  <Other>sample string 9</Other>
  <SourceType>sample string 8</SourceType>
  <SourceValue>sample string 11</SourceValue>
</CurrencyExchangeModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.