PUT currency/update

Updates an existing currency

Request Information

URI Parameters

None.

Body Parameters

CurrencyUpdateRequest object contains the fields to be updated

CurrencyUpdateRequest
NameDescriptionTypeAdditional information
CurrencyId

string

None.

Name

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CurrencyId": "sample string 1",
  "Name": "sample string 2",
  "IsActive": true
}

application/xml, text/xml

Sample:
<CurrencyUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects.OrganizationObjects">
  <IsActive xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects">true</IsActive>
  <CurrencyId>sample string 1</CurrencyId>
  <Name>sample string 2</Name>
</CurrencyUpdateRequest>

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

Response Information

Resource Description

CurrencyUpdateResponse

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.