curl --request GET \
--url https://api.tic.io/datasets/companies/{companyId}/workplaces \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"companyWorkplaceId": 123,
"workplaceCode": 123,
"workplaceCompanies": [
{
"companyId": 123,
"fromDate": 123,
"toDate": 123,
"registrationNumber": "<string>",
"mostRecentName": "<string>",
"legalEntityType": "<string>",
"localCompanyCode": "<string>",
"elfCode": "<string>",
"registrationDate": 123,
"ceasedDate": 123,
"isCeased": true
}
],
"workplaceUnits": [
{
"companyId": 123,
"unitIdentifier": 123,
"firstSeenAt": 123,
"lastSeenAt": 123
}
],
"workplaceName": [
{
"nameOrIdentifier": "<string>",
"firstSeenAt": 123,
"lastSeenAt": 123
}
],
"workplaceType": 123,
"workplaceTypeDescriptionSv": "<string>",
"employeesRangeType": 123,
"employeesRangeTypeDescriptionSv": "<string>",
"mostRecentVisitingAddress": {
"co": "<string>",
"streetAddress": "<string>",
"postalCode": "<string>",
"city": "<string>",
"countryCodeAlpha3": "<string>",
"location": [
123
],
"firstSeenAt": 123,
"lantmaterietLocationalAddressId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lantmaterietLocatedOnPropertyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lantmaterietLocationalSupplementalNumber": "<string>",
"municipalityCode": "<string>",
"countyCode": "<string>",
"nyko": "<string>",
"nykoYear": 123,
"addressId": 123
},
"mostRecentMailingAddress": {
"co": "<string>",
"streetAddress": "<string>",
"postalCode": "<string>",
"city": "<string>",
"countryCodeAlpha3": "<string>",
"location": [
123
],
"firstSeenAt": 123,
"lantmaterietLocationalAddressId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lantmaterietLocatedOnPropertyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lantmaterietLocationalSupplementalNumber": "<string>",
"municipalityCode": "<string>",
"countyCode": "<string>",
"nyko": "<string>",
"nykoYear": 123,
"addressId": 123
},
"sniCodes": [
{
"sni_2007Code": "<string>",
"sni_2007Name": "<string>",
"rank": 123
}
],
"status": [
{
"statusType": "isActive",
"statusDate": 123,
"statusDescription": "<string>"
}
]
}
Gets a summary of the companys workplaces
curl --request GET \
--url https://api.tic.io/datasets/companies/{companyId}/workplaces \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"companyWorkplaceId": 123,
"workplaceCode": 123,
"workplaceCompanies": [
{
"companyId": 123,
"fromDate": 123,
"toDate": 123,
"registrationNumber": "<string>",
"mostRecentName": "<string>",
"legalEntityType": "<string>",
"localCompanyCode": "<string>",
"elfCode": "<string>",
"registrationDate": 123,
"ceasedDate": 123,
"isCeased": true
}
],
"workplaceUnits": [
{
"companyId": 123,
"unitIdentifier": 123,
"firstSeenAt": 123,
"lastSeenAt": 123
}
],
"workplaceName": [
{
"nameOrIdentifier": "<string>",
"firstSeenAt": 123,
"lastSeenAt": 123
}
],
"workplaceType": 123,
"workplaceTypeDescriptionSv": "<string>",
"employeesRangeType": 123,
"employeesRangeTypeDescriptionSv": "<string>",
"mostRecentVisitingAddress": {
"co": "<string>",
"streetAddress": "<string>",
"postalCode": "<string>",
"city": "<string>",
"countryCodeAlpha3": "<string>",
"location": [
123
],
"firstSeenAt": 123,
"lantmaterietLocationalAddressId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lantmaterietLocatedOnPropertyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lantmaterietLocationalSupplementalNumber": "<string>",
"municipalityCode": "<string>",
"countyCode": "<string>",
"nyko": "<string>",
"nykoYear": 123,
"addressId": 123
},
"mostRecentMailingAddress": {
"co": "<string>",
"streetAddress": "<string>",
"postalCode": "<string>",
"city": "<string>",
"countryCodeAlpha3": "<string>",
"location": [
123
],
"firstSeenAt": 123,
"lantmaterietLocationalAddressId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lantmaterietLocatedOnPropertyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lantmaterietLocationalSupplementalNumber": "<string>",
"municipalityCode": "<string>",
"countyCode": "<string>",
"nyko": "<string>",
"nykoYear": 123,
"addressId": 123
},
"sniCodes": [
{
"sni_2007Code": "<string>",
"sni_2007Name": "<string>",
"rank": 123
}
],
"status": [
{
"statusType": "isActive",
"statusDate": 123,
"statusDescription": "<string>"
}
]
}
The id of the company
Take records after the id
Page size
The search response
The response is of type object
.