address_management/set_area_vehicle.php

Last modified by YellowFox_RD on 2024/12/19 10:11

Table of Contents

This function allows you to assign or remove server-based vehicles.

Description

GET /address_management/set_area_vehicle.php?company=RTI_COMPANYKEY&mode=assign&category=passive&uuid=ABC-123-DEF&vehicle=VEHICLE_KEY

Parameter

ParameterDescriptionTypeNoteMandatory
companyRTI Company keystringyes
modeDistinguishing between the different actionsstringPossible values:
  • assign= assigning a new vehicle to an area
  • remove =remove the assigned vehicle to an area
yes
vehicleRTI Vehicle keystringyes
uuidTo clearly identify the areastringyes
categoryType of areastringPossible values :
  • passive
yes

Return

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

Parameter

ParameterDescriptionType
statusOutputs OK if the action performed was successfulstring

JSON Format

  {
       "status": "OK"
 }

Example

https://map.yellowfox.de/rti/address_management/set_area_vehicle.php?company=COMPANY_KEY&vehicle=VEHICLE_KEY&category=passive&uuid=ABC-123-DEF&mode=assign