Go to documentation repository
Page History
General request format:
GET http://IP-address:port/web2/secure/kartas/{plan}/layers/{base}/points/{CAM:id}
Request parameters:
Parameter | Is required | Description |
---|---|---|
plan | No | Map ID |
base | No | Layer ID |
CAM:id | Yes | Object 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 | ||
---|---|---|
| ||
<point> <id>CAM:2</id> |
...
<layerId>base</layerId> |
...
<mapId>plan</mapId> |
...
<x>200.0</x> |
...
<y>200.0</y> |
...
</point> |
Response parameters:
Parameter | Description |
---|---|
id | Object ID in the format "TYPE:ID", for example "CAM:1" |
layerId | Layer ID |
mapId | Map ID |
x | X coordinate of the upper left corner of the object icon |
y | Y coordinate of the upper left corner of the object icon |
Overview
Content Tools