Get merger records for a company
curl --request GET \
--url https://lens-api.tic.io/companies/{id}/mergers \
--header 'x-api-key: <api-key>'import requests
url = "https://lens-api.tic.io/companies/{id}/mergers"
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}/mergers', 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}/mergers",
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}/mergers"
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}/mergers")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://lens-api.tic.io/companies/{id}/mergers")
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[
{
"planCaseNumber": 123,
"planCaseYear": 123,
"allMergers": [
{
"companyMergerId": 123,
"companyId": 123,
"companyRegistrationNumber": "<string>",
"companyRegisterId": 123,
"mostRecentLegalName": "<string>",
"statusCode": "<string>",
"statusText": "<string>",
"isParentChildMerger": true,
"isAbsorbingMerger": true,
"planDecisionDate": "2023-11-07T05:31:56Z",
"planCaseNumber": 123,
"planCaseYear": 123,
"dormantToDate": "2023-11-07T05:31:56Z",
"creditorsCallingCode": "<string>",
"creditorsCallingText": "<string>",
"creditorsCallingDate": "2023-11-07T05:31:56Z",
"submittedToCourtDate": "2023-11-07T05:31:56Z",
"executionDecidedByCode": "<string>",
"executionDecidedByText": "<string>",
"executionDecisionDate": "2023-11-07T05:31:56Z",
"applicationDecidedByCode": "<string>",
"applicationDecidedByText": "<string>",
"applicationDecisionDate": "2023-11-07T05:31:56Z",
"registeredDate": "2023-11-07T05:31:56Z",
"repealedByCourtDate": "2023-11-07T05:31:56Z",
"registeredExpiredDate": "2023-11-07T05:31:56Z",
"statusCodeInTakeOver": "<string>",
"statusCodeInTransfer": "<string>",
"note1": "<string>",
"note2": "<string>",
"appealBeforeDate": "2023-11-07T05:31:56Z",
"firstSeenAtUtc": "2023-11-07T05:31:56Z",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"externalId": 123,
"caseNumber": 123,
"caseYear": 123,
"companyMergerParts": [
{
"companyMergerPartId": 123,
"companyMergerId": 123,
"statusCode": "<string>",
"statusText": "<string>",
"registrationNumber": "<string>",
"firstSeenAtUtc": "2023-11-07T05:31:56Z",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"externalId": 123,
"companyId": 123,
"companyRegistrationNumber": "<string>",
"companyRegisterId": 123,
"mostRecentLegalName": "<string>",
"caseNumber": 123,
"caseYear": 123
}
]
}
],
"merger": {
"companyMergerId": 123,
"companyId": 123,
"companyRegistrationNumber": "<string>",
"companyRegisterId": 123,
"mostRecentLegalName": "<string>",
"statusCode": "<string>",
"statusText": "<string>",
"isParentChildMerger": true,
"isAbsorbingMerger": true,
"planDecisionDate": "2023-11-07T05:31:56Z",
"planCaseNumber": 123,
"planCaseYear": 123,
"dormantToDate": "2023-11-07T05:31:56Z",
"creditorsCallingCode": "<string>",
"creditorsCallingText": "<string>",
"creditorsCallingDate": "2023-11-07T05:31:56Z",
"submittedToCourtDate": "2023-11-07T05:31:56Z",
"executionDecidedByCode": "<string>",
"executionDecidedByText": "<string>",
"executionDecisionDate": "2023-11-07T05:31:56Z",
"applicationDecidedByCode": "<string>",
"applicationDecidedByText": "<string>",
"applicationDecisionDate": "2023-11-07T05:31:56Z",
"registeredDate": "2023-11-07T05:31:56Z",
"repealedByCourtDate": "2023-11-07T05:31:56Z",
"registeredExpiredDate": "2023-11-07T05:31:56Z",
"statusCodeInTakeOver": "<string>",
"statusCodeInTransfer": "<string>",
"note1": "<string>",
"note2": "<string>",
"appealBeforeDate": "2023-11-07T05:31:56Z",
"firstSeenAtUtc": "2023-11-07T05:31:56Z",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"externalId": 123,
"caseNumber": 123,
"caseYear": 123,
"companyMergerParts": [
{
"companyMergerPartId": 123,
"companyMergerId": 123,
"statusCode": "<string>",
"statusText": "<string>",
"registrationNumber": "<string>",
"firstSeenAtUtc": "2023-11-07T05:31:56Z",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"externalId": 123,
"companyId": 123,
"companyRegistrationNumber": "<string>",
"companyRegisterId": 123,
"mostRecentLegalName": "<string>",
"caseNumber": 123,
"caseYear": 123
}
]
}
}
]Companies
Get merger records for a company
Returns merger records the company is part of, grouped by plan case number/year. Each group includes all raw rows plus the most recently seen row.
GET
/
companies
/
{id}
/
mergers
Get merger records for a company
curl --request GET \
--url https://lens-api.tic.io/companies/{id}/mergers \
--header 'x-api-key: <api-key>'import requests
url = "https://lens-api.tic.io/companies/{id}/mergers"
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}/mergers', 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}/mergers",
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}/mergers"
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}/mergers")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://lens-api.tic.io/companies/{id}/mergers")
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[
{
"planCaseNumber": 123,
"planCaseYear": 123,
"allMergers": [
{
"companyMergerId": 123,
"companyId": 123,
"companyRegistrationNumber": "<string>",
"companyRegisterId": 123,
"mostRecentLegalName": "<string>",
"statusCode": "<string>",
"statusText": "<string>",
"isParentChildMerger": true,
"isAbsorbingMerger": true,
"planDecisionDate": "2023-11-07T05:31:56Z",
"planCaseNumber": 123,
"planCaseYear": 123,
"dormantToDate": "2023-11-07T05:31:56Z",
"creditorsCallingCode": "<string>",
"creditorsCallingText": "<string>",
"creditorsCallingDate": "2023-11-07T05:31:56Z",
"submittedToCourtDate": "2023-11-07T05:31:56Z",
"executionDecidedByCode": "<string>",
"executionDecidedByText": "<string>",
"executionDecisionDate": "2023-11-07T05:31:56Z",
"applicationDecidedByCode": "<string>",
"applicationDecidedByText": "<string>",
"applicationDecisionDate": "2023-11-07T05:31:56Z",
"registeredDate": "2023-11-07T05:31:56Z",
"repealedByCourtDate": "2023-11-07T05:31:56Z",
"registeredExpiredDate": "2023-11-07T05:31:56Z",
"statusCodeInTakeOver": "<string>",
"statusCodeInTransfer": "<string>",
"note1": "<string>",
"note2": "<string>",
"appealBeforeDate": "2023-11-07T05:31:56Z",
"firstSeenAtUtc": "2023-11-07T05:31:56Z",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"externalId": 123,
"caseNumber": 123,
"caseYear": 123,
"companyMergerParts": [
{
"companyMergerPartId": 123,
"companyMergerId": 123,
"statusCode": "<string>",
"statusText": "<string>",
"registrationNumber": "<string>",
"firstSeenAtUtc": "2023-11-07T05:31:56Z",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"externalId": 123,
"companyId": 123,
"companyRegistrationNumber": "<string>",
"companyRegisterId": 123,
"mostRecentLegalName": "<string>",
"caseNumber": 123,
"caseYear": 123
}
]
}
],
"merger": {
"companyMergerId": 123,
"companyId": 123,
"companyRegistrationNumber": "<string>",
"companyRegisterId": 123,
"mostRecentLegalName": "<string>",
"statusCode": "<string>",
"statusText": "<string>",
"isParentChildMerger": true,
"isAbsorbingMerger": true,
"planDecisionDate": "2023-11-07T05:31:56Z",
"planCaseNumber": 123,
"planCaseYear": 123,
"dormantToDate": "2023-11-07T05:31:56Z",
"creditorsCallingCode": "<string>",
"creditorsCallingText": "<string>",
"creditorsCallingDate": "2023-11-07T05:31:56Z",
"submittedToCourtDate": "2023-11-07T05:31:56Z",
"executionDecidedByCode": "<string>",
"executionDecidedByText": "<string>",
"executionDecisionDate": "2023-11-07T05:31:56Z",
"applicationDecidedByCode": "<string>",
"applicationDecidedByText": "<string>",
"applicationDecisionDate": "2023-11-07T05:31:56Z",
"registeredDate": "2023-11-07T05:31:56Z",
"repealedByCourtDate": "2023-11-07T05:31:56Z",
"registeredExpiredDate": "2023-11-07T05:31:56Z",
"statusCodeInTakeOver": "<string>",
"statusCodeInTransfer": "<string>",
"note1": "<string>",
"note2": "<string>",
"appealBeforeDate": "2023-11-07T05:31:56Z",
"firstSeenAtUtc": "2023-11-07T05:31:56Z",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"externalId": 123,
"caseNumber": 123,
"caseYear": 123,
"companyMergerParts": [
{
"companyMergerPartId": 123,
"companyMergerId": 123,
"statusCode": "<string>",
"statusText": "<string>",
"registrationNumber": "<string>",
"firstSeenAtUtc": "2023-11-07T05:31:56Z",
"lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
"externalId": 123,
"companyId": 123,
"companyRegistrationNumber": "<string>",
"companyRegisterId": 123,
"mostRecentLegalName": "<string>",
"caseNumber": 123,
"caseYear": 123
}
]
}
}
]⌘I