Versions Compared

Key

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

General request format:

GET http://IP-address:port/web2/secure/kartas/{plan}/layers/{base}/points/{CAM:id}

Request parameters:

ParameterIs requiredDescription
planNoMap ID
baseNoLayer ID
CAM:idYesObject ID in the format "TYPE:ID", for example "CAM:1"

Request example:

GET http://127.0.0.1:8085.com:[port]/web2/secure/kartas/plan/layers/base/points/CAM:2 – request for information on a point corresponding to the camera with id 2.Sample of response

Response example:

<point>
Code Block
languagexml
<point>
    <id>CAM:2</id>

...


    <layerId>base</layerId>

...


    <mapId>plan</mapId>

...


    <x>200.0</x>

...


    <y>200.0</y>

...


</point>

Response parameters:

ParameterDescription
idObject ID in the format "TYPE:ID", for example "CAM:1"
layerIdLayer ID
mapIdMap ID
xX coordinate of the upper left corner of the object icon
yY coordinate of the upper left corner of the object icon