Skip to main content
GET
/
companies
/
{id}
/
serving-permits
Get serving permits held by a company
curl --request GET \
  --url https://lens-api.tic.io/companies/{id}/serving-permits \
  --header 'x-api-key: <api-key>'
[
  {
    "folkhalsomyndigheten_ServingPermitId": 123,
    "restaurantNumber": "<string>",
    "servingLocationName": "<string>",
    "servingAddress": "<string>",
    "servingPostalCode": "<string>",
    "formattedPostalCode": "<string>",
    "servingCity": "<string>",
    "servingCompanyRegistrationNumber": "<string>",
    "formattedServingCompanyRegistrationNumber": "<string>",
    "permitHolderName": "<string>",
    "categoryCode": 123,
    "category": {
      "code": 123,
      "permitType": "<string>",
      "beverageType": "<string>",
      "beverageType2": "<string>",
      "servingType": "<string>"
    },
    "municipality": "<string>",
    "validFrom": "2023-11-07T05:31:56Z",
    "probationaryPeriodTo": "2023-11-07T05:31:56Z",
    "validTo": "2023-11-07T05:31:56Z",
    "lineHash": "<string>",
    "folkhalsomyndigheten_FileId": 123,
    "companyId": 123,
    "isProcessed": true,
    "lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
    "geocodedLatitude": 123,
    "geocodedLongitude": 123,
    "geocodedAtUtc": "2023-11-07T05:31:56Z",
    "geocodeQueryScore": 123,
    "hasCoordinates": true,
    "company": {
      "companyId": 123,
      "companyRegistrationNumber": "<string>",
      "formattedCompanyRegistrationNumber": "<string>",
      "legalEntityType": "<string>",
      "registrationDate": "2023-11-07T05:31:56Z",
      "companyRegisterId": 123,
      "ceasedDate": "2023-11-07T05:31:56Z",
      "lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
      "foundAtUtc": "2023-11-07T05:31:56Z",
      "isCeased": true,
      "elfCode": "<string>",
      "formationDate": "2023-11-07T05:31:56Z",
      "localCompanyCode": "<string>",
      "companySummary": {
        "companyId": 123,
        "companySummaryId": 123,
        "legalName": "<string>",
        "purpose": "<string>",
        "sniCodes": "<string>",
        "sniCodes2025": "<string>",
        "sniCodesList": {},
        "sniCodes2025List": {},
        "visitingAddressStreet": "<string>",
        "visitingAddressPostalCode": "<string>",
        "visitingAddressCity": "<string>",
        "visitingAddressCountryCodeAlpha3": "<string>",
        "visitingAddressPosition": [
          123
        ],
        "isVistingAddressEmpty": true,
        "isVisitingAddressMissing": true,
        "visitingAddressPositionLatitude": 123,
        "visitingAddressPositionLongitude": 123,
        "mailingAddressStreet": "<string>",
        "mailingAddressPostalCode": "<string>",
        "mailingAddressCity": "<string>",
        "mailingAddressCountryCodeAlpha3": "<string>",
        "isMailingAddressEmpty": true,
        "isMailingAddressMissing": true,
        "mailingAddressPosition": [
          123
        ],
        "mailingAddressPositionLatitude": 123,
        "mailingAddressPositionLongitude": 123,
        "numberOfWorkplaces": 123,
        "registeredOfficeMunicipalityCode": "<string>",
        "registeredOfficeCountyCode": "<string>",
        "registeredVAT": true,
        "registeredFTax": true,
        "registeredPayroll": true,
        "scb_NumberOfEmployeesInterval": 123,
        "scb_NumberOfEmployeesIntervalDescription": "<string>",
        "scb_OwnershipType": 123,
        "scb_OwnershipTypeDescription": "<string>",
        "scb_TurnoverInterval": 123,
        "scb_TurnoverIntervalDescription": "<string>",
        "scb_PrivPublType": 123,
        "scb_PrivPublTypeDescription": "<string>",
        "scb_TradeExportInterval": 123,
        "scb_TradeExportIntervalDescription": "<string>",
        "scb_TradeImportInterval": 123,
        "scb_TradeImportIntervalDescription": "<string>",
        "scb_PropertyTaxationInterval": 123,
        "scb_PropertyTaxationIntervalDescription": "<string>",
        "period1": 123,
        "period1_IS_NetSalesK": 123,
        "period1_FN_NumberOfEmployees": 123,
        "period1_IS_OperatingProfitOrLossK": 123,
        "period1_IsAudited": true,
        "period1_Lines": [
          "<string>"
        ],
        "period2": 123,
        "period2_IS_NetSalesK": 123,
        "period2_FN_NumberOfEmployees": 123,
        "period2_IS_OperatingProfitOrLossK": 123,
        "period2_IsAudited": true,
        "period3": 123,
        "period3_IS_NetSalesK": 123,
        "period3_FN_NumberOfEmployees": 123,
        "period3_IS_OperatingProfitOrLossK": 123,
        "period3_IsAudited": true,
        "intelligenceScoreTotal": 123,
        "intelligenceNumberOfMax": 123,
        "numberOfEmailAddresses": 123,
        "lastCompanyActivityStatus": "reorganizationOfBusinessCommenced",
        "lastCompanyActivityStatusDescription": "<string>",
        "lastCompanyStatusType": "reorganizationOfBusinessCommenced",
        "lastCompanyStatusDescription2": {
          "code": "reorganizationOfBusinessCommenced",
          "name_EN": "<string>",
          "name_SE": "<string>",
          "bolagsverketCode": "<string>",
          "isCeased": true
        },
        "lastCompanyStatusDate": "2023-11-07T05:31:56Z",
        "lastCompanyStatusDescription": "<string>",
        "lastUpdatedAtUtc": "2023-11-07T05:31:56Z",
        "hasAuditor": true,
        "companyRepresentativeBornYear": 123,
        "kfm_DebtBalanceTotalAmountInSEK": 123,
        "kfm_RecordOfNonPaymentNumberOfCases": 123,
        "registeredAML": true,
        "shouldBeRegisteredAML": true,
        "mailingAddressLantmaterietLocatedOnPropertyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "mailingAddressLantmaterietLocationalAddressId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "visitingAddressLantmaterietLocatedOnPropertyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "visitingAddressLantmaterietLocationalAddressId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "visitingAddressCO": "<string>",
        "mailingAddressCO": "<string>",
        "visitingAddressId": 123,
        "mailingAddressId": 123
      }
    }
  }
]
Pro+ tier

Authorizations

x-api-key
string
header
required

Path Parameters

id
integer<int32>
required

Internal company ID

Response

Serving permits held by the company

folkhalsomyndigheten_ServingPermitId
integer<int32>
restaurantNumber
null | string
servingLocationName
null | string
servingAddress
null | string
servingPostalCode
null | string
formattedPostalCode
null | string
servingCity
null | string
servingCompanyRegistrationNumber
null | string
formattedServingCompanyRegistrationNumber
null | string
permitHolderName
null | string
categoryCode
null | integer<int32>
category
object
municipality
null | string
validFrom
null | string<date-time>
probationaryPeriodTo
null | string<date-time>
validTo
null | string<date-time>
lineHash
null | string
folkhalsomyndigheten_FileId
integer<int32>
companyId
null | integer<int32>
isProcessed
null | boolean
lastUpdatedAtUtc
string<date-time>
geocodedLatitude
null | number<double>
geocodedLongitude
null | number<double>
geocodedAtUtc
null | string<date-time>
geocodeQueryScore
null | number<double>
hasCoordinates
boolean
company
object