POST currency/add

Adds a new Currency

Request Information

URI Parameters

None.

Body Parameters

CurrencyAddRequest object containing the details of the currency

CurrencyAddRequest
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:
<CurrencyAddRequest 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>
</CurrencyAddRequest>

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

Response Information

Resource Description

CurrencyAddResponse

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.