This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:sidebar:remoteapi:apiref:core:create_unit [07/04/2014 06:27] mast |
en:sidebar:remoteapi:apiref:core:create_unit [25/02/2020 08:15] chdi [Parameters] |
||
---|---|---|---|
Line 7: | Line 7: | ||
"name":<text>, | "name":<text>, | ||
"hwTypeId":<long>, | "hwTypeId":<long>, | ||
- | "dataFlags":<uint>} | + | "dataFlags":<long>} |
</code> | </code> | ||
Line 16: | Line 16: | ||
| creatorId | ID of a user who will be assigned a creator for a new unit | | | creatorId | ID of a user who will be assigned a creator for a new unit | | ||
| name | new unit name (at least 4 characters) | | | name | new unit name (at least 4 characters) | | ||
- | | hwTypeId | device (hardware) ID | | + | | hwTypeId | device [[en:sidebar:remoteapi:apiref:core:get_hw_types|(hardware) ID]] | |
| dataFlags | data flags for the response (see [[../format/unit|Data format: Units]])| | | dataFlags | data flags for the response (see [[../format/unit|Data format: Units]])| | ||
|