api.automapa.comv3 - alle Systeme normal

Genehmigungsdokumente auflisten

RoadPermit.list

Gibt Genehmigungsdokumente zurück. Ohne id und document_name werden Dokumente namens "default" geliefert. Aliasse: get, listing.

POST/v3/RoadPermit/listapi.automapa.com

Body-Parameter

AnfragetextTypBeschreibung
idstringDocument id.
document_namestringGroup by document identifier.
enviromentstringEnvironment (default "uat").

Beispielrequest

{
    "document_name": "ZDiK.TO.461.219.2020.AO"
}

Beispielresponse

{
    "result": [
        {
            "id": "60a79ba2",
            "date_start": "2026-05-01",
            "date_end": "2026-12-31",
            "description": "Temporary HGV restriction.",
            "document_name": "ZDiK.TO.461.219.2020.AO",
            "location": "Tarnów Dąbrowskiego",
            "permissions": {
                "tr_tonnage": 24,
                "tr_tonn_axis": 8.5
            },
            "is_valid_after_expiry": true
        }
    ]
}

result-Felder

result-FelderTypBeschreibung
enviromentstringEnvironment name (default "uat"). Letters, digits, _, -.
date_startstringValidity start "YYYY-MM-DD".
date_endstringValidity end "YYYY-MM-DD"; must be ≥ date_start.
descriptionstringFree-text description (≤ 255 chars).
document_namestringDocument identifier (default "default").
locationstringLocation description.
permissionsobjectAt least one of tr_tonnage / tr_tonn_axis / tr_height.
tr_tonnageinteger|doubleAllowed tonnage.
tr_tonn_axisinteger|doubleAllowed axle load.
tr_heightinteger|doubleAllowed height.
polyobjectGeoJSON Polygon { type: "Polygon", coordinates: [[[lon,lat], …]] }.
is_valid_after_expiryboolKeep valid after date_end. Default true.