-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from jodal/api-v2
Use Brreg's API v2
- Loading branch information
Showing
6 changed files
with
107 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
{ | ||
"organisasjonsnummer" : "815597222", | ||
"navn" : "SLETTET ENHET AS", | ||
"organisasjonsform" : { | ||
"kode" : "UTBG", | ||
"beskrivelse" : "Frivillig registrert utleiebygg", | ||
"utgaatt" : "2017-07-17", | ||
"_links" : { | ||
"self" : { | ||
"href" : "https://data.brreg.no/enhetsregisteret/api/organisasjonsformer/UTBG" | ||
"organisasjonsnummer": "123456789", | ||
"navn": "SLETTET ENHET AS", | ||
"organisasjonsform": { | ||
"kode": "UTBG", | ||
"beskrivelse": "Frivillig registrert utleiebygg", | ||
"utgaatt": "2017-07-17", | ||
"_links": { | ||
"self": { | ||
"href": "http://localhost/enhetsregisteret/api/organisasjonsformer/UTBG" | ||
} | ||
} | ||
}, | ||
"slettedato" : "2017-10-20", | ||
"_links" : { | ||
"self" : { | ||
"href" : "https://data.brreg.no/enhetsregisteret/api/enheter/815597222" | ||
"slettedato": "2017-10-20", | ||
"_links": { | ||
"self": { | ||
"href": "http://localhost/enhetsregisteret/api/enheter/123456789" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,56 @@ | ||
{ | ||
"organisasjonsnummer" : "818511752", | ||
"navn" : "SESAM STASJON", | ||
"organisasjonsform" : { | ||
"kode" : "AS", | ||
"beskrivelse" : "Aksjeselskap", | ||
"_links" : { | ||
"self" : { | ||
"href" : "https://data.brreg.no/enhetsregisteret/api/organisasjonsformer/AS" | ||
"organisasjonsnummer": "112233445", | ||
"navn": "SESAM STASJON", | ||
"organisasjonsform": { | ||
"kode": "AS", | ||
"beskrivelse": "Aksjeselskap", | ||
"_links": { | ||
"self": { | ||
"href": "http://localhost/enhetsregisteret/api/organisasjonsformer/AS" | ||
} | ||
} | ||
}, | ||
"postadresse" : { | ||
"land" : "Norge", | ||
"landkode" : "NO", | ||
"postnummer" : "0122", | ||
"poststed" : "OSLO", | ||
"adresse" : [ "c/o reder K. Rusing", "Postboks 1752 Vika", "" ], | ||
"kommune" : "OSLO", | ||
"kommunenummer" : "0301" | ||
"postadresse": { | ||
"land": "Norge", | ||
"landkode": "NO", | ||
"postnummer": "0122", | ||
"poststed": "OSLO", | ||
"adresse": ["c/o reder K. Rusing", "Postboks 1752 Vika", ""], | ||
"kommune": "OSLO", | ||
"kommunenummer": "0301" | ||
}, | ||
"registreringsdatoEnhetsregisteret" : "2017-10-20", | ||
"registrertIMvaregisteret" : true, | ||
"naeringskode1" : { | ||
"beskrivelse" : "Skipsmegling", | ||
"kode" : "52.292" | ||
"registreringsdatoEnhetsregisteret": "2017-10-20", | ||
"registrertIMvaregisteret": true, | ||
"naeringskode1": { | ||
"kode": "52.292", | ||
"beskrivelse": "Skipsmegling" | ||
}, | ||
"antallAnsatte" : 50, | ||
"forretningsadresse" : { | ||
"land" : "Norge", | ||
"landkode" : "NO", | ||
"postnummer" : "0101", | ||
"poststed" : "OSLO", | ||
"adresse" : [ "Tyvholmen 1", null, null, "" ], | ||
"kommune" : "OSLO", | ||
"kommunenummer" : "0301" | ||
"antallAnsatte": 50, | ||
"harRegistrertAntallAnsatte": true, | ||
"forretningsadresse": { | ||
"land": "Norge", | ||
"landkode": "NO", | ||
"postnummer": "0101", | ||
"poststed": "OSLO", | ||
"adresse": ["Tyvholmen 1", null, null, ""], | ||
"kommune": "OSLO", | ||
"kommunenummer": "0301" | ||
}, | ||
"stiftelsesdato" : "2017-10-20", | ||
"registrertIForetaksregisteret" : true, | ||
"registrertIStiftelsesregisteret" : false, | ||
"registrertIFrivillighetsregisteret" : false, | ||
"konkurs" : false, | ||
"underAvvikling" : false, | ||
"underTvangsavviklingEllerTvangsopplosning" : false, | ||
"maalform" : "Bokmål", | ||
"_links" : { | ||
"self" : { | ||
"href" : "https://data.brreg.no/enhetsregisteret/api/enheter/818511752" | ||
"stiftelsesdato": "2017-10-20", | ||
"registrertIForetaksregisteret": true, | ||
"registrertIStiftelsesregisteret": false, | ||
"registrertIFrivillighetsregisteret": false, | ||
"konkurs": false, | ||
"konkursdato": "", | ||
"underAvvikling": false, | ||
"underTvangsavviklingEllerTvangsopplosning": false, | ||
"maalform": "Bokmål", | ||
"vedtektsdato": "2017-10-21", | ||
"vedtektsfestetFormaal": [""], | ||
"aktivitet": [], | ||
"_links": { | ||
"self": { | ||
"href": "http://localhost/enhetsregisteret/api/enheter/112233445" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters