GET api/currency?skip={skip}&take={take}&nameOrCode={nameOrCode}&all={all}
Returns all of the currencies with names containing the specified substring.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
skip |
How many initial items to skip in the result set. |
integer |
Default value is 0 |
take |
How many items to take from the result set. |
integer |
Default value is 0 |
nameOrCode |
Currency name or code to search for as a substring. |
string |
None. |
all |
Fetch all currencies. |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
CurrencyDTOName | Description | Type | Additional information |
---|---|---|---|
text |
Same as currency code |
string |
None. |
value |
Same as currency ID. |
string |
None. |
ID |
Currency ID. |
integer |
None. |
Name |
Currency name. |
string |
None. |
Code |
Currency code. |
string |
None. |
Sign |
Currency sign. |
string |
None. |
EndDate |
Ending validity date for the currency. |
date |
None. |
Response Formats
application/json, text/json
Sample:
{ "text": "sample string 1", "value": "sample string 2", "ID": 3, "Name": "sample string 4", "Code": "sample string 5", "Sign": "sample string 6", "EndDate": "2025-06-26T02:36:24.8888354+00:00" }
text/html
Sample:
{"text":"sample string 1","value":"sample string 2","ID":3,"Name":"sample string 4","Code":"sample string 5","Sign":"sample string 6","EndDate":"2025-06-26T02:36:24.8888354+00:00"}
application/xml, text/xml
Sample:
<CurrencyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs"> <Code>sample string 5</Code> <EndDate>2025-06-26T02:36:24.8888354+00:00</EndDate> <ID>3</ID> <Name>sample string 4</Name> <Sign>sample string 6</Sign> <text>sample string 1</text> <value>sample string 2</value> </CurrencyDTO>