CountEventObservations
From The Contingency Market
Contents |
CountEventObservations(ulSessionID,uSequenceID,sIntegrity,sEventID,sAgentID,sSince)
Count the number of observations of this event's value where the occurrence time is after sSince. Includes any official observation. An observation of an event is either an observation that it occurred, or an observation that it became impossible.
PARAMETERS
-
ulong ulSessionID - ID of authenticated session.
-
uint uSequenceID - Sequence number.
-
string sIntegrity -
md5("ipaddr(sid,seq)->CountEventObservations(sEventID, sAgentID ,sSince)/secret") -
string sEventID - ID of event whose observations should be counted.
-
string sAgentID - ID of agent whose observations should be counted.
-
string sSince - Earliest observation date to count from. NB Not an XML TimeInstant or XML DateTime. The timezone is UTC.
RETURNS
uint
-
uint - number of event observations in which the event's value was observed after sSince.
FAULTS
Session. Time format.
TEST
CountEventObservations() via its template currently returns: 1.

