EMI.SESSION.START

September 18th, 2009 Leave a comment Go to comments

This method initiates a new control session on the device.

Request Parameters

Name Type Mandatory Description
name JSON String yes EMI Server user name
password JSON String yes EMI Server password

Response

Name Type Description
session JSON String New Session ID for the session.

Error Codes

Reference Description
EOK No errors (contains warnings)
EGENERAL Some other error
ESESREJECTED Request for the new session was rejected by the EMI Server

Examples

Request to EMI-RPC Server:

{
 "EMI-RPC": "1.0",
 "id": 1,
 "method": "emi.session.start",
 "params": { "user": "root", "password": "admin" }
}

Response from EMI-RPC Server:

{
 "EMI-RPC": "1.0",
 "id": 1,
 "result": {"session": "some_session_id" },
}
  1. No comments yet.
  1. No trackbacks yet.