Skip to main content
GET
/
companies
/
{id}
/
franchise-licences
Get franchise and licence records for a company
curl --request GET \
  --url https://lens-api.tic.io/companies/{id}/franchise-licences \
  --header 'x-api-key: <api-key>'
import requests

url = "https://lens-api.tic.io/companies/{id}/franchise-licences"

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}/franchise-licences', 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}/franchise-licences",
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}/franchise-licences"

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}/franchise-licences")
.header("x-api-key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://lens-api.tic.io/companies/{id}/franchise-licences")

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
[
  {
    "companyFranchiseOrLicenceId": 123,
    "companyId": 123,
    "linkedToName": "<string>",
    "linkedToCompanyId": 123,
    "actingUnderName": "<string>",
    "description": "<string>",
    "firstSeenAtUtc": "2023-11-07T05:31:56Z",
    "lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
    "externalId": 123,
    "externalOriginDescription": "<string>",
    "companyFranchiseOrLicenceDescription": "<string>",
    "revoked": true,
    "revokedDate": "2023-11-07T05:31:56Z"
  }
]
Pro+ tier

Authorizations

x-api-key
string
header
required

Path Parameters

id
integer<int32>
required

Internal company ID

Response

Franchise/licence records

companyFranchiseOrLicenceId
integer<int32>
companyId
integer<int32>
linkedToName
null | string
linkedToCompanyId
null | integer<int32>
actingUnderName
null | string
description
null | string
firstSeenAtUtc
null | string<date-time>
lastUpdatedAtUtc
string<date-time>
externalId
null | integer<int32>
externalOrigin
enum<string>
Available options:
table_Bolagsverket_Notification,
table_Stage_CompanyPersonHistory,
table_PRV_Trademark,
table_System_SwedishCity,
table_FI_Company,
table_FI_CompanyPermit,
table_ICA_Store,
table_Srf_Company,
table_FAR_Member,
table_Bolagsverket_Document,
table_Bolagsverket_Case,
table_SalesOrderRow,
table_SalesOrder,
table_System_UserValidation,
table_System_User,
table_User,
table_TeamInvitation,
table_Sweden_CourtDocument,
table_PRV_TrademarkImage,
table_Bolagsverket_Order,
table_SCB_JE,
table_SCB_AE,
table_Bolagsverket_BeneficialOwnerNotification,
table_TeamWatchListTrigger,
table_SCB_Foretagsnamn,
table_SCB_ExpImp,
table_SCB_AstNummer,
table_SCB_Konskvot,
table_Company,
table_Larmtjanst_Object,
table_Transportstyrelsen_Person,
table_Forsakringskassan_Claim,
table_FI_BorsInformationReport,
table_Skatteverket_FA_INK,
table_Skatteverket_FA_MOMS_AG,
table_Skatteverket_KA_PLIGG,
table_Skatteverket_SKT_AG,
table_Skatteverket_SKT_INK,
table_Skatteverket_SKT_MOMS,
table_Skatteverket_TF_ANST,
table_SPAR_NotificationRecord,
table_SPAR_NotificationRecordReference,
table_Lantmateriet_InskrivningPerson,
table_CompanyCase,
table_Bolagsverket_BeneficialOwner,
table_Bolagsverket_AnnualReport,
table_SPAR_NotificationRecordRelationship,
table_Skatteverket_Basinformation,
table_PersonRelationship,
table_CompanyImport,
table_SeaweedFSFile,
table_Sweden_CompanyAnnualReport,
table_CompanyFinancialReport,
table_CompanyAddress,
table_CompanyStatus,
table_CompanyPerson,
table_CompanyRegistration,
table_CompanyIntelligence,
table_CompanyFinancialDocument,
table_CompanyNaming,
table_CompanyPurpose,
table_CompanyShareCapital,
table_CompanyRegisteredOffice,
table_KFM_OrderToPayCase,
table_PersonAddress,
table_PersonName,
table_CompanyWorkplaceAddress,
table_Lantmateriet_InskrivningAgandeForandring,
table_Lantmateriet_InskrivningInteckning,
file_Bolagsverket,
table_KFM_DebtorSummaryEntityDebt,
table_CompanyWorkplaceCompany,
table_CompanyDocument,
table_FileImport,
table_CompanyFinancialReportRegistration,
table_Folkhalsomyndigheten_ServingPermit,
table_CompanyFinancialReportFile,
table_TeamCompanyDocument,
table_Bolagsverket_RepresentativeHistory,
table_CompanyPersonTemp,
table_Lansstyrelsen_Decision,
table_Kammarkollegiet_Sanktionsavgift,
table_CompanyFinancialReportSummary,
table_Lantmateriet_InskrivningAnteckning,
table_Property,
table_SwishRequest,
external_Lantmateriet_RegisterenhetObjektIdentitet,
table_SwishRefundResponse,
table_LEI_Order,
table_Bankgirot_Bankgironumber,
table_Person,
external_Navet,
table_Transportstyrelsen_VehicleSummaryEvent,
external_Bolagsverket_Case,
table_Ria_AgentLocation,
table_PropertyAnnualReportFile
externalOriginDescription
null | string
companyFranchiseOrLicenceType
enum<string>
Available options:
franchise,
licence,
membership,
agent,
amlRegistered,
other
companyFranchiseOrLicenceDescription
null | string
companyDataSourceType
enum<string>
Available options:
bolt,
dash,
flux,
pixel,
quark,
spark,
vector,
cipher,
delta,
omega,
nova,
apex,
zenith,
pulse,
nexus,
helix,
prism,
vertex,
ion,
codec,
vortex,
matrix,
byte,
glitch,
echo,
rune,
sync,
axiom,
core,
node,
nano,
photon,
orbit,
tensor,
kernel,
beacon,
crypto,
proxy,
lumen,
strobe,
neutron,
radix
revoked
null | boolean
revokedDate
null | string<date-time>