This function allows you to retrieve a list of all server-based areas.

Description

GET /address_management/get_areas.php?company=RTI_COMPANYKEY&import=RTI_IMPORTKEY&displayDeleted=0

Parameter


ParameterBeschreibungTypHinweisPflicht
companyRTI company keystring
yes
import

RTI import key (all vehicles)

string
yes
displayDeletedShould deleted areas be displayed?string

Optional parameter

  • 0 (default) =Display only non-deleted areas
  • 1 =Display deleted areas as well
no
formatOutput formatstringjson (Standard)yes

Return

A string is returned. Otherwise an  "ERROR:Description" is returned

Parameter

Parameter

DescriptionType
uuidFor the unique identification of the area datastring
nameArea namestring
typeArea type(polygon,polyline )string
costCenterCost centerinteger
coordinatesLatitude/Longitudefloat
radiusRoute widthinteger
changeDateDate of change of the dataFormat YYYY-MM-dd'T'HH:MM:SS.SSSZ
createDateDate of creation of the dataFormat YYYY-MM-dd'T'HH:MM:SS.SSSZ
deleteDateDate of deletion of the dataFormat YYYY-MM-dd'T'HH:MM:SS.SSSZ
useInTimeRecordingshould the area be displayed in the time recording?boolean
useInMapshould the area be displayed on the map?boolean
assignedVehiclesList of assigned vehicles (active)array
_linksLinks (IFrameMapEditor, Delete)

JSON Format

 [{
        "uuid": "ABC-123-DEF",
        "name": "100 test",
        "type": "polygon",
        "costCenter": "100",
        "coordinates": [
            {
                "lat": 2.33867,
                "lon": 48.8554
            },
            {
                "lat": 2.33867,
                "lon": 48.859
            },
            {
                "lat": 2.34413,
                "lon": 48.859
            },
            {
                "lat": 2.34413,
                "lon": 48.8554
            }
        ],
        "radius": 0,
        "changeDate": "2023-02-22T14:02:21+0100",
        "createDate": "2023-02-21T12:51:12+0100",
        "deleteDate": null,
        "useInTimeRecording": true,
        "useInMap": true,
        "assignedVehicles": [
            {
                "vehicleSign ": "vehicleSign  1"
            },
            {
                "vehicleSign ": "vehicleSign  2"
            },
            {
                "vehicleSign ": "vehicleSign  3"
            }
           
        ],         
	   "_links":  {
            "editor": {
                "href": "https://map.yellowfox.de/rti/address_management/area_editor.php?company=RTI_COMPANYKEY&import=RTI_IMPORTKEY&uuid=123-ABC-345-DEF&category=passive"
	  		}
		  }
      }],


Example Calls

  • No labels