1. Home
  2. Docs
  3. Endpoints
  4. EAN Data
  5. search/ean/all/{ean_number}

search/ean/all/{ean_number}

Dette endpoint søger efter virksomheder ud fra et EAN-nummer.

Dette endpoint returnerer fuld information om de fundne produktionsenheder.

Returformat når der findes resultater

{
    for: ean,
    by: ean,
    query: ,
    results: [
        {
            ean_number: ,
            ean_description: ,
            vat_number: integer,
            name: ,
            address: ,
            addressco: null,
            postbox: null,
            zipcode: integer,
            city: ,
            cityname: null,
            startdate: YYYY-mm-dd,
            enddate: nullYYYY-mm-dd,
            industrycode: ,
            industrydesc: ,
            punits_count: integer,
            punits: [
                {
                    vat_number: integer,
                    punit_number: integer,
                    name: ,
                    address: ,
                    addressco: null,
                    postbox: null,
                    zipcode: integer,
                    city: ,
                    cityname: null,
                    startdate: YYYY-mm-dd,
                    enddate: nullYYYY-mm-dd,
                    industrycode: ,
                    industrydesc: ,
                }
            ]
        }
    ]
}

Returformat når der ikke findes resultater

{
    for: cvr,
    by: cvr,
    query: ,
    results: null
}

Returformat ved fejl

{
    error:
    {
        error_key: [error_message]
    }
}

How can we help?