GET /companies/{companySlug}/accounts
Changed onRetrieves the bookkeeping accounts for the current year
Request
- Base URLhttps://api.fiken.no/api/v2
- URLhttps://api.fiken.no/api/v2/companies/{companySlug}/accounts
- AuthOAuth 2Authorization code: https://fiken.no/oauth/authorizeToken URL: https://fiken.no/oauth/token
Query parameters
Filter parameter specifying which account numbers to return. Specify using the from and to parameters (excluding subaccount).
Filter parameter specifying which account numbers to return. Specify using the from and to parameters (excluding subaccount).
Returns the number of the page to return. Valid page values are integers from 0 to the total number of pages. Default value is 0.
Defines the number of entries to return on each page. Maximum number of results that can be returned at one time are 100. Default value is 25.
Comma-separated list of account numbers or ranges of account numbers (e.g. "1000-1500, 1580-1999, 2000, 2061, 7000-7004")
Response
OK
Example response
[
{
"code": "1500:10029",
"name": "John Lewis"
}
]Changes
- info
added the new optional
queryrequest parameterrange
- info
- info
the endpoint scheme security
fiken_api_oauthwas removed from the API
- info