ExperimentWebService


Click here for a complete list of operations.

GetExperimentExpFactors

This method will return the list of associated experimental factors for a specified Experiment

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
ExperimentID:

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 /webservices/ExperimentWebService.asmx HTTP/1.1
Host: www.diacomp.org
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.diacomp.org/webservices/GetExperimentExpFactors"

<?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>
    <GetExperimentExpFactors xmlns="http://www.diacomp.org/webservices/">
      <ExperimentID>int</ExperimentID>
    </GetExperimentExpFactors>
  </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>
    <GetExperimentExpFactorsResponse xmlns="http://www.diacomp.org/webservices/">
      <GetExperimentExpFactorsResult>
        <ExpFactor>
          <Name>string</Name>
          <Unit>
            <TypeID xsi:nil="true" />
            <TypeName>string</TypeName>
            <Name>string</Name>
            <Symbol>string</Symbol>
          </Unit>
          <Description>string</Description>
          <Abbreviation>string</Abbreviation>
          <MinValue>double</MinValue>
          <MaxValue>double</MaxValue>
          <IsCategorical>boolean</IsCategorical>
          <Batch>boolean</Batch>
          <Measurements>int</Measurements>
          <Values>
            <ExpFactorValue xsi:nil="true" />
            <ExpFactorValue xsi:nil="true" />
          </Values>
        </ExpFactor>
        <ExpFactor>
          <Name>string</Name>
          <Unit>
            <TypeID xsi:nil="true" />
            <TypeName>string</TypeName>
            <Name>string</Name>
            <Symbol>string</Symbol>
          </Unit>
          <Description>string</Description>
          <Abbreviation>string</Abbreviation>
          <MinValue>double</MinValue>
          <MaxValue>double</MaxValue>
          <IsCategorical>boolean</IsCategorical>
          <Batch>boolean</Batch>
          <Measurements>int</Measurements>
          <Values>
            <ExpFactorValue xsi:nil="true" />
            <ExpFactorValue xsi:nil="true" />
          </Values>
        </ExpFactor>
      </GetExperimentExpFactorsResult>
    </GetExperimentExpFactorsResponse>
  </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 /webservices/ExperimentWebService.asmx HTTP/1.1
Host: www.diacomp.org
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>
    <GetExperimentExpFactors xmlns="http://www.diacomp.org/webservices/">
      <ExperimentID>int</ExperimentID>
    </GetExperimentExpFactors>
  </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>
    <GetExperimentExpFactorsResponse xmlns="http://www.diacomp.org/webservices/">
      <GetExperimentExpFactorsResult>
        <ExpFactor>
          <Name>string</Name>
          <Unit>
            <TypeID xsi:nil="true" />
            <TypeName>string</TypeName>
            <Name>string</Name>
            <Symbol>string</Symbol>
          </Unit>
          <Description>string</Description>
          <Abbreviation>string</Abbreviation>
          <MinValue>double</MinValue>
          <MaxValue>double</MaxValue>
          <IsCategorical>boolean</IsCategorical>
          <Batch>boolean</Batch>
          <Measurements>int</Measurements>
          <Values>
            <ExpFactorValue xsi:nil="true" />
            <ExpFactorValue xsi:nil="true" />
          </Values>
        </ExpFactor>
        <ExpFactor>
          <Name>string</Name>
          <Unit>
            <TypeID xsi:nil="true" />
            <TypeName>string</TypeName>
            <Name>string</Name>
            <Symbol>string</Symbol>
          </Unit>
          <Description>string</Description>
          <Abbreviation>string</Abbreviation>
          <MinValue>double</MinValue>
          <MaxValue>double</MaxValue>
          <IsCategorical>boolean</IsCategorical>
          <Batch>boolean</Batch>
          <Measurements>int</Measurements>
          <Values>
            <ExpFactorValue xsi:nil="true" />
            <ExpFactorValue xsi:nil="true" />
          </Values>
        </ExpFactor>
      </GetExperimentExpFactorsResult>
    </GetExperimentExpFactorsResponse>
  </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 /webservices/ExperimentWebService.asmx/GetExperimentExpFactors?ExperimentID=string HTTP/1.1
