Versions Compared

Key

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

General request format:

http://example.com:[port]IP-address:port/web2/secure/kartas/{plan}/layers/{base}/points/{CAM:2 – request for information on a point corresponding to the camera with id 2.

where plan is the Map ID;

base is the Layer ID.

Sample of response:

<point>

id}

Request parameters:

ParameterIs requiredDescription
planNoMap ID
baseNoLayer ID


Example request:

http://127.0.0.1:8085/web2/secure/kartas/plan/layers/base/points/CAM:2

Example response:

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

...


    <layerId>base</layerId>

...


    <mapId>plan</mapId>

...


    <x>200.0</x>

...


    <y>200.0</y>

...


</point>


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