To get products, you need to use the access_token
that you previously obtained.
Take a look at our Swagger documentation for the API here.
Send a GET
request to https://beta-api.ambita.com/kode/v1/products?municipalitymunicipalityNumber={municipalityCodemunicipalityNumber}
Take a look at our Swagger documentation for the API here: Swagger
Example request
Code Block | ||
---|---|---|
| ||
curl -s \ -H "Content-Type: application/json" \ -H "Authorization: Bearer ej577asf-a5k6-42yq-a3a2-fh03hb8cb58c" \ https://beta-api.ambita.com/kode/v1/products?municipalitymunicipalityNumber=9999 |
Example response:
Code Block | ||
---|---|---|
| ||
[ { "code": "WI99990033", "name": "Meglerpakke", "description": "Pakken inneholder:", "deliverystatus": { "codeACTIVE": "DIGITAL", "nametype": "Elektronisk" }PACKAGE", "inputType": { "codedelivery": "CADASTREDIGITAL", "nameinputType": "Matrikkel" }CADASTRE", "price": { "salesPriceNet": 1650.4, "salesPriceVatdeadline": 2063.0 }5, "status": { "code": "ACTIVE", "name": "Aktivt" }, "type": { "code": "PACKAGE", "name": "Pakke" }, "children": [ { "code": "WI99990900", "name": "Godkjente bygningstegninger" }, { "code": "WI99991001", "name": "Tilknytning til offentlig vann og kloakk - skjemaløsning" }, { "code": "WI99990400", "name": "Grunnkart" }, { "code": "WI99992350", "name": "Planutsnitt med bestemmelser" }, { "code": "WI99991600", "name": "Kommunale avgifter og eiendomsskatt" }, { "code": "WI99990901", "name": "Midlertidig brukstillatelse og ferdigattest" } ], "activeProduct": true } ] |