Get cases closed without registration for a company
curl --request GET \
--url https://lens-api.tic.io/companies/{id}/closed-cases \
--header 'x-api-key: <api-key>'import requests
url = "https://lens-api.tic.io/companies/{id}/closed-cases"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://lens-api.tic.io/companies/{id}/closed-cases', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://lens-api.tic.io/companies/{id}/closed-cases",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://lens-api.tic.io/companies/{id}/closed-cases"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://lens-api.tic.io/companies/{id}/closed-cases")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://lens-api.tic.io/companies/{id}/closed-cases")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"companyCaseTerminationId": 123,
"companyFinancialReportTerminationId": 123,
"kind": "<string>",
"caseYear": 123,
"caseNumber": 123,
"arrivalDate": "2023-11-07T05:31:56Z",
"outcome": "<string>",
"closedDate": "2023-11-07T05:31:56Z",
"adActaDate": "2023-11-07T05:31:56Z",
"adActaReason": "<string>",
"writtenOffDate": "2023-11-07T05:31:56Z",
"refusedDate": "2023-11-07T05:31:56Z",
"recalledDate": "2023-11-07T05:31:56Z",
"transferredDate": "2023-11-07T05:31:56Z",
"transferredToCaseYear": 123,
"transferredToCaseNumber": 123,
"periodStart": "2023-11-07T05:31:56Z",
"periodEnd": "2023-11-07T05:31:56Z",
"isInterimReport": true,
"classificationCodes": "<string>",
"classificationCodesList": [
{
"code": "<string>",
"description": "<string>"
}
],
"registeredDate": "2023-11-07T05:31:56Z"
}
]Companies
Get cases closed without registration for a company
Returns the company’s Bolagsverket cases and annual reports that were closed without being registered, with the outcome (refused, writtenOff, recalled, transferred with the case it moved to, adActa, or closed) and its date. These are no longer listed by current-cases.
GET
/
companies
/
{id}
/
closed-cases
Get cases closed without registration for a company
curl --request GET \
--url https://lens-api.tic.io/companies/{id}/closed-cases \
--header 'x-api-key: <api-key>'import requests
url = "https://lens-api.tic.io/companies/{id}/closed-cases"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://lens-api.tic.io/companies/{id}/closed-cases', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://lens-api.tic.io/companies/{id}/closed-cases",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://lens-api.tic.io/companies/{id}/closed-cases"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://lens-api.tic.io/companies/{id}/closed-cases")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://lens-api.tic.io/companies/{id}/closed-cases")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"companyCaseTerminationId": 123,
"companyFinancialReportTerminationId": 123,
"kind": "<string>",
"caseYear": 123,
"caseNumber": 123,
"arrivalDate": "2023-11-07T05:31:56Z",
"outcome": "<string>",
"closedDate": "2023-11-07T05:31:56Z",
"adActaDate": "2023-11-07T05:31:56Z",
"adActaReason": "<string>",
"writtenOffDate": "2023-11-07T05:31:56Z",
"refusedDate": "2023-11-07T05:31:56Z",
"recalledDate": "2023-11-07T05:31:56Z",
"transferredDate": "2023-11-07T05:31:56Z",
"transferredToCaseYear": 123,
"transferredToCaseNumber": 123,
"periodStart": "2023-11-07T05:31:56Z",
"periodEnd": "2023-11-07T05:31:56Z",
"isInterimReport": true,
"classificationCodes": "<string>",
"classificationCodesList": [
{
"code": "<string>",
"description": "<string>"
}
],
"registeredDate": "2023-11-07T05:31:56Z"
}
]Pro+ tier
Returns the company’s cases and annual reports that Bolagsverket closed without registering them, most recently closed first. They no longer appear in current cases. A refusal or a write-off often means that a change the company applied for did not go through.
When more than one date is set, the latest one decides
kind is case for a case and annualReport for an annual report; annual reports also carry the financial period (periodStart, periodEnd, isInterimReport).
Outcome
outcome and closedDate give how and when the case ended. The individual dates are returned as well.
outcome | Meaning | Date field |
|---|---|---|
refused | Avslag: the application was refused. | refusedDate |
writtenOff | Avskrivet: the case was written off. | writtenOffDate |
recalled | Återkallat: the applicant withdrew it. | recalledDate |
transferred | Överfört: moved to another case, given by transferredToCaseYear and transferredToCaseNumber. | transferredDate |
adActa | Ad acta: filed without further action. For annual reports, adActaReason gives the reason. | adActaDate |
closed | Closed, without an outcome date. closedDate is then the date Bolagsverket registered the closure. | registeredDate |
outcome.Authorizations
Path Parameters
Internal company ID
Response
Cases closed without registration, most recently closed first
Show child attributes
Show child attributes