PUT api/Configuration/Currencies/{code}

Edit a currency

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

Currency code

string

Required

Body Parameters

CurrencyEdit
NameDescriptionTypeAdditional information
Exchange

Exchange rate

decimal number

Required

Above: 0

Request Formats

Sample:
{
  "Exchange": 2.1
}
Sample:
<CurrencyEdit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.Parametrizacao">
  <Exchange>2.1</Exchange>
  <code>sample string 1</code>
</CurrencyEdit>
Sample:

Sample not available.

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="code"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Exchange"

2.1
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.