GetContingency
From The Contingency Market
Contents |
GetContingency(ulSessionID,uSequenceID,sIntegrity,sContingencyID)
Retrieve the details of the specified contingency.
PARAMETERS
-
ulong ulSessionID - ID of authenticated session.
-
uint uSequenceID - Sequence number.
-
string sIntegrity -
md5("ipaddr(sid,seq)->GetContingency(sContingencyID)/secret") -
string sContingencyID - ID of contingency to retrieve.
RETURNS
SContingencyData {sID,asConditionalEventIDs,asAntecedentContingencyIDs,asPreemptiveContingencyIDs,asCollateralContingencyIDs,sCreationTime,bOutcome,sTimeOfOutcome,sTimeOfTermination}
-
string sID - 32 digit hex representing this contingency's globally unique id.
-
string[] asConditionalEventIDs - An array of 32 digit hex ids for each conditional event.
-
string[] asAntecedentContingencyIDs - An array of 32 digit hex ids for each antecedent.
-
string[] asPreemptiveContingencyIDs - An array of 32 digit hex ids for each preemptive.
-
string[] asCollateralContingencyIDs - An array of 32 digit hex ids for each collateral.
-
string sCreationTime - The time at which this contingency was created.
-
bool bOutcome - True if this contingency has succeeded. False if failed, not yet determined.
-
string sTimeOfOutcome - The time at which the contingency succeeded or failed. Empty if not determined.
-
string sTimeOfTermination - The time at which the contingency became determined. Empty if not determined.
FAULTS
Session. Contingency.
TEST
GetContingency() according to the respective template currently returns 'Null ID invalid'.

