Service
Click here for a complete list of operations.
ListSpecialValues
ListSpecialValues(ulSessionID,uSequenceID,sIntegrity,sEventParameterType). ulong ulSessionID:- ID of authenticated session. uint uSequenceID:- Sequence number. string sIntegrity:- md5("ipaddr(sid,seq)->ListSpecialValues(sEventParameterType)/secret"). string sEventParameterType:- The parameter type of the special values to be listed. RETURNS: [ {sSpecialValue,sValueName,sMeaning,bIsInvalid,bIsTerminal,sParameterType,sValueType} ]. string sSpecialValue:- The value of this special value. string sValueName:- The name of this special value (that can be used in place of the value). string sMeaning:- A brief description of what this special value means. bool bIsInvalid:- Whether this value is a valid value for the purposes of determining the occurrence or impossibility of the event. True if the contingency cannot be satisfied either way by this value. bool bIsTerminal:- Whether this value represents the last possible value for the event. string sParameterType:- Parameter type name. string sValueType:- Value type, e.g. VarChar (MS SQL types). FAULTS: Session. ParameterType. DESCRIPTION: Lists all the special values for a particular parameter type.
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /api/Service.asmx HTTP/1.1
Host: contingencymarket.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.contingencymarket.com/api/Service.asmx/ListSpecialValues"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ListSpecialValues xmlns="http://www.contingencymarket.com/api/Service.asmx">
<ulSessionID>unsignedLong</ulSessionID>
<uSequenceID>unsignedInt</uSequenceID>
<sIntegrity>string</sIntegrity>
<sEventParameterType>string</sEventParameterType>
</ListSpecialValues>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ListSpecialValuesResponse xmlns="http://www.contingencymarket.com/api/Service.asmx">
<ListSpecialValuesResult>
<SEventParameterSpecialValueData>
<sSpecialValue>string</sSpecialValue>
<sValueName>string</sValueName>
<sMeaning>string</sMeaning>
<bIsInvalid>boolean</bIsInvalid>
<bIsTerminal>boolean</bIsTerminal>
<sParameterType>string</sParameterType>
<sValueType>string</sValueType>
</SEventParameterSpecialValueData>
<SEventParameterSpecialValueData>
<sSpecialValue>string</sSpecialValue>
<sValueName>string</sValueName>
<sMeaning>string</sMeaning>
<bIsInvalid>boolean</bIsInvalid>
<bIsTerminal>boolean</bIsTerminal>
<sParameterType>string</sParameterType>
<sValueType>string</sValueType>
</SEventParameterSpecialValueData>
</ListSpecialValuesResult>
</ListSpecialValuesResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /api/Service.asmx HTTP/1.1
Host: contingencymarket.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ListSpecialValues xmlns="http://www.contingencymarket.com/api/Service.asmx">
<ulSessionID>unsignedLong</ulSessionID>
<uSequenceID>unsignedInt</uSequenceID>
<sIntegrity>string</sIntegrity>
<sEventParameterType>string</sEventParameterType>
</ListSpecialValues>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ListSpecialValuesResponse xmlns="http://www.contingencymarket.com/api/Service.asmx">
<ListSpecialValuesResult>
<SEventParameterSpecialValueData>
<sSpecialValue>string</sSpecialValue>
<sValueName>string</sValueName>
<sMeaning>string</sMeaning>
<bIsInvalid>boolean</bIsInvalid>
<bIsTerminal>boolean</bIsTerminal>
<sParameterType>string</sParameterType>
<sValueType>string</sValueType>
</SEventParameterSpecialValueData>
<SEventParameterSpecialValueData>
<sSpecialValue>string</sSpecialValue>
<sValueName>string</sValueName>
<sMeaning>string</sMeaning>
<bIsInvalid>boolean</bIsInvalid>
<bIsTerminal>boolean</bIsTerminal>
<sParameterType>string</sParameterType>
<sValueType>string</sValueType>
</SEventParameterSpecialValueData>
</ListSpecialValuesResult>
</ListSpecialValuesResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /api/Service.asmx/ListSpecialValues?ulSessionID=string&uSequenceID=string&sIntegrity=string&sEventParameterType=string HTTP/1.1 Host: contingencymarket.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfSEventParameterSpecialValueData xmlns="http://www.contingencymarket.com/api/Service.asmx">
<SEventParameterSpecialValueData>
<sSpecialValue>string</sSpecialValue>
<sValueName>string</sValueName>
<sMeaning>string</sMeaning>
<bIsInvalid>boolean</bIsInvalid>
<bIsTerminal>boolean</bIsTerminal>
<sParameterType>string</sParameterType>
<sValueType>string</sValueType>
</SEventParameterSpecialValueData>
<SEventParameterSpecialValueData>
<sSpecialValue>string</sSpecialValue>
<sValueName>string</sValueName>
<sMeaning>string</sMeaning>
<bIsInvalid>boolean</bIsInvalid>
<bIsTerminal>boolean</bIsTerminal>
<sParameterType>string</sParameterType>
<sValueType>string</sValueType>
</SEventParameterSpecialValueData>
</ArrayOfSEventParameterSpecialValueData>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /api/Service.asmx/ListSpecialValues HTTP/1.1 Host: contingencymarket.com Content-Type: application/x-www-form-urlencoded Content-Length: length ulSessionID=string&uSequenceID=string&sIntegrity=string&sEventParameterType=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfSEventParameterSpecialValueData xmlns="http://www.contingencymarket.com/api/Service.asmx">
<SEventParameterSpecialValueData>
<sSpecialValue>string</sSpecialValue>
<sValueName>string</sValueName>
<sMeaning>string</sMeaning>
<bIsInvalid>boolean</bIsInvalid>
<bIsTerminal>boolean</bIsTerminal>
<sParameterType>string</sParameterType>
<sValueType>string</sValueType>
</SEventParameterSpecialValueData>
<SEventParameterSpecialValueData>
<sSpecialValue>string</sSpecialValue>
<sValueName>string</sValueName>
<sMeaning>string</sMeaning>
<bIsInvalid>boolean</bIsInvalid>
<bIsTerminal>boolean</bIsTerminal>
<sParameterType>string</sParameterType>
<sValueType>string</sValueType>
</SEventParameterSpecialValueData>
</ArrayOfSEventParameterSpecialValueData>