To import POIs, use the command exchange/import_pois_save:
svc=exchange/import_pois_save¶ms={"itemId":<long>, "pois":[{ "n":<text>, "d":<text>, "img":<text>, "x":<double>, "y":<double>, "r":<uint>, "f":<uint>, "c":<uint>, "tc":<uint>, "ts":<uint>, "min":<uint>, "max":<uint> }]}
Current request can’t be executed simultaneously with any request from this chapter and following requests:
Parameters
Name | Description |
---|---|
itemId | resource ID |
id | POI ID |
pois | array of POIs IDs |
img | HEX string |
You can find the description of other parameters in the chapter get_poi_data.
Response
<int> /* quantity of updated POIs */