openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 85.7 kB
JSON
{"openapi":"3.0.0","servers":[{"url":"https://smart-me.com:443"}],"info":{"description":"With the smart-me REST API you get Access to all your devices in the smart-me Cloud and you can add your own devices. So its an easy way to add the smart-me Cloud support to your Hardware or Software Product.","title":"smart-me","version":"v1","x-apisguru-categories":["iot"],"x-logo":{"url":"http://smart-me.com/Images/bootstrap/logo.png"},"x-origin":[{"format":"openapi","url":"https://smart-me.com/swagger/docs/v1","version":"3.0"}],"x-providerName":"smart-me.com"},"paths":{"/api/AccessToken":{"put":{"deprecated":false,"description":"Creates a Access Token to write on a Card (e.g. NFC)","operationId":"AccessToken_Put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessTokenToPut"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AccessTokenToPut"}},"application/xml":{"schema":{"$ref":"#/components/schemas/AccessTokenToPut"}},"text/json":{"schema":{"$ref":"#/components/schemas/AccessTokenToPut"}},"text/xml":{"schema":{"$ref":"#/components/schemas/AccessTokenToPut"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}},"application/xml":{"schema":{"type":"string"}},"text/json":{"schema":{"type":"string"}},"text/xml":{"schema":{"type":"string"}}},"description":"OK"}},"summary":"Creates a Access Token to write on a Card (e.g. NFC)","tags":["AccessToken"]}},"/api/Account/login":{"get":{"deprecated":false,"operationId":"Account_Login","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Object"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Object"}},"text/json":{"schema":{"$ref":"#/components/schemas/Object"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Object"}}},"description":"OK"}},"tags":["Account"]},"post":{"deprecated":false,"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Object"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Object"}},"text/json":{"schema":{"$ref":"#/components/schemas/Object"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Object"}}},"description":"OK"}},"tags":["Account"]}},"/api/Actions":{"post":{"deprecated":false,"description":"Set an action for the specified device.","operationId":"Actions_Post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionToPost"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ActionToPost"}},"application/xml":{"schema":{"$ref":"#/components/schemas/ActionToPost"}},"text/json":{"schema":{"$ref":"#/components/schemas/ActionToPost"}},"text/xml":{"schema":{"$ref":"#/components/schemas/ActionToPost"}}},"description":"The Action Data","required":true},"responses":{"204":{"description":"No Content"}},"summary":"Set an action for the specified device.","tags":["Actions"]}},"/api/Actions/{id}":{"get":{"deprecated":false,"description":"Gets all available Actions of a Device","operationId":"Actions_Get","parameters":[{"description":"The ID of the device","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ActionInformation"},"type":"array"}},"application/xml":{"schema":{"items":{"$ref":"#/components/schemas/ActionInformation"},"type":"array"}},"text/json":{"schema":{"items":{"$ref":"#/components/schemas/ActionInformation"},"type":"array"}},"text/xml":{"schema":{"items":{"$ref":"#/components/schemas/ActionInformation"},"type":"array"}}},"description":"OK"}},"summary":"Gets all available Actions of a Device","tags":["Actions"]}},"/api/AdditionalDeviceInformation/{id}":{"get":{"deprecated":false,"description":"Gets the additional information (e.g. Firmware Version) about a device.","operationId":"AdditionalDeviceInformation_Get","parameters":[{"description":"The ID of the device","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdditionalDeviceInformation"}},"text/json":{"schema":{"$ref":"#/components/schemas/AdditionalDeviceInformation"}}},"description":"OK"}},"summary":"Gets the additional information (e.g. Firmware Version) about a device.","tags":["AdditionalDeviceInformation"]}},"/api/CustomDevice":{"get":{"deprecated":false,"description":"Gets all Devices","operationId":"CustomDevice_Get","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CustomDeviceToPost"},"type":"array"}},"application/xml":{"schema":{"items":{"$ref":"#/components/schemas/CustomDeviceToPost"},"type":"array"}},"text/json":{"schema":{"items":{"$ref":"#/components/schemas/CustomDeviceToPost"},"type":"array"}},"text/xml":{"schema":{"items":{"$ref":"#/components/schemas/CustomDeviceToPost"},"type":"array"}}},"description":"OK"}},"summary":"Gets all Custom Devices","tags":["CustomDevice"]},"post":{"deprecated":false,"description":"Creates or updates a Custom Device or updates it's values.\r\n A Custom Device can be any device that like to add some measurement values to the smart-me Cloud.\r\n Only use a custom device for all non meters.\r\n For a new device leave the ID empty. To create a device you have to set the DeviceEnergyType.\r\n To update values, add the ID of the device and the values you like to set. (See the Data Type Model for more Information)","operationId":"CustomDevice_Post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomDeviceToPost"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CustomDeviceToPost"}},"application/xml":{"schema":{"$ref":"#/components/schemas/CustomDeviceToPost"}},"text/json":{"schema":{"$ref":"#/components/schemas/CustomDeviceToPost"}},"text/xml":{"schema":{"$ref":"#/components/schemas/CustomDeviceToPost"}}},"description":"Device object with all the data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomDeviceToPost"}},"application/xml":{"schema":{"$ref":"#/components/schemas/CustomDeviceToPost"}},"text/json":{"schema":{"$ref":"#/components/schemas/CustomDeviceToPost"}},"text/xml":{"schema":{"$ref":"#/components/schemas/CustomDeviceToPost"}}},"description":"OK"},"401":{"description":"Unauthorized"}},"summary":"Creates or updates a Custom Device or updates it's values.","tags":["CustomDevice"]}},"/api/CustomDevice/{id}":{"get":{"deprecated":false,"description":"Gets a Device by it's ID","parameters":[{"description":"The ID of the device","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomDeviceToPost"}},"application/xml":{"schema":{"$ref":"#/components/schemas/CustomDeviceToPost"}},"text/json":{"schema":{"$ref":"#/components/schemas/CustomDeviceToPost"}},"text/xml":{"schema":{"$ref":"#/components/schemas/CustomDeviceToPost"}}},"description":"OK"}},"summary":"Gets a Custom Device by it's ID","tags":["CustomDevice"]}},"/api/DeviceBySerial":{"get":{"deprecated":false,"description":"Gets a Device by it's Serial Number. The Serial is the part before the \"-\".","operationId":"DeviceBySerial_Get","parameters":[{"description":"The Serial Number of the device","in":"query","name":"serial","required":true,"schema":{"format":"int64","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Device"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Device"}},"text/json":{"schema":{"$ref":"#/components/schemas/Device"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Device"}}},"description":"OK"}},"summary":"Gets a Device by it's Serial Number. The Serial is the part before the \"-\".","tags":["DeviceBySerial"]}},"/api/Devices":{"get":{"deprecated":false,"description":"Gets all Devices","operationId":"Devices_Get","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"application/xml":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"text/json":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"text/xml":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}}},"description":"OK"}},"summary":"Gets all Devices","tags":["Devices"]},"post":{"deprecated":false,"description":"Creates or updates a Device or updates it's values. \r\n For a new device leave the ID empty. To create a device you have to set the DeviceEnergyType.\r\n To update values, add the ID of the device and the values you like to set. (See the Data Type Model for more Information)","operationId":"Devices_Post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceToPost"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/DeviceToPost"}},"application/xml":{"schema":{"$ref":"#/components/schemas/DeviceToPost"}},"text/json":{"schema":{"$ref":"#/components/schemas/DeviceToPost"}},"text/xml":{"schema":{"$ref":"#/components/schemas/DeviceToPost"}}},"description":"Device object with all the data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceToPost"}},"application/xml":{"schema":{"$ref":"#/components/schemas/DeviceToPost"}},"text/json":{"schema":{"$ref":"#/components/schemas/DeviceToPost"}},"text/xml":{"schema":{"$ref":"#/components/schemas/DeviceToPost"}}},"description":"OK"},"401":{"description":"Unauthorized"}},"summary":"Creates or updates a Device or updates it's values.","tags":["Devices"]}},"/api/Devices/{id}":{"get":{"deprecated":false,"description":"Gets a Device by it's ID","parameters":[{"description":"The ID of the device","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Device"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Device"}},"text/json":{"schema":{"$ref":"#/components/schemas/Device"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Device"}}},"description":"OK"}},"summary":"Gets a Device by it's ID","tags":["Devices"]},"put":{"deprecated":false,"description":"Updates the On/Off Switch on a device\r\n For new implementations please use the \"actions\" command","operationId":"Devices_Put","parameters":[{"description":"The ID of the device","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"The new state of the switch","in":"query","name":"switchState","required":true,"schema":{"type":"boolean"}},{"description":"The number of the switch if there are multiple (1 for L1, 3 for L3)","in":"query","name":"switchNumber","required":false,"schema":{"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Object"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Object"}},"text/json":{"schema":{"$ref":"#/components/schemas/Object"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Object"}}},"description":"OK"},"401":{"description":"Unauthorized"},"405":{"description":"MethodNotAllowed"}},"summary":"Updates the On/Off Switch on a device. \r\n For new implementations please use the \"actions\" command","tags":["Devices"]}},"/api/DevicesByEnergy":{"get":{"deprecated":false,"description":"Gets all Devices for an Energy Type","operationId":"DevicesByEnergy_Get","parameters":[{"in":"query","name":"meterEnergyType","required":true,"schema":{"enum":["MeterTypeUnknown","MeterTypeElectricity","MeterTypeWater","MeterTypeGas","MeterTypeHeat","MeterTypeHCA","MeterTypeAllMeters","MeterTypeTemperature","MeterTypeMBusGateway","MeterTypeRS485Gateway","MeterTypeCustomDevice","MeterTypeCompressedAir","MeterTypeSolarLog","MeterTypeVirtualMeter","MeterTypeWMBusGateway"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"application/xml":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"text/json":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"text/xml":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}}},"description":"OK"}},"summary":"Gets all Devices for an Energy Type","tags":["DevicesByEnergy"]}},"/api/DevicesBySubType":{"get":{"deprecated":false,"description":"Gets all Devices by it's Sub Type (e.g. E-Charging Station)","operationId":"DevicesBySubType_Get","parameters":[{"in":"query","name":"meterSubType","required":true,"schema":{"enum":["MeterSubTypeUnknown","MeterSubTypeCold","MeterSubTypeHeat","MeterSubTypeChargingStation","MeterSubTypeElectricity","MeterSubTypeWater","MeterSubTypeGas","MeterSubTypeElectricityHeat","MeterSubTypeTemperature","MeterSubTypeVirtualBattery"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"application/xml":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"text/json":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"text/xml":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}}},"description":"OK"}},"summary":"Gets all Devices by it's Sub Type (e.g. E-Charging Station)","tags":["DevicesBySubType"]}},"/api/FastSendDeviceValues/{id}":{"get":{"deprecated":false,"operationId":"FastSendDeviceValues_Get","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"}},"summary":"Force a device to send the data every second (if supported). This for about 30s.\r\n Don't use this call to force a device to send the data every second for a longer time.","tags":["FastSendDeviceValues"]}},"/api/Folder/{id}":{"get":{"deprecated":false,"description":"Gets the Values for a folder or a meter","operationId":"Folder_Get","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderData"}},"text/json":{"schema":{"$ref":"#/components/schemas/FolderData"}}},"description":"OK"}},"summary":"Gets the Values for a folder or a meter","tags":["Folder"]}},"/api/FolderMenu":{"get":{"deprecated":false,"operationId":"FolderMenu_Get","parameters":[{"description":"(optional) Filter for the folders and meters: \r\n all: load everything\r\n assigned: load only folders and meters that are assigend to a folder\r\n unassigend: load only meters that are not assigend to a folder\r\n user: load only folder and all users assigned to this folders\r\n subuserlist: load all subusers as a list","in":"query","name":"filter","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderMenuConfiguration"}},"application/xml":{"schema":{"$ref":"#/components/schemas/FolderMenuConfiguration"}},"text/json":{"schema":{"$ref":"#/components/schemas/FolderMenuConfiguration"}},"text/xml":{"schema":{"$ref":"#/components/schemas/FolderMenuConfiguration"}}},"description":"OK"}},"summary":"Gets the folder menu items (each item might contain child items)","tags":["FolderMenu"]},"post":{"deprecated":false,"operationId":"FolderMenu_Post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderMenuConfiguration"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/FolderMenuConfiguration"}},"application/xml":{"schema":{"$ref":"#/components/schemas/FolderMenuConfiguration"}},"text/json":{"schema":{"$ref":"#/components/schemas/FolderMenuConfiguration"}},"text/xml":{"schema":{"$ref":"#/components/schemas/FolderMenuConfiguration"}}},"required":true},"responses":{"204":{"description":"No Content"}},"summary":"Creates and updates the folder menu items","tags":["FolderMenu"]}},"/api/Health":{"get":{"deprecated":false,"operationId":"Health_Get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Object"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Object"}},"text/json":{"schema":{"$ref":"#/components/schemas/Object"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Object"}}},"description":"OK"}},"summary":"A method returning HTTP 200 OK when queried.\r\n It is used by Kubernetes probes to determine whether the app is healthy.","tags":["Health"]}},"/api/MBus":{"post":{"deprecated":false,"description":"M-BUS API: Adds data of a M-BUS Meter to the smart-me Cloud.\r\n Just send us the M-BUS Telegram (RSP_UD) and we will do the Rest.","operationId":"MBus_Post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MBusData"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/MBusData"}},"application/xml":{"schema":{"$ref":"#/components/schemas/MBusData"}},"text/json":{"schema":{"$ref":"#/components/schemas/MBusData"}},"text/xml":{"schema":{"$ref":"#/components/schemas/MBusData"}}},"description":"The M-BUS Telegram","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Object"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Object"}},"text/json":{"schema":{"$ref":"#/components/schemas/Object"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Object"}}},"description":"OK"},"400":{"description":"BadRequest"},"401":{"description":"Unauthorized"}},"summary":"M-BUS API: Adds data of a M-BUS Meter to the smart-me Cloud.\r\n Just send us the M-BUS Telegram (RSP_UD) and we will do the Rest.","tags":["MBus"]}},"/api/MeterFolderInformation":{"post":{"deprecated":false,"description":"Sets the Name of a Meter or a Folder","operationId":"MeterFolderInformation_Post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeterFolderInformationToPost"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/MeterFolderInformationToPost"}},"application/xml":{"schema":{"$ref":"#/components/schemas/MeterFolderInformationToPost"}},"text/json":{"schema":{"$ref":"#/components/schemas/MeterFolderInformationToPost"}},"text/xml":{"schema":{"$ref":"#/components/schemas/MeterFolderInformationToPost"}}},"required":true},"responses":{"204":{"description":"No Content"}},"summary":"Sets the Name of a Meter or a Folder","tags":["MeterFolderInformation"]}},"/api/MeterFolderInformation/{id}":{"get":{"deprecated":false,"description":"Beta: Gets the General Information for a Meter or a Folder","operationId":"MeterFolderInformation_Get","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeterFolderInformation"}},"application/xml":{"schema":{"$ref":"#/components/schemas/MeterFolderInformation"}},"text/json":{"schema":{"$ref":"#/components/schemas/MeterFolderInformation"}},"text/xml":{"schema":{"$ref":"#/components/schemas/MeterFolderInformation"}}},"description":"OK"}},"summary":"Beta: Gets the General Information for a Meter or a Folder","tags":["MeterFolderInformation"]}},"/api/MeterValues/{id}":{"get":{"deprecated":false,"description":"Gets the Values for a Meter at a given Date. The first Value found before the given Date is returned.","operationId":"MeterValues_Get","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"query","name":"date","required":true,"schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceInPast"}},"application/xml":{"schema":{"$ref":"#/components/schemas/DeviceInPast"}},"text/json":{"schema":{"$ref":"#/components/schemas/DeviceInPast"}},"text/xml":{"schema":{"$ref":"#/components/schemas/DeviceInPast"}}},"description":"OK"}},"summary":"Gets the Values for a Meter at a given Date. \r\n The first Value found before the given Date is returned.","tags":["MeterValues"]}},"/api/RegisterForRealtimeApi":{"get":{"deprecated":false,"description":"Gets all registrations for the Realtime API.","operationId":"RegisterForRealtimeApi_Get","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RegisterRealtimeApiData"},"type":"array"}},"application/xml":{"schema":{"items":{"$ref":"#/components/schemas/RegisterRealtimeApiData"},"type":"array"}},"text/json":{"schema":{"items":{"$ref":"#/components/schemas/RegisterRealtimeApiData"},"type":"array"}},"text/xml":{"schema":{"items":{"$ref":"#/components/schemas/RegisterRealtimeApiData"},"type":"array"}}},"description":"OK"}},"summary":"Gets all registrations for the Realtime API.","tags":["RegisterForRealtimeApi"]},"post":{"deprecated":false,"description":"Creates a new registration for the realtime API. The Realtime API sends you the data of the registred devices as soon as we have them on the cloud. More Information about the realtime API: https://www.smart-me.com/Description/api/realtimeapi.aspx","operationId":"RegisterForRealtimeApi_Post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterRealtimeApiData"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/RegisterRealtimeApiData"}},"application/xml":{"schema":{"$ref":"#/components/schemas/RegisterRealtimeApiData"}},"text/json":{"schema":{"$ref":"#/components/schemas/RegisterRealtimeApiData"}},"text/xml":{"schema":{"$ref":"#/components/schemas/RegisterRealtimeApiData"}}},"required":true},"responses":{"204":{"description":"No Content"}},"summary":"Creates a new registration for the realtime API. The Realtime API sends you the data of the registred devices as soon as we have them on the cloud.\r\n More Information about the realtime API: https://www.smart-me.com/Description/api/realtimeapi.aspx","tags":["RegisterForRealtimeApi"]}},"/api/RegisterForRealtimeApi/{id}":{"delete":{"deprecated":false,"description":"Deletes a realtime API registration.","operationId":"RegisterForRealtimeApi_Delete","parameters":[{"description":"The ID of the realtime API registration","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"}},"summary":"Deletes a realtime API registration.","tags":["RegisterForRealtimeApi"]}},"/api/SmartMeDeviceConfiguration":{"post":{"deprecated":false,"operationId":"SmartMeDeviceConfiguration_Post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartMeDeviceConfigurationContainer"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SmartMeDeviceConfigurationContainer"}},"application/xml":{"schema":{"$ref":"#/components/schemas/SmartMeDeviceConfigurationContainer"}},"text/json":{"schema":{"$ref":"#/components/schemas/SmartMeDeviceConfigurationContainer"}},"text/xml":{"schema":{"$ref":"#/components/schemas/SmartMeDeviceConfigurationContainer"}}},"required":true},"responses":{"204":{"description":"No Content"}},"summary":"Sets the configuration of a smart-me device. The device needs to be online.","tags":["SmartMeDeviceConfiguration"]}},"/api/SmartMeDeviceConfiguration/{id}":{"get":{"deprecated":false,"operationId":"SmartMeDeviceConfiguration_Get","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartMeDeviceConfigurationContainer"}},"application/xml":{"schema":{"$ref":"#/components/schemas/SmartMeDeviceConfigurationContainer"}},"text/json":{"schema":{"$ref":"#/components/schemas/SmartMeDeviceConfigurationContainer"}},"text/xml":{"schema":{"$ref":"#/components/schemas/SmartMeDeviceConfigurationContainer"}}},"description":"OK"}},"summary":"Gets the configuration of a smart-me device.","tags":["SmartMeDeviceConfiguration"]}},"/api/SubUser":{"post":{"deprecated":false,"operationId":"SubUser_Post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubUserData"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/SubUserData"}},"application/xml":{"schema":{"$ref":"#/components/schemas/SubUserData"}},"text/json":{"schema":{"$ref":"#/components/schemas/SubUserData"}},"text/xml":{"schema":{"$ref":"#/components/schemas/SubUserData"}}},"required":true},"responses":{"204":{"description":"No Content"}},"summary":"Creates or updates a subuser.\r\n To create a new user set no ID (empty)","tags":["SubUser"]}},"/api/SubUser/{id}":{"delete":{"deprecated":false,"operationId":"SubUser_Delete","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"}},"summary":"Delete a subuser","tags":["SubUser"]},"get":{"deprecated":false,"operationId":"SubUser_Get","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubUserData"}},"application/xml":{"schema":{"$ref":"#/components/schemas/SubUserData"}},"text/json":{"schema":{"$ref":"#/components/schemas/SubUserData"}},"text/xml":{"schema":{"$ref":"#/components/schemas/SubUserData"}}},"description":"OK"}},"summary":"Get a sub user. The user must be assigend to the user that makes this call.","tags":["SubUser"]}},"/api/User":{"delete":{"deprecated":false,"operationId":"User_Delete","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Object"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Object"}},"text/json":{"schema":{"$ref":"#/components/schemas/Object"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Object"}}},"description":"OK"}},"summary":"Triggers user account deletion.","tags":["User"]},"get":{"deprecated":false,"description":"Gets the informations for the user.","operationId":"User_Get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}},"application/xml":{"schema":{"$ref":"#/components/schemas/User"}},"text/json":{"schema":{"$ref":"#/components/schemas/User"}},"text/xml":{"schema":{"$ref":"#/components/schemas/User"}}},"description":"OK"}},"summary":"Gets the informations for the user.","tags":["User"]}},"/api/Values/{id}":{"get":{"deprecated":false,"operationId":"Values_Get","parameters":[{"description":"The ID of the device","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValuesData"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValuesData"}}},"description":"OK"}},"summary":"Gets all (last) values of a device","tags":["Values"]}},"/api/ValuesInPast/{id}":{"get":{"deprecated":false,"description":"Gets the Values for a device at a given Date. The first Value found before the given Date is returned.","operationId":"ValuesInPast_Get","parameters":[{"description":"The ID of the device","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"the date of the value","in":"query","name":"date","required":true,"schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValuesData"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValuesData"}}},"description":"OK"}},"summary":"Gets all (last) values of a device\r\n The first Value found before the given Date is returned.","tags":["ValuesInPast"]}},"/api/ValuesInPastMultiple/{id}":{"get":{"deprecated":false,"operationId":"ValuesInPastMultiple_Get","parameters":[{"description":"The ID of the device","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"description":"The date when the first value should start","in":"query","name":"startDate","required":true,"schema":{"format":"date-time","type":"string"}},{"description":"The date when the last value should start","in":"query","name":"endDate","required":true,"schema":{"format":"date-time","type":"string"}},{"description":"The interval in minutes betwenn the values. 0 means as fast as possible. Only 1000 values can be get in one call.","in":"query","name":"interval","required":true,"schema":{"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ValuesData"},"type":"array"}},"application/xml":{"schema":{"items":{"$ref":"#/components/schemas/ValuesData"},"type":"array"}},"text/json":{"schema":{"items":{"$ref":"#/components/schemas/ValuesData"},"type":"array"}},"text/xml":{"schema":{"items":{"$ref":"#/components/schemas/ValuesData"},"type":"array"}}},"description":"OK"}},"summary":"Gets multiple values of a device. This call needs a smart-me professional licence.","tags":["ValuesInPastMultiple"]}},"/api/VirtualBillingMeterActive":{"get":{"deprecated":false,"description":"Beta: Gets all active virtual meters.","operationId":"VirtualBillingMeterActive_Get","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"application/xml":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"text/json":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"text/xml":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}}},"description":"OK"}},"summary":"Beta: Gets all active virtual meters","tags":["VirtualBillingMeterActive"]},"post":{"deprecated":false,"description":"Beta: Virtual Meter API: Activates a Meter and add the Consumption to a Virtual Meter assosiated with the User.","operationId":"VirtualBillingMeterActive_Post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VMeterToActivate"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/VMeterToActivate"}},"application/xml":{"schema":{"$ref":"#/components/schemas/VMeterToActivate"}},"text/json":{"schema":{"$ref":"#/components/schemas/VMeterToActivate"}},"text/xml":{"schema":{"$ref":"#/components/schemas/VMeterToActivate"}}},"description":"The Meter to activate","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Device"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Device"}},"text/json":{"schema":{"$ref":"#/components/schemas/Device"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Device"}}},"description":"OK"},"400":{"description":"BadRequest"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Beta: Virtual Meter API: Activates a Meter and add the Consumption to a Virtual Meter assosiated with the User.","tags":["VirtualBillingMeterActive"]}},"/api/VirtualBillingMeterDeactivate":{"post":{"deprecated":false,"description":"Beta: Virtual Meter API: Deactivates a Virtual Meter.","operationId":"VirtualBillingMeterDeactivate_Post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VMeterToDeactivate"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/VMeterToDeactivate"}},"application/xml":{"schema":{"$ref":"#/components/schemas/VMeterToDeactivate"}},"text/json":{"schema":{"$ref":"#/components/schemas/VMeterToDeactivate"}},"text/xml":{"schema":{"$ref":"#/components/schemas/VMeterToDeactivate"}}},"description":"The Meter to activate","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Object"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Object"}},"text/json":{"schema":{"$ref":"#/components/schemas/Object"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Object"}}},"description":"OK"},"400":{"description":"BadRequest"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"summary":"Beta: Virtual Meter API: Deactivates a Virtual Meter.","tags":["VirtualBillingMeterDeactivate"]}},"/api/VirtualBillingMeters":{"get":{"deprecated":false,"description":"Beta: Gets all Meters available to activate as a Virtual Meter.","operationId":"VirtualBillingMeters_Get","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"application/xml":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"text/json":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"text/xml":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}}},"description":"OK"}},"summary":"Beta: Gets all Meters available to activate as a Virtual Meter.","tags":["VirtualBillingMeters"]}},"/api/VirtualMeterCalculateFormula":{"get":{"deprecated":false,"description":"Calculates a virtual meter from a formula.\r\n \r\n A meter is coded as ID(\"METERID\")\r\n Ariphmetical operators:\r\n () parentheses; \r\n + plus (a + b); \r\n - minus (a - b); \r\n * multiplycation symbol (a * b); \r\n / divide symbol (a / b); \r\n Example: (ID(\"63ac09cb-4e5f-4f3e-bd27-ad8c30bdfc0c\") + ID(\"0209555e-9dc4-4e84-a166-a864488b4b12\")) * 2","operationId":"VirtualMeterCalculateFormula_Get","parameters":[{"in":"query","name":"formula","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Device"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Device"}},"text/json":{"schema":{"$ref":"#/components/schemas/Device"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Device"}}},"description":"OK"}},"summary":"Calculates a virtual meter from a formula. \r\n A meter is coded as ID(\"METERID\")","tags":["VirtualMeterCalculateFormula"]}},"/api/VirtualTariff":{"get":{"deprecated":false,"description":"Gets all Virtual Tariffs of a user","operationId":"VirtualTariff_Get","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/VirtualTariffsOfFolder"},"type":"array"}},"application/xml":{"schema":{"items":{"$ref":"#/components/schemas/VirtualTariffsOfFolder"},"type":"array"}},"text/json":{"schema":{"items":{"$ref":"#/components/schemas/VirtualTariffsOfFolder"},"type":"array"}},"text/xml":{"schema":{"items":{"$ref":"#/components/schemas/VirtualTariffsOfFolder"},"type":"array"}}},"description":"OK"}},"summary":"Gets all Virtual Tariffs of a user","tags":["VirtualTariff"]}},"/api/VirtualTariff/{id}":{"get":{"deprecated":false,"description":"Gets all virtual tariffs of a folder","parameters":[{"description":"The ID of the Folder","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VirtualTariffsOfFolder"}},"text/json":{"schema":{"$ref":"#/components/schemas/VirtualTariffsOfFolder"}}},"description":"OK"}},"summary":"Gets all virtual tariffs of a folder","tags":["VirtualTariff"]}},"/api/VirtualTariffConsumption":{"get":{"deprecated":false,"description":"Gets the consumption of a folder with a virtuall tariffs.","operationId":"VirtualTariffConsumption_Get","parameters":[{"description":"The ID of the Folder","in":"query","name":"folderId","required":true,"schema":{"type":"string"}},{"description":"The start date (UTC)","in":"query","name":"startDate","required":true,"schema":{"format":"date-time","type":"string"}},{"description":"The end date (UTC)","in":"query","name":"endDate","required":true,"schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/VirtualTariffConsumptionData"},"type":"array"}},"application/xml":{"schema":{"items":{"$ref":"#/components/schemas/VirtualTariffConsumptionData"},"type":"array"}},"text/json":{"schema":{"items":{"$ref":"#/components/schemas/VirtualTariffConsumptionData"},"type":"array"}},"text/xml":{"schema":{"items":{"$ref":"#/components/schemas/VirtualTariffConsumptionData"},"type":"array"}}},"description":"OK"}},"summary":"Gets the consumption of a folder with a virtuall tariffs.","tags":["VirtualTariffConsumption"]}},"/api/VirtualTariffsForProperty/{id}":{"get":{"deprecated":false,"description":"Gets all Virtual Tariffs for a property (folder)","operationId":"VirtualTariffsForProperty_Get","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/VirtualTariffsOfFolder"},"type":"array"}},"application/xml":{"schema":{"items":{"$ref":"#/components/schemas/VirtualTariffsOfFolder"},"type":"array"}},"text/json":{"schema":{"items":{"$ref":"#/components/schemas/VirtualTariffsOfFolder"},"type":"array"}},"text/xml":{"schema":{"items":{"$ref":"#/components/schemas/VirtualTariffsOfFolder"},"type":"array"}}},"description":"OK"}},"summary":"Gets all Virtual Tariffs for a property (folder)","tags":["VirtualTariffsForProperty"]}},"/api/VirtualTariffsStatusForProperty/{id}":{"get":{"deprecated":false,"operationId":"VirtualTariffsStatusForProperty_Get","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}},"application/xml":{"schema":{"type":"string"}},"text/json":{"schema":{"type":"string"}},"text/xml":{"schema":{"type":"string"}}},"description":"OK"}},"summary":"Gets the calculation status for a virtual tariff property","tags":["VirtualTariffsStatusForProperty"]}},"/api/folder/assign":{"post":{"deprecated":false,"operationId":"FolderAssign_Post","parameters":[{"description":"The ID of the meter or folder that should be assign","in":"query","name":"source","required":true,"schema":{"type":"string"}},{"description":"The ID of the meter or folder that should be the parent","in":"query","name":"target","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"}},"summary":"Assign a folder (source) or meter to another folder (target). Can be used to create a folder structure.","tags":["FolderAssign"]}},"/api/folder/settings/{id}":{"delete":{"deprecated":false,"operationId":"FolderSettings_Delete","parameters":[{"description":"The ID of the folder","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"}},"summary":"Deletes a folder","tags":["FolderSettings"]},"get":{"deprecated":false,"operationId":"FolderSettings_Get","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderSettings"}},"application/xml":{"schema":{"$ref":"#/components/schemas/FolderSettings"}},"text/json":{"schema":{"$ref":"#/components/schemas/FolderSettings"}},"text/xml":{"schema":{"$ref":"#/components/schemas/FolderSettings"}}},"description":"OK"}},"summary":"Gets the settings of a folder or meter","tags":["FolderSettings"]},"post":{"deprecated":false,"operationId":"FolderSettings_Post","parameters":[{"description":"The ID of the folder or meter to edit. Use and empty ID to add a new folder","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderSettings"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/FolderSettings"}},"application/xml":{"schema":{"$ref":"#/components/schemas/FolderSettings"}},"text/json":{"schema":{"$ref":"#/components/schemas/FolderSettings"}},"text/xml":{"schema":{"$ref":"#/components/schemas/FolderSettings"}}},"description":"The folder or meter data","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolderMenuItem"}},"application/xml":{"schema":{"$ref":"#/components/schemas/FolderMenuItem"}},"text/json":{"schema":{"$ref":"#/components/schemas/FolderMenuItem"}},"text/xml":{"schema":{"$ref":"#/components/schemas/FolderMenuItem"}}},"description":"OK"}},"summary":"Add or edit a folder or a meter. To add a new folder use and empty ID","tags":["FolderSettings"]}},"/api/folder/user/assign":{"delete":{"deprecated":false,"operationId":"UserToFolderAssign_Delete","parameters":[{"description":"The ID of the user that should be de-assign","in":"query","name":"source","required":true,"schema":{"type":"string"}},{"description":"The ID of the folder","in":"query","name":"target","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"}},"summary":"Deletes a user to folder assignement","tags":["UserToFolderAssign"]},"post":{"deprecated":false,"operationId":"UserToFolderAssign_Post","parameters":[{"description":"The ID of the user that should be assign","in":"query","name":"source","required":true,"schema":{"type":"string"}},{"description":"The ID of the folder that should be the parent","in":"query","name":"target","required":true,"schema":{"type":"string"}},{"description":"The ID of the old folder (in case of a drag and drop to a new folder)","in":"query","name":"oldFolder","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"}},"summary":"Assign a user to a folder","tags":["UserToFolderAssign"]}},"/api/oauth/authorize":{"get":{"deprecated":false,"operationId":"OAuth_Authorize","parameters":[{"in":"query","name":"client_id","required":true,"schema":{"type":"string"}},{"in":"query","name":"redirect_uri","required":true,"schema":{"type":"string"}},{"in":"query","name":"state","required":true,"schema":{"type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"client_secret","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Object"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Object"}},"text/json":{"schema":{"$ref":"#/components/schemas/Object"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Object"}}},"description":"OK"}},"tags":["OAuth"]},"post":{"deprecated":false,"parameters":[{"in":"query","name":"client_id","required":true,"schema":{"type":"string"}},{"in":"query","name":"redirect_uri","required":true,"schema":{"type":"string"}},{"in":"query","name":"state","required":true,"schema":{"type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"in":"query","name":"client_secret","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Object"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Object"}},"text/json":{"schema":{"$ref":"#/components/schemas/Object"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Object"}}},"description":"OK"}},"tags":["OAuth"]}},"/api/pico":{"get":{"deprecated":false,"operationId":"Pico_Get","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"application/xml":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"text/json":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}},"text/xml":{"schema":{"items":{"$ref":"#/components/schemas/Device"},"type":"array"}}},"description":"OK"}},"summary":"Gets all pico charging stations for this user","tags":["Pico"]}},"/api/pico/charging/{id}":{"get":{"deprecated":false,"operationId":"PicoCharging_Get","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PicoChargingData"}},"text/json":{"schema":{"$ref":"#/components/schemas/PicoChargingData"}}},"description":"OK"}},"summary":"Gets the active charging data of a pico station","tags":["PicoCharging"]}},"/api/pico/history/{id}":{"get":{"deprecated":false,"operationId":"PicoChargingHistory_Get","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PicoChargingHistoryData"},"type":"array"}},"application/xml":{"schema":{"items":{"$ref":"#/components/schemas/PicoChargingHistoryData"},"type":"array"}},"text/json":{"schema":{"items":{"$ref":"#/components/schemas/PicoChargingHistoryData"},"type":"array"}},"text/xml":{"schema":{"items":{"$ref":"#/components/schemas/PicoChargingHistoryData"},"type":"array"}}},"description":"OK"}},"summary":"Gets the last charging history for a pico station","tags":["PicoChargingHistory"]}},"/api/pico/loadmanagementgroup":{"get":{"deprecated":false,"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PicoLoadmanagementGroupDto"},"type":"array"}},"application/xml":{"schema":{"items":{"$ref":"#/components/schemas/PicoLoadmanagementGroupDto"},"type":"array"}},"text/json":{"schema":{"items":{"$ref":"#/components/schemas/PicoLoadmanagementGroupDto"},"type":"array"}},"text/xml":{"schema":{"items":{"$ref":"#/components/schemas/PicoLoadmanagementGroupDto"},"type":"array"}}},"description":"OK"}},"summary":"GET: api/pico/loadmanagementgroup\r\n \r\n Returns all available load management groups","tags":["PicoLoadmanagementGroup"]}},"/api/pico/loadmanagementgroup/current/{serial}":{"post":{"deprecated":false,"operationId":"PicoLoadmanagementSetDynamicCurrent_Post","parameters":[{"description":"The serial number can be any pico serial in the group (e.g. 700001)","in":"path","name":"serial","required":true,"schema":{"format":"int64","type":"integer"}},{"description":"The dynamic current of the group (in mA)","in":"query","name":"current","required":true,"schema":{"format":"int32","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Object"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Object"}},"text/json":{"schema":{"$ref":"#/components/schemas/Object"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Object"}}},"description":"OK"}},"summary":"Sets the dynamic current of a load management group or a single station.","tags":["PicoLoadmanagementSetDynamicCurrent"]}},"/api/pico/loadmanagementgroup/{id}":{"get":{"deprecated":false,"operationId":"PicoLoadmanagementGroup_Get","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PicoLoadmanagementGroupDto"}},"application/xml":{"schema":{"$ref":"#/components/schemas/PicoLoadmanagementGroupDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/PicoLoadmanagementGroupDto"}},"text/xml":{"schema":{"$ref":"#/components/schemas/PicoLoadmanagementGroupDto"}}},"description":"OK"}},"summary":"GET: api/pico/loadmanagementgroup\r\n \r\n Returns a pico load management group by it's id","tags":["PicoLoadmanagementGroup"]}},"/api/pico/settings/{id}":{"get":{"deprecated":false,"operationId":"PicoSettings_Get","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PicoSettingsDto"}},"application/xml":{"schema":{"$ref":"#/components/schemas/PicoSettingsDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/PicoSettingsDto"}},"text/xml":{"schema":{"$ref":"#/components/schemas/PicoSettingsDto"}}},"description":"OK"}},"summary":"GET: api/pico/settings\r\n \r\n Returns the settings of a pico charging station.","tags":["PicoSettings"]}},"/api/pico/tryenablecablelock/{id}":{"post":{"deprecated":false,"operationId":"PicoEnableFixCableLock_Post","parameters":[{"description":"The ID of the pico","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Object"}},"application/xml":{"schema":{"$ref":"#/components/schemas/Object"}},"text/json":{"schema":{"$ref":"#/components/schemas/Object"}},"text/xml":{"schema":{"$ref":"#/components/schemas/Object"}}},"description":"OK"}},"summary":"Try to fix lock the cable of a pico. The pico must be online and a cable (without car) needs to be connected. Otherwise this will fail.","tags":["PicoEnableFixCableLock"]}}},"components":{"schemas":{"AccessTokenToPut":{"description":"Container Class for the Put action of an Access Token","properties":{"CardId":{"description":"The ID of the Card","format":"int64","type":"integer"},"UserId":{"description":"The ID of the User. The credentials provided must have permission to edit the user.\r\n If no ID is provided, the user in the credentials is taken.","format":"int64","type":"integer"}},"type":"object"},"ActionInformation":{"description":"The Information about an Action of a device","properties":{"ActionType":{"description":"The Type of this action.","enum":["OnOffAction","AnalogAction"],"type":"string"},"MaxValue":{"description":"The maximum value of this action (e.g. for an AnalogAction)","format":"double","type":"number"},"MinValue":{"description":"The minimum value of this action (e.g. for an AnalogAction)","format":"double","type":"number"},"Name":{"description":"The Name of this action","type":"string"},"ObisCode":{"description":"The Obis Code of this action. This is used as ID.","type":"string"}},"type":"object