GET api/currency/{id}

Returns the currency with the specified ID.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Valid currency ID.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Currency
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Code

string

None.

Sign

string

None.

EndDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "Code": "sample string 3",
  "Sign": "sample string 4",
  "EndDate": "2025-06-26T02:36:24.9222062+00:00"
}

text/html

Sample:
{"ID":1,"Name":"sample string 2","Code":"sample string 3","Sign":"sample string 4","EndDate":"2025-06-26T02:36:24.9222062+00:00"}

application/xml, text/xml

Sample:
<Currency xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.POCO">
  <Code>sample string 3</Code>
  <EndDate>2025-06-26T02:36:24.9222062+00:00</EndDate>
  <ID>1</ID>
  <Name>sample string 2</Name>
  <Sign>sample string 4</Sign>
</Currency>