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:apiref:item:restore_icons [28/09/2015 12:35] stan [Parameters] |
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 ===== |
|