beautypg.com

Get & set objects feature – Dell UPS 1000R User Manual

Page 4

background image

2 |

P a g e

N M C D e l l M 2 M p r o t o c o l ( X M L ) – 1 . 1

4. Get & Set objects feature

The Dell UPS Management Card supports the XML protocol over HTTP or HTTPS to set
parameters.

4.1.

Service

This service downloads from the Dell UPS Management Card the values of all parameters
and data inside the NMC card.

:

Attribute

Description

url

Indicates the URL to access to the main menu.

Securi
ty

Indicates the security level available for connection.

none

: No security in subscription sequence and alarm authentication.

basic

: The client is authenticated with a login/password.

ssl

: The client is authenticated with a login/password through HTTPS connection.

Mode

Indicates the interface access mode

By default use the FORM mode

.

FORM

: The x-form-urlencoded mode used by HTTP.

4.1.1. FORM POST Mode

This mode uses the same format than a standard browser with a HTML Form does.
The "standard x-form-urlencoded" is as follow:
The POST Header has type "

content-type:application/x-form-urlencoded

"

The POST Data section is formatted like an HTTP GET request.
If nothing is specified, returns the entire database.
For example:

objectName=UPS.*


Represents objects:

UPS.PowerSummary.iModel
UPS.PowerSummary.iProduct
...
UPS.PowerSummary.PresentStatus.ACPresent
UPS.PowerSummary.PresentStatus.Discharging
...

4.1.2. Request

This service allows getting one or more objects values.
Several objects can be retrieved by a single HTTP/POST request.
The request is made with one or several object name expression.
The expression is made of an object name prefix and an optional "∗" suffix.