Read accounts

GET /accounts

Read a list of accounts, including their details.

Headers

Query parameters

  • query string

    Filters accounts containing the specified keyword(-s) within their name or number properties. For example, a GET request /accounts/?query=salary would return accounts with "salary" in their name or number.

Responses

GET /accounts
curl \
 -X GET https://rest.api.24sevenoffice.com/v1/accounts \
 -H "Authorization: string"
Response examples (200)
# Headers
Access-Control-Allow-Origin: string
Access-Control-Allow-Credentials: string
X-Trace-Id: string

# Payload
[
  {
    "id": 1000001,
    "number": 1900,
    "name": "Cash, NOK"
  },
  {
    "id": 1000002,
    "number": 1920,
    "name": "Bank Account"
  },
  {
    "id": 2000001,
    "number": 1500,
    "name": "Accounts Receivable"
  }
]