POST api/purchase/setting/add
Request Information
URI Parameters
None.
Body Parameters
m_Add_Currency| Name | Description | Type | Additional information |
|---|---|---|---|
| fromCurrencyId | integer |
None. |
|
| toCurrencyId | integer |
None. |
|
| fromRate | decimal number |
None. |
|
| toRate | decimal number |
None. |
|
| dateExchange | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"fromCurrencyId": 1,
"toCurrencyId": 2,
"fromRate": 3.0,
"toRate": 4.0,
"dateExchange": "2026-04-07T18:04:25.6047891+07:00"
}
application/xml, text/xml
Sample:
<m_Add_Currency xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Purchase.Setting"> <dateExchange>2026-04-07T18:04:25.6047891+07:00</dateExchange> <fromCurrencyId>1</fromCurrencyId> <fromRate>3</fromRate> <toCurrencyId>2</toCurrencyId> <toRate>4</toRate> </m_Add_Currency>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.