To log in, the XML
API client establishes a TCP connection to the Cisco UCS Central HTTPS server
and posts an XML document containing the aaaLogin method to the following URL:
Next, the client
aaaLogin method and provides a user name and password:
Do not include XML
version or DOCTYPE lines in the XML API document. The
inPassword attributes are parameters.
Each XML API
document represents an operation to be performed. When the request is received
as an XML API document, Cisco UCS reads the request and performs the actions as
provided in the method. Cisco UCS responds with a message in XML document
format and indicates success or failure of the request.
The following is a
typical successful response:
Each line in the
response should be interpreted as follows:
method used to login.
this is a response.
recommended cookie refresh period. The default login session length is 600
privilege level assigned to the user account.
outDomains value is
outChannel value of
noencssl declares that this session is not using
encryption over SSL.
outEvtChannel value of
noencssl declares that any event subscriptions would
not use encryption over SSL.
can use the cURL utility to log in to the XML API. You must use HTTPS in the
cURL command, as shown in the following example:
curl -d "<aaaLogin inName='admin' inPassword='password'></aaaLogin>" https://184.108.40.206/xmlIM/