Getting Started with the WebSockets API : 2 Login : 2.2 Login Structure
 
2.2 Login Structure
 
Table 1: Login Structure
Attribute
Type
Definition
Domain
string,int
The domain model represented by this message (e.g. Login, MarketPrice, Headline, etc.). Defaults to Market Price if absent.
ID
int
Integer value representing the event stream. It can also be used to match the request and responses.
Key
object
The key representing the data content or capability requested.
Elements
object
An Element List describing additional attributes of the item stream.
               ApplicationId
string
The ID of the application to which the connection is made.
               Position
string
The IP address position of the application logging in.
Name
string,array(string)
Name(s) of the information requested.
Type
string,int
The message classification (e.g. Request, Response, Update, etc.). Defaults to Request if absent.