POST api/Common/SaveExchangeRate
Request Information
URI Parameters
None.
Body Parameters
ExchangeRate| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| SourceCurrency | string |
Required String length: inclusive between 0 and 50 |
|
| TargetCurrency | string |
Required String length: inclusive between 0 and 50 |
|
| Rate | decimal number |
None. |
|
| DateCreated | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"SourceCurrency": "sample string 2",
"TargetCurrency": "sample string 3",
"Rate": 4.0,
"DateCreated": "2026-02-10 07:39"
}
application/xml, text/xml
Sample:
<ExchangeRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flynet.Common.DataContracts"> <DateCreated>2026-02-10T07:39:09.141636-06:00</DateCreated> <Id>1</Id> <Rate>4</Rate> <SourceCurrency>sample string 2</SourceCurrency> <TargetCurrency>sample string 3</TargetCurrency> </ExchangeRate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.