action smart_me_folder_menu_post { label: "Creates and updates the folder menu items" provider: smart_me method: POST path: "/api/FolderMenu" encoding: form input: { type: "object" description: "Container Class for the Web API representing a folder menu and it's items" properties: { BrowserTimeZoneName: { type: "string" description: "The time zone name taken from the browser" } BrowserUtcTime: { type: "string" description: "The UTC time taken from the browser" } Items: { type: "array" items: { type: "object" description: "A folder menu item" properties: { AutoExportSettings: { type: "object" description: "Settings for the auto export functionality of a meter" properties: { ExportFormat: { type: "string" description: "The export format" } ExportInterval: { type: "string" description: "The export interval of the auto export" enum: ["NoExport", "Hourly", "Daily", "Weekly", "Monthly", "QuaterYearly", "HalfYearly", "Yearly"] } MeterPointId: { type: "string" description: "The meter point id set by the user" } UploadType: { type: "string" description: "The upload type" } } } Children: { type: "array" description: "Children folder menu items (sub folder menu items)" items: { type: "object" additionalProperties: true } } Description: { type: "string" description: "The Description of the folder" } FolderType: { type: "string" description: "The folder type of the item" enum: ["Folder", "Location", "Factory", "House", "Office", "Machine", "VirtualMeter", "ElecticityFolder", "WaterFolder", "HeatFolder", "GasFolder", "TemperatureFolder", "Sun", "Light", "Ice", "Sofa", "Food", "Coffee", "Car", "ChargingStation", "Meter", "User", "Trash", "GridPhotovoltaicPowerSystem"] } Icon: { type: "string" description: "The path to the Icon of this folder" } Id: { type: "string" description: "The id of the folder menu item" } MeterSerialNumber: { type: "string" description: "The serial number if the folder menu item is a meter. \n Serial number is handled as a string, as javascript on client side cannot handle long integers properly." } Name: { type: "string" description: "The Name of the item" } UserId: { type: "string" description: "The ID of the user of this folder (only for foldertype user)" } } } } } } output: { type: "object" additionalProperties: true } }