POST api/Common/SaveExchangeRate
Request Information
URI Parameters
None.
Body Parameters
ExchangeRateName | 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": "2025-08-21 16:10" }
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>2025-08-21T16:10:37.6739323-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.