Initialize Brokerage Session
After retrieving the access token and subsequent Live Session Token, customers can initialize their brokerage session with the ssodh/init endpoint.
Request
This endpoint expects an object.
publish
publish brokerage session token at the same time when brokerage session initialized. If set false, then session token should be published before calling init. Setting true is preferred way.
compete
Determines if other brokerage sessions should be disconnected to prioritize this connection.
Response
An array of objects detailing contract information.
authenticated
Returns whether your brokerage session is authenticated or not.
established
Returns whether your brokerage session is fully established and ready to handle requests. Set to true when the login message is received from underlying brokerage infrastructure, indicating authentication is complete and account information is loaded.
competing
Returns whether you have a competing brokerage session in another connection.
connected
Returns whether you are connected to the gateway or not.
message
A message about your authenticate status if any.
MAC
Device MAC information.
serverInfo
hardware_info
Client Portal use only.
fail
Returns the reason for failing to retrieve authentication status.
Errors
401
Unauthorized Error
500
Internal Server Error
503
Service Unavailable Error

