POST api/Accounting/postSettingExchangeRate

Request Information

URI Parameters

None.

Body Parameters

mPostSettingExchangeRate
NameDescriptionTypeAdditional information
unitExchange

decimal number

Required

Baht

decimal number

Required

dateExchange

date

Required

Request Formats

application/json, text/json

Sample:
{
  "unitExchange": 1.0,
  "Baht": 2.0,
  "dateExchange": "2026-04-07T18:02:31.5556601+07:00"
}

application/xml, text/xml

Sample:
<mPostSettingExchangeRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Accounting">
  <Baht>2</Baht>
  <dateExchange>2026-04-07T18:02:31.5556601+07:00</dateExchange>
  <unitExchange>1</unitExchange>
</mPostSettingExchangeRate>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.