This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:sidebar:remoteapi:codesamples:resources [05/06/2019 12:41] chdi [Editing POI] |
en:sidebar:remoteapi:codesamples:resources [05/06/2019 13:05] chdi [Editing POI] |
||
---|---|---|---|
Line 46: | Line 46: | ||
</code> | </code> | ||
- | ===== Editing POI ===== | + | ===== Editing geozone ===== |
Now let's change the name and radius of the new geozone: | Now let's change the name and radius of the new geozone: | ||
Line 52: | Line 52: | ||
https://hst-api.wialon.com/wialon/ajax.html?svc=resource/update_zone& | https://hst-api.wialon.com/wialon/ajax.html?svc=resource/update_zone& | ||
params={ | params={ | ||
- | "n":"Gurtam office", | + | "n":"Gurtam", |
"d":"Autopista M-50, San Fernando de Henares 28830, Madrid, Spain", | "d":"Autopista M-50, San Fernando de Henares 28830, Madrid, Spain", | ||
"t":3, | "t":3, | ||
- | "w":10000, | + | "w":5000, |
"f":112, | "f":112, | ||
"c":2568583984, | "c":2568583984, | ||
Line 76: | Line 76: | ||
}] | }] | ||
</code> | </code> | ||
- | |||
- | You can check how changes have been applied by making the request [[../apiref/resource/get_poi_data|get_poi_data]]. | ||
===== Deleting POI ===== | ===== Deleting POI ===== |
|