Add or edit a folder or a meter. To add a new folder use and empty ID
Request
- Base URL: https://api.smart-me.com (the document declares no server; this is the origin it was published from)
- URL: https://api.smart-me.com/folder/settings/{id}
- Auth: one of:
- OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token; client credentials, token URL /oauth/token)
- HTTP basic
Path parameters
The ID of the folder or meter to edit. Use and empty ID to add a new folder
Request body
The Name of the folder or meter
The Description of the folder or meter
The serial number (meter only)
Flag if the meter is enabled (folder not supported yet)
The value correction on this meter
The value correction on all parent folders. but not on the meter itself
The parent folder ID of this item
The name of the visualization of the folder
Response
OK
The id of the folder menu item
The Name of the item
The Description of the folder
The path to the Icon of this folder
The ID of the user of this folder (only for foldertype user)
The serial number if the folder menu item is a meter. Serial number is handled as a string, as javascript on client side cannot handle long integers properly.
Changes
No recorded changes to this operation across all 1 revision of this API.