1. Home
  2. Docs
  3. Endpoints
  4. CVR Data
  5. search/cvr/all/name/{cvr_name}

search/cvr/all/name/{cvr_name}

Dette endpoint søger efter virksomheder ud fra virksomhedsnavn.

Dette endpoint returnerer fuld information om de fundne produktionsenheder.

Returformat når der findes resultater

{
    for: cvr,
    by: cvr_name,
    query: ,
    results: [
        {
            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_name,
    query: ,
    results: []
}

Returformat ved fejl

{
    error:
    {
        error_key: [error_message]
    }
}

How can we help?