Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:sidebar:remoteapi:apiref:item:restore_icons [28/09/2015 12:33]
stan [Restore item's icons from backup]
en:sidebar:remoteapi:apiref:item:restore_icons [21/09/2016 09:16]
stan
Line 5: Line 5:
 <code javascript>​ <code javascript>​
 svc=item/​restore_icons&​params={"​resId":<​long>,​ svc=item/​restore_icons&​params={"​resId":<​long>,​
-        "​trailerIcons":​{"​itemId":​<​long>:<​text>​},​ +        "​trailerIcons":​{"<​long>:<​text>​},​ 
-        "​driverIcons":​{"​itemId":​<​long>:<​text>​},​ +        "​driverIcons":​{<​long>:<​text>​},​ 
-        "​poiIcons":​{"​itemId":​<​long>:<​text>​},​ +        "​poiIcons":​{<​long>:<​text>​},​ 
-        "​unitIcons":​{"​itemId":​<​long>:<​text>​}}+        "​unitIcons":​{<​long>:<​text>​}}
 </​code>​ </​code>​
  
 +**<​long>​** - item/​propitem ​ id; \\
 **<​text>​** - icon url on backup server. **<​text>​** - icon url on backup server.
  
-:!: You can restore a few of items at the same command, separated by comma **"​itemId":​<​long>:"<​text>"​** .+:!: You can restore a few of items at the same command, separated by comma **<​long>:"<​text>"​** .
  
 ===== Parameters ===== ===== Parameters =====
Line 19: Line 20:
 | resId | resource ID | | resId | resource ID |
 | itemId | item ID | | itemId | item ID |
 +| trailerIcons | trailer icon parameters | 
 +| driverIcons | driver icon parameters | 
 +| poiIcons | POI icon parameters | 
 +| unitIcons | unit icon parameters |
 ===== Response ===== ===== Response =====
 <​code=javascript>​ <​code=javascript>​
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam