GET
/
datasets
/
companies
/
{companyId}
/
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>",
    "street": "<string>",
    "houseNumber": "<string>",
    "houseLetter": "<string>",
    "postalCode": "<string>",
    "city": "<string>",
    "countryCodeAlpha3": "<string>",
    "municipalityCode": "<string>",
    "countyCode": "<string>",
    "nyko": "<string>",
    "nykoYear": 123,
    "firstSeenAt": 123,
    "lastSeenAt": 123,
    "location": [
      123
    ]
  },
  "mostRecentMailingAddress": {
    "co": "<string>",
    "streetAddress": "<string>",
    "street": "<string>",
    "houseNumber": "<string>",
    "houseLetter": "<string>",
    "postalCode": "<string>",
    "city": "<string>",
    "countryCodeAlpha3": "<string>",
    "municipalityCode": "<string>",
    "countyCode": "<string>",
    "nyko": "<string>",
    "nykoYear": 123,
    "firstSeenAt": 123,
    "lastSeenAt": 123,
    "location": [
      123
    ]
  },
  "sniCodes": [
    {
      "sni_2007Code": "<string>",
      "sni_2007Name": "<string>",
      "rank": 123
    }
  ],
  "status": [
    {
      "statusType": "isActive",
      "statusDate": 123,
      "statusDescription": "<string>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Path Parameters

companyId
integer
required

The id of the company

Query Parameters

lastItemId
integer
default:0

Take records after the id

pageSize
integer
default:100

Page size

Response

200 - application/json
The search response
id
string | null
companyWorkplaceId
integer
workplaceCode
integer | null
workplaceCompanies
object[] | null
workplaceUnits
object[] | null
workplaceName
object[] | null
workplaceType
integer | null
workplaceTypeDescriptionSv
string | null
employeesRangeType
integer | null
employeesRangeTypeDescriptionSv
string | null
mostRecentVisitingAddress
object
mostRecentMailingAddress
object
sniCodes
object[] | null
status
object[] | null