Dette endpoint søger efter virksomheder ud fra CVR-nummer.
Dette endpoint returnerer fuld information om de fundne produktionsenheder.
Returformat når der findes resultater
{
for: "cvr",
by: "cvr",
query: "",
results: [
{
vat_number: integer,
name: "",
address: "",
addressco: null,
postbox: null,
zipcode: integer,
city: "",
cityname: null,
startdate: YYYY-mm-dd,
enddate: null / YYYY-mm-dd,
industrycode: integer,
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: null / YYYY-mm-dd,
industrycode: integer,
industrydesc: ,
}
]
}
]
}
Returformat når der ikke findes resultater
{
for: cvr,
by: cvr,
query: ,
results: []
}
Returformat ved fejl
{
error:
{
error_key: [error_message]
}
}