Companies
List the company's ended roles in other companies (AG Grid)
The ended positions of POST /companies/{id}/assignments: the companies in which this company held a registered position that has an end date, newest end first. Same row shape and column ids.
The positions from roles in other companies that have ended: the companies in which this company held a registered position with an end date, newest end first. The rows have the same columns. The whole list as a file is in the CSV export.
The request body is the grid request described in Pagination.
Columns
The prefix of a column id says where the value comes from: a_ the position, c_ the company’s summary, d_ the company, r_ the person acting for the company in the position. Sort and filter on these ids.
| Column | Description |
|---|---|
a_CompanyId |
The internal ID of the company the position is in |
d_CompanyRegistrationNumber |
Its organisation number; d_CompanyRegistrationNumberFormatted has the hyphen |
c_LegalName |
Its name |
a_PositionType |
The position code, for example REV (auditor), KP (general partner), BO (partner), FÖRVALTARE (administrator) or LE (board member) |
a_PositionDescription |
The position as registered |
a_PositionStart, a_PositionEnd |
When the position started and ended |
r_RepresentedByPersonName, r_RepresentedByPersonId |
The natural person registered as acting for the company in the position, such as an audit firm’s auditor in charge. Empty when none is registered or the person has a protected identity |
c_SNICodes |
The company’s industry codes |
c_Period1, c_Period1_IS_NetSalesK, c_Period1_IS_OperatingProfitOrLossK, c_Period1_FN_NumberOfEmployees |
Its latest financial year: net sales and operating profit in thousands, and the number of employees |
c_IntelligenceScoreTotal |
Its risk indicator score |
c_KFM_DebtBalanceTotalAmountInSEK, c_KFM_RecordOfNonPaymentNumberOfCases |
Its debts with the enforcement authority and its number of payment remarks |
c_LastCompanyStatusType, c_LastCompanyStatusDate, c_LastCompanyActivityStatus |
Its latest status, with its date, and its activity status; LastCompanyStatusDescriptionSv and c_LastCompanyActivityStatusDescription give them as text |
d_IsCeased, d_CeasedDate |
Whether and when it ceased |
Authorization
x-api-keystringheaderrequiredYour API key, sent in the x-api-key header.
Path parameters
idintegerrequiredInternal company ID
Bodyapplication/json
startRowintegerendRowintegerrowGroupColsRowGroupModel[] | nullHide child attributes
idstring | nulldisplayNamestring | nullfieldstring | nullgroupKeysstring[] | nullfilterModelFilterModel[] | nullHide child attributes
columnNamestring | nullcolumnNameWithAliasstring | nullread-onlyfilterTypestring | nullsortModelSortModel[] | nullHide child attributes
sortstringcolIdstring | nullResponses
AG Grid page of CompanyAssignment_Dto rows
Company not found or not accessible
Try it with a grid
A server-side data grid bound to this endpoint through the proxy. Sort and filter columns and watch the request body the grid sends; the response arrives as rows with lastrow.
Stored in this browser only (until you forget it) and sent as the x-api-key header through the documentation proxy.
Enter your API key to load the grid.
{ "startRow": 0, "endRow": 50, "sortModel": [], "filterModel": {} } Sort or filter a column and the request body updates; the response arrives as rows and lastrow.