Alice sends a message to Bob drawing his attention to a particular equity.
Submission at the API
Alice submits a MessageML template and an EntityJSON data object.
MessageML
MessageML
<MessageML> Hey Bob, take a look at what <div class="entity" data-id="apple"> <b>Apple</b> </div> is doing.
EntityJSON
EntityJSON
{ "apple": { "type": "org.symphonyoss.fin.security", "version": "0.1", "id": [ { "type": "org.symphonyoss.fin.security.id.isin", "value": "US0378331005" }, { "type": "org.symphonyoss.fin.security.id.cusip", "value": "037833100" }, { "type": "org.symphonyoss.fin.security.id.openfigi", "value": "BBG000B9XRY4" } ] } }
Note that the order of the entries in the array is significant, the first element is the preferred identifier (as determined by the message originator). This was specified by the priority attribute in EntityML.