Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

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?municipality={municipalityCode}

Example request

curl -s \
      -H "Content-Type: application/json" \
      -H "Authorization: Bearer ej577asf-a5k6-42yq-a3a2-fh03hb8cb58c" \
      https://beta-api.ambita.com/kode/v1/products?municipality=9999

Example response

[
  {
    "code": "WI99990033",
    "name": "Meglerpakke",
    "description": "Pakken inneholder:",
    "delivery": {
      "code": "DIGITAL",
      "name": "Elektronisk"
    },
    "inputType": {
      "code": "CADASTRE",
      "name": "Matrikkel"
    },
    "price": {
      "salesPriceNet": 1650.4,
      "salesPriceVat": 2063.0
    },
    "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"
      }
    ]
  }
]
  • No labels