This shows you the differences between two versions of the page.
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 [13/12/2016 16:40] stan [Restore item's icons from backup] |
||
---|---|---|---|
Line 5: | Line 5: | ||
<code javascript> | <code javascript> | ||
svc=item/restore_icons¶ms={"resId":<long>, | svc=item/restore_icons¶ms={"resId":<long>, | ||
- | "trailerIcons":{"itemId":<long>:<text>}, | + | "trailerIcons":{"<long>:<text>}, |
- | "driverIcons":{"itemId":<long>:<text>}, | + | "driverIcons":{<long>:<text>}, |
- | "poiIcons":{"itemId":<long>:<text>}, | + | "zoneIcons":{<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> |
|