API Guide
Table Of Contents
- OpenManage Enterprise Power Manager RESTful API Guide version 1.1
- About this document
- Overview
- Key integration concepts
- Settings
- Monitored Devices
- Monitored Groups
- Power Policy
- api/PowerService/PowerBounds
- /api/PowerService/Policies
- /api/PowerService/Policies(
) - /api/PowerService/Policies(
)/PolicyDetails - /api/PowerService/MonitoredDevices(
)/Policies - /api/PowerService/MonitoredGroups(
)/Policies - /api/PowerService/Actions/PowerService.CreatePolicy
- /api/PowerService/Actions/PowerService. EditPolicy
- /api/PowerService/Actions/PowerService.EnablePolicies
- /api/PowerService/Actions/PowerService.DisablePolicies
- /api/PowerService/Actions/PowerService.DeletePolicies
- Emergency Power Reduction
- Report Service
Chapter 1: About this document.................................................................................................... 6
Chapter 2: Overview......................................................................................................................7
Introduction to Power Manager....................................................................................................................................... 7
RESTful application programming interface..................................................................................................................7
OData......................................................................................................................................................................................7
JSON data............................................................................................................................................................................. 8
HTTPS communication.......................................................................................................................................................8
Chapter 3: Key integration concepts............................................................................................. 9
Base URI................................................................................................................................................................................ 9
OEM scheme...................................................................................................................................................................9
Security................................................................................................................................................................................ 10
Authentication.................................................................................................................................................................... 10
Authorization........................................................................................................................................................................11
Resource addressing......................................................................................................................................................... 12
Resource operations..........................................................................................................................................................12
Security considerations.................................................................................................................................................... 12
Data filtering........................................................................................................................................................................13
Data sorting......................................................................................................................................................................... 13
Data pagination...................................................................................................................................................................13
Request headers.................................................................................................................................................................14
Response codes..................................................................................................................................................................14
Response headers..............................................................................................................................................................15
Chapter 4: Settings..................................................................................................................... 16
/api/PowerService/Settings.......................................................................................................................................... 16
GET method for Power Service Settings...............................................................................................................16
/api/PowerService/Actions/PowerService.UpdateSettings..................................................................................17
POST method for Power Service Settings............................................................................................................ 17
Chapter 5: Monitored Devices......................................................................................................21
/api/PowerService/Actions/PowerService.AddDevices......................................................................................... 21
POST method to add Devices...................................................................................................................................21
/api/PowerService/Actions/PowerService.RemoveDevices................................................................................. 21
POST method to remove Monitored Devices...................................................................................................... 22
/api/PowerService/MonitoredDevices....................................................................................................................... 22
GET method for Monitored Devices.......................................................................................................................22
Chapter 6: Monitored Groups...................................................................................................... 26
/api/PowerService/Actions/PowerService.AddGroups......................................................................................... 26
POST method to add Groups................................................................................................................................... 26
/api/PowerService/Actions/PowerService.RemoveGroups................................................................................. 26
POST method to remove Monitored Groups........................................................................................................27
Contents
Contents 3