This method is to create an "instance" marker to the current record of a session. Then you can call updateMarker to turn this marker into an "interval" marker.
Parameters
Result
The result is an object containing these fields:
Examples
Request Response
Copy {
"id" : 1 ,
"jsonrpc" : "2.0" ,
"method" : "injectMarker" ,
"params" : {
"cortexToken" : "xxx" ,
"label" : "test2" ,
"port" : "Cortex Example" ,
"session" : "4cbf7554-31bd-4659-ac58-400b823503f0" ,
"time" : 1559811461532 ,
"value" : 42
}
}
Copy {
"id" : 1 ,
"jsonrpc" : "2.0" ,
"result" : {
"marker" : {
"endDatetime" : "2019-06-06T15:57:41.529661+07:00" ,
"extras" : {} ,
"label" : "test2" ,
"port" : "Cortex Example" ,
"startDatetime" : "2019-06-06T15:57:41.529661+07:00" ,
"type" : "instance" ,
"uuid" : "26fccfd8-e487-4623-910a-1ba8591fcdcf" ,
"value" : 42
} ,
"recordId" : "db01c15e-d916-4a7b-9f1d-16295fd1c643" ,
"sessionId" : "4cbf7554-31bd-4659-ac58-400b823503f0"
}
}