Get the board on a date as PDF
curl --request GET \
--url https://lens-api.tic.io/companies/{id}/representatives/board/pdf \
--header 'x-api-key: <api-key>'import requests
url = "https://lens-api.tic.io/companies/{id}/representatives/board/pdf"
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}/representatives/board/pdf', 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}/representatives/board/pdf",
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}/representatives/board/pdf"
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}/representatives/board/pdf")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://lens-api.tic.io/companies/{id}/representatives/board/pdf")
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"<string>"PDF reports
Get the board on a date as PDF
Everyone who held a position in the company on the date, grouped as board, management, owners and partners, audit, signatories and other positions, as a PDF report. Built from the positions of GET /companies//representatives: a position counts from its start date, and someone who left on the date is no longer counted. The report marks who joined or changed role that day, lists who left, and compares the board with Bolagsverket’s count of board members when Bolagsverket has one for the date.
GET
/
companies
/
{id}
/
representatives
/
board
/
pdf
Get the board on a date as PDF
curl --request GET \
--url https://lens-api.tic.io/companies/{id}/representatives/board/pdf \
--header 'x-api-key: <api-key>'import requests
url = "https://lens-api.tic.io/companies/{id}/representatives/board/pdf"
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}/representatives/board/pdf', 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}/representatives/board/pdf",
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}/representatives/board/pdf"
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}/representatives/board/pdf")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://lens-api.tic.io/companies/{id}/representatives/board/pdf")
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"<string>"Pro+ tier
Everyone who held a position in the company on one date, as a PDF report: the board, management, owners and partners, audit, signatories and other positions. It is built from the positions in Representatives, each with its start and end date.
See PDF reports for the language and the file name.
How the date is read
- A position counts from its start date. Someone whose position ended on the date is no longer counted and is listed under Left on this day.
- On a date when the register changed, the report shows the board after that day’s changes. It marks who joined or changed role that day.
- Without
datethe report shows today’s positions. A date in the future returns400. - When Bolagsverket has a count of board members for the date, the report compares it with the board members and deputies it lists, employee representatives left out. If they differ, a notice says the details may be incomplete for that date.
- A board of one or two members with no deputy is flagged, because such a board must have at least one deputy.
Example
curl "https://lens-api.tic.io/companies/12345/representatives/board/pdf?date=2022-02-17&lang=en" \
-H "x-api-key: YOUR_API_KEY" \
-o board.pdf
Authorizations
Path Parameters
Internal company ID
Query Parameters
The date, YYYY-MM-DD. Defaults to today (Swedish time).
Report language, sv or en. Defaults to the caller's locale.
Response
PDF report
The response is of type file.