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_resource [07/04/2014 06:27]
mast
en:sidebar:remoteapi:apiref:core:create_resource [18/06/2015 18:58] (current)
Line 7: Line 7:
 svc=core/​create_resource&​params={"​creatorId":<​long>,​ svc=core/​create_resource&​params={"​creatorId":<​long>,​
  "​name":<​text>,​  ​      "​name":<​text>,​  ​    
- "​dataFlags":<​uint>​}+ "​dataFlags":<​uint>, 
 +                                 "​skipCreatorCheck":<​bool>}
 </​code>​ </​code>​
  
Line 15: Line 16:
 | name | name of a new resource (at least 4 characters) | | name | name of a new resource (at least 4 characters) |
 | dataFlags | data flags for the response (see [[../​format/​resource|Data format: Resources]])| | dataFlags | data flags for the response (see [[../​format/​resource|Data format: Resources]])|
 +| skipCreatorCheck | special flag (see below), 1 - enable|
 +
 +:!: Clarification for ''​skipCreatorCheck'':​ if non-account user created items then it is impossible to create account for such user later; in order to create resource for such user please use skipCreatorCheck=1. The flag is used for that case only. Such limitation exists to protect one's hierarchy.
  
 ===== Response ===== ===== Response =====
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2019 Gurtam