Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Send a GET request to https://beta-api.ambita.com/kode/v1/products?municipalitymunicipalityNumber={municipalityCodemunicipalityNumber}

Example request

Code Block
languagejs
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
languagejson
[
  {
    "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"
      }
    ]
  }
]