Host: www.diacomp.org
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfExpFactor xmlns="http://www.diacomp.org/webservices/">
  <ExpFactor>
    <Name>string</Name>
    <Unit>
      <TypeID />
      <TypeName>string</TypeName>
      <Name>string</Name>
      <Symbol>string</Symbol>
    </Unit>
    <Description>string</Description>
    <Abbreviation>string</Abbreviation>
    <MinValue>double</MinValue>
    <MaxValue>double</MaxValue>
    <IsCategorical>boolean</IsCategorical>
    <Batch>boolean</Batch>
    <Measurements>int</Measurements>
    <Values>
      <ExpFactorValue>
        <Value>double</Value>
        <AbbreviatedValue>string</AbbreviatedValue>
        <ExpFactor d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ExpFactorValue>
      <ExpFactorValue>
        <Value>double</Value>
        <AbbreviatedValue>string</AbbreviatedValue>
        <ExpFactor d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ExpFactorValue>
    </Values>
  </ExpFactor>
  <ExpFactor>
    <Name>string</Name>
    <Unit>
      <TypeID />
      <TypeName>string</TypeName>
      <Name>string</Name>
      <Symbol>string</Symbol>
    </Unit>
    <Description>string</Description>
    <Abbreviation>string</Abbreviation>
    <MinValue>double</MinValue>
    <MaxValue>double</MaxValue>
    <IsCategorical>boolean</IsCategorical>
    <Batch>boolean</Batch>
    <Measurements>int</Measurements>
    <Values>
      <ExpFactorValue>
        <Value>double</Value>
        <AbbreviatedValue>string</AbbreviatedValue>
        <ExpFactor d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ExpFactorValue>
      <ExpFactorValue>
        <Value>double</Value>
        <AbbreviatedValue>string</AbbreviatedValue>
        <ExpFactor d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ExpFactorValue>
    </Values>
  </ExpFactor>
</ArrayOfExpFactor>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /webservices/ExperimentWebService.asmx/GetExperimentExpFactors HTTP/1.1
Host: www.diacomp.org
Content-Type: application/x-www-form-urlencoded
Content-Length: length

ExperimentID=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfExpFactor xmlns="http://www.diacomp.org/webservices/">
  <ExpFactor>
    <Name>string</Name>
    <Unit>
      <TypeID />
      <TypeName>string</TypeName>
      <Name>string</Name>
      <Symbol>string</Symbol>
    </Unit>
    <Description>string</Description>
    <Abbreviation>string</Abbreviation>
    <MinValue>double</MinValue>
    <MaxValue>double</MaxValue>
    <IsCategorical>boolean</IsCategorical>
    <Batch>boolean</Batch>
    <Measurements>int</Measurements>
    <Values>
      <ExpFactorValue>
        <Value>double</Value>
        <AbbreviatedValue>string</AbbreviatedValue>
        <ExpFactor d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ExpFactorValue>
      <ExpFactorValue>
        <Value>double</Value>
        <AbbreviatedValue>string</AbbreviatedValue>
        <ExpFactor d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ExpFactorValue>
    </Values>
  </ExpFactor>
  <ExpFactor>
    <Name>string</Name>
    <Unit>
      <TypeID />
      <TypeName>string</TypeName>
      <Name>string</Name>
      <Symbol>string</Symbol>
    </Unit>
    <Description>string</Description>
    <Abbreviation>string</Abbreviation>
    <MinValue>double</MinValue>
    <MaxValue>double</MaxValue>
    <IsCategorical>boolean</IsCategorical>
    <Batch>boolean</Batch>
    <Measurements>int</Measurements>
    <Values>
      <ExpFactorValue>
        <Value>double</Value>
        <AbbreviatedValue>string</AbbreviatedValue>
        <ExpFactor d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ExpFactorValue>
      <ExpFactorValue>
        <Value>double</Value>
        <AbbreviatedValue>string</AbbreviatedValue>
        <ExpFactor d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ExpFactorValue>
    </Values>
  </ExpFactor>
</ArrayOfExpFactor>