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
startRowintegerZero-based index of the first row of the page: 0, then the answer's nextStartRow
endRowintegerOne past the last row of the page: the page has endRow - startRow rows, or 100 when endRow is left out or not above startRow
rowGroupColsRowGroupModel[] | 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 · application/json
successbooleanAlways true for a page; an error comes as an HTTP status instead
rowsCompanyAssignment_Dto[] | nullThe rows of the page, at most endRow - startRow
Hide child attributes
a_CompanyPersonIdintegera_CompanyIdinteger | nulld_CompanyRegistrationNumberstring | nulld_CompanyRegistrationNumberFormattedstring | nullread-onlyc_LegalNamestring | nulla_PositionTypestring | nulla_PositionDescriptionstring | nulla_PositionStartstring | nulla_PositionEndstring | nullr_RepresentedByPersonNamestring | nullr_RepresentedByPersonIdinteger | nullc_SNICodesstring | nullc_Period1integer | nullc_Period1_IS_NetSalesKinteger | nullc_Period1_FN_NumberOfEmployeesnumber | nullc_Period1_IS_OperatingProfitOrLossKinteger | nullc_IntelligenceScoreTotalinteger | nullc_KFM_DebtBalanceTotalAmountInSEKnumber | nullc_KFM_RecordOfNonPaymentNumberOfCasesinteger | nullc_LastCompanyStatusTypestringlastCompanyStatusDescriptionSvstring | nullread-onlyc_LastCompanyStatusDatestring | nullc_LastCompanyActivityStatusstringc_LastCompanyActivityStatusDescriptionstring | nullread-onlyd_IsCeasedboolean | nulld_CeasedDatestring | nulllastrowintegerAG Grid's lastRow: -1 while more rows may follow; on the last page the number of rows in all (startRow + rows)
hasMorebooleanTrue when the page is full, so more rows may follow: ask again from nextStartRow. A last page that is exactly full is followed by one with no rows
nextStartRowinteger | nullThe startRow of the next page; left out on the last page
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.