{% load i18n %}

{% blocktrans trimmed %} lookup by code {% endblocktrans %}

URL:
  • /code/[{% trans "code type" %}]/[{% trans "code" %}]
{% trans "Parameters" %}:
{% blocktrans trimmed %} code type and a code should uniquely identify an area. (MapIt uses code types and codes to associate external identifiers with areas.) {% endblocktrans %} {% include "mapit/api/code-types.html" %}
{% trans "Returns" %}:

{% blocktrans trimmed %} This returns an HTTP 302 Found redirect to the corresponding /area/[area ID] page. Any format extension (.html or .json) will be preserved in the URL that's redirected to. {% endblocktrans %}

{% include "mapit/api/code-examples.html" %}