SkyPortal


Click here for a complete list of operations.

MakePlan

Creates an ExecPlan. This runs cost queries as well. (req. for correct plan ordering)

Test

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

SOAP

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

POST /Sky/SkyPortal/SkyPortal.asmx HTTP/1.1
Host: test.openskyquery.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "SkyPortal.ivoa.net/MakePlan"
<?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>
    <MakePlan xmlns="SkyPortal.ivoa.net">
      <qry>string</qry>
      <planid>long</planid>
      <outputType>string</outputType>
    </MakePlan>
  </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>
    <MakePlanResponse xmlns="SkyPortal.ivoa.net">
      <MakePlanResult>
        <PlanId>long</PlanId>
        <Format>string</Format>
        <PortalURL>string</PortalURL>
        <UploadTableName>string</UploadTableName>
        <UploadTableAlias>string</UploadTableAlias>
        <PlanElements>
          <PlanElement>
            <Statement xsi:nil="true" />
            <Sigma>double</Sigma>
            <Target>string</Target>
            <Hosts xsi:nil="true" />
          </PlanElement>
          <PlanElement>
            <Statement xsi:nil="true" />
            <Sigma>double</Sigma>
            <Target>string</Target>
            <Hosts xsi:nil="true" />
          </PlanElement>
        </PlanElements>
      </MakePlanResult>
    </MakePlanResponse>
  </soap:Body>
</soap:Envelope>

HTTP GET

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

GET /Sky/SkyPortal/SkyPortal.asmx/MakePlan?qry=string&planid=string&outputType=string HTTP/1.1
Host: test.openskyquery.net
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ExecPlan xmlns="SkyPortal.ivoa.net">
  <PlanId>long</PlanId>
  <Format>string</Format>
  <PortalURL>string</PortalURL>
  <UploadTableName>string</UploadTableName>
  <UploadTableAlias>string</UploadTableAlias>
  <PlanElements>
    <PlanElement>
      <Statement>
        <Allow d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <Restrict d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <SelectionList d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <From d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <Where d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <GroupBy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <Having d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <OrderBy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
      </Statement>
      <Sigma>double</Sigma>
      <Target>string</Target>
      <Hosts>
        <string>string</string>
        <string>string</string>
      </Hosts>
    </PlanElement>
    <PlanElement>
      <Statement>
        <Allow d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <Restrict d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <SelectionList d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <From d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <Where d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <GroupBy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <Having d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <OrderBy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
      </Statement>
      <Sigma>double</Sigma>
      <Target>string</Target>
      <Hosts>
        <string>string</string>
        <string>string</string>
      </Hosts>
    </PlanElement>
  </PlanElements>
</ExecPlan>

HTTP POST

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

POST /Sky/SkyPortal/SkyPortal.asmx/MakePlan HTTP/1.1
Host: test.openskyquery.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length
qry=string&planid=string&outputType=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ExecPlan xmlns="SkyPortal.ivoa.net">
  <PlanId>long</PlanId>
  <Format>string</Format>
  <PortalURL>string</PortalURL>
  <UploadTableName>string</UploadTableName>
  <UploadTableAlias>string</UploadTableAlias>
  <PlanElements>
    <PlanElement>
      <Statement>
        <Allow d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <Restrict d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <SelectionList d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <From d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <Where d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <GroupBy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <Having d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <OrderBy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
      </Statement>
      <Sigma>double</Sigma>
      <Target>string</Target>
      <Hosts>
        <string>string</string>
        <string>string</string>
      </Hosts>
    </PlanElement>
    <PlanElement>
      <Statement>
        <Allow d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <Restrict d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <SelectionList d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <From d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <Where d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <GroupBy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <Having d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
        <OrderBy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ivoa.net/xml/ADQL/v0.7.4" />
      </Statement>
      <Sigma>double</Sigma>
      <Target>string</Target>
      <Hosts>
        <string>string</string>
        <string>string</string>
      </Hosts>
    </PlanElement>
  </PlanElements>
</ExecPlan>