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
en:sidebar:remoteapi:apiref:core:create_retranslator [24/01/2013 14:14]
zuve
en:sidebar:remoteapi:apiref:core:create_retranslator [07/04/2014 08:29] (current)
Line 2: Line 2:
 ====== Create retranslator ====== ====== Create retranslator ======
  
-To create a new retranslator use command **core/​create_retranslator**: ​+To create a new retranslatoruse the command **core/​create_retranslator**: ​
 <code javascript>​ <code javascript>​
 svc=core/​create_retranslator&​params={"​creatorId":<​long>,​ svc=core/​create_retranslator&​params={"​creatorId":<​long>,​
Line 20: Line 20:
 ===== Parameters ===== ===== Parameters =====
 ^ Name ^ Description ^ ^ Name ^ Description ^
-| creatorId | ID of userwho will be assigned ​as creator for new user |+| creatorId | ID of user who will be assigned ​creator for new retranslator ​|
 | name | new retranslator name (at least 4 characters) | | name | new retranslator name (at least 4 characters) |
 | config | retranslator configuration | | config | retranslator configuration |
-| protocol | protocol ID (see [[../format/​retranslator#​Configuration|Data formatRetranslator ​configuration]]) |+| protocol | protocol ID (see [[../​retranslator/​update_config|RetranslatorsUpdate ​configuration]]) |
 | server | retranslation server | | server | retranslation server |
-| port | port (for all protocolsexcept NIS) |+| port | port (for all protocols except NIS) |
 | auth | authorization (only for NIS and Wialon IPS protocols) | | auth | authorization (only for NIS and Wialon IPS protocols) |
 | ssl | use SSL (for NIS): 0 - no, 1 - yes | | ssl | use SSL (for NIS): 0 - no, 1 - yes |
 | debug | use debug mode: 0 - no, 1 - yes | | debug | use debug mode: 0 - no, 1 - yes |
 | v6type | use protocol ver.6 (only for Granit Navigator): 0 - no, 1 - yes | | v6type | use protocol ver.6 (only for Granit Navigator): 0 - no, 1 - yes |
-| dataFlags | data flags for response (see [[../​format/​retranslator|Data format: Retranslators]])|+| dataFlags | data flags for the response (see [[../​format/​retranslator|Data format: Retranslators]])|
  
 ===== Response ===== ===== Response =====
Line 38: Line 38:
  ...   ...
  },  },
- "​flags":<​unit> /* applied data flags */+ "​flags":<​uint> /* applied data flags */
 } }
 </​code>​ </​code>​
-Format ​of field "item" you can see in chapter [[../​format/​retranslator|Data format: Retranslators]].+You can find the format ​of item” in the chapter [[../​format/​retranslator|Data format: Retranslators]].
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam