API
Türkçe

API reference · General and lookups

List currencies

Returns the active currencies with their ID, code and name.

POST https://out.stockmount.com/api/General/GetCurrencies

The list is the same for every account. There is no paging and the order is not guaranteed.

Only active currencies are returned. The internal "unknown" entry (CurrencyId 1) is not listed.

Use these values wherever a currency ID (CurrencyId) is expected. Some IDs defined as constants in code: 2 = US dollar, 3 = Euro, 4 = Turkish lira.

Only ApiCode is read from the request body.

Request fields

Field Type Description
ApiCode required string Session code returned by DoLogin.

Response fields (Response)

Field Type Description
CurrencyId integer Currency ID.
Code string Currency code.
Name string Currency name.

Error codes for this endpoint

CodeWhen
99999 An unexpected server-side error occurred (e.g. a database error). On this endpoint ErrorMessage is usually empty.

For session errors (00001, 00006) and every other code see error codes.

Related endpoints

Example request

{
  "ApiCode": "API_CODE"
}

Example response

{
  "Result": true,
  "Response": [
    {
      "CurrencyId": 2,
      "Code": "USD",
      "Name": "Amerikan Doları"
    },
    {
      "CurrencyId": 3,
      "Code": "EUR",
      "Name": "Euro"
    },
    {
      "CurrencyId": 4,
      "Code": "TRY",
      "Name": "Türk Lirası"
    }
  ]
}

Try it

The request goes straight from your browser to out.stockmount.com. The ApiCode is not stored by this site; it is kept only while this tab is open.

Get an ApiCode before sending requests.

Use ↑ ↓ to move, Enter to open, Esc to close.

Connect to the Out API

DoLogin is called and the returned ApiCode is kept in this tab. Your API password is never sent to this site.