Advanced : 8 View : 8.3 Context
 
8.3 Context
To view a contextual example message, click the appropriate message type:
Login
 
 
{
    "Domain":"Login",
    "ID":1,
    "Key":{
        "Elements":{
            "ApplicationId":"256",
            "Position":"127.0.0.1"
        },
        "Name":"user"
    }
}
 
Login Response
 
 
[
{
"Domain":"Login",
"Elements":{
"MaxMsgSize":61440,
"PingTimeout":30
},
"ID":1,
"Key":{
"Elements":{
"AllowSuspectData":1,
"ApplicationId":"256",
"ApplicationName":"ADS",
"Position":"127.0.0.1",
"ProvidePermissionExpressions":1,
"ProvidePermissionProfile":0,
"SingleOpen":1,
"SupportBatchRequests":7,
"SupportEnhancedSymbolList":1,
"SupportOMMPost":1,
"SupportOptimizedPauseResume":1,
"SupportPauseResume":1,
"SupportStandby":0,
"SupportViewRequests":1
},
"Name":"user"
},
"State":{
"Data":"Ok",
"Stream":"Open",
      "Text":"Login accepted by host."
},
"Type":"Refresh"
}
]
 
View Item Request
 
 
{
    "ID":2,
    "Key":{
        "Name":"TRI.N"
    },
    "View":[
        "BID",
        "ASK",
        "BIDSIZE"
    ]
}
 
Item Response
 
 
[
    {
        "Fields":{
            "ASK":9000,
            "BID":0.01,
            "BIDSIZE":1
        },
        "ID":2,
        "Key":{
            "Name":"TRI.N",
            "Service":"DF_RMDS"
        },
        "QOS":{
            "Rate":"TickByTick",
            "Timeliness":"Realtime"
        },
        "State":{
            "Data":"Ok",
            "Stream":"Open",
            "Text":"All is well"
        },
        "Type":"Refresh"
    }
]
 
Item Update(s)
 
 
[
    {
        "Fields":{
            "ASK":401.54,
            "BID":401.5,
            "BIDSIZE":18
        },
        "ID":2,
        "Key":{
            "Name":"TRI.N",
            "Service":"DF_RMDS"
        },
        "Type":"Update",
        "UpdateType":"Quote"
    }
]
 
Close Item
 
 
{
    "ID":2,
    "Type":"Close"
}
 
Close Login
 
 
{
    "Domain":"Login",
    "ID":1,
    "Type":"Close"
}