Registry


Click here for a complete list of operations.

QueryResource

Returns custom simplified Resources: Input WHERE predicate for SQL Query like e.g. ResourceType like 'CONE'

Test

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

SOAP

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

POST /VORegistry/registry.asmx HTTP/1.1
Host: nvo.stsci.edu
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.us-vo.org/QueryResource"

<?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>
    <QueryResource xmlns="http://www.us-vo.org">
      <predicate>string</predicate>
    </QueryResource>
  </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>
    <QueryResourceResponse xmlns="http://www.us-vo.org">
      <QueryResourceResult>
        <DBResource>
          <dbid>long</dbid>
          <status>int</status>
          <Identifier>string</Identifier>
          <Title>string</Title>
          <ShortName>string</ShortName>
          <CurationPublisherName>string</CurationPublisherName>
          <CurationPublisherIdentifier>string</CurationPublisherIdentifier>
          <CurationPublisherDescription>string</CurationPublisherDescription>
          <CurationPublisherReferenceUrl>string</CurationPublisherReferenceUrl>
          <CurationCreatorName>string</CurationCreatorName>
          <CurationCreatorLogo>string</CurationCreatorLogo>
          <CurationContributor>string</CurationContributor>
          <CurationDate>dateTime</CurationDate>
          <CurationVersion>string</CurationVersion>
          <CurationContactName>string</CurationContactName>
          <CurationContactEmail>string</CurationContactEmail>
          <CurationContactAddress>string</CurationContactAddress>
          <CurationContactPhone>string</CurationContactPhone>
          <Subject>
            <string>string</string>
            <string>string</string>
          </Subject>
          <Description>string</Description>
          <ReferenceURL>string</ReferenceURL>
          <Type>string</Type>
          <Facility>string</Facility>
          <Instrument>
            <string>string</string>
            <string>string</string>
          </Instrument>
          <ContentLevel>
            <string>string</string>
            <string>string</string>
          </ContentLevel>
          <ModificationDate>dateTime</ModificationDate>
          <ServiceURL>string</ServiceURL>
          <CoverageSpatial>string</CoverageSpatial>
          <CoverageSpectral>
            <string>string</string>
            <string>string</string>
          </CoverageSpectral>
          <CoverageTemporal>string</CoverageTemporal>
          <CoverageRegionOfRegard>double</CoverageRegionOfRegard>
          <ResourceType>string</ResourceType>
          <resourceRelations>
            <ResourceRelation xsi:nil="true" />
            <ResourceRelation xsi:nil="true" />
          </resourceRelations>
          <resourceInterfaces>
            <ResourceInterface xsi:nil="true" />
            <ResourceInterface xsi:nil="true" />
          </resourceInterfaces>
          <xml>string</xml>
          <harvestedfrom>string</harvestedfrom>
          <harvestedfromDate>dateTime</harvestedfromDate>
          <footprint>string</footprint>
          <validationLevel>int</validationLevel>
        </DBResource>
        <DBResource>
          <dbid>long</dbid>
          <status>int</status>
          <Identifier>string</Identifier>
          <Title>string</Title>
          <ShortName>string</ShortName>
          <CurationPublisherName>string</CurationPublisherName>
          <CurationPublisherIdentifier>string</CurationPublisherIdentifier>
          <CurationPublisherDescription>string</CurationPublisherDescription>
          <CurationPublisherReferenceUrl>string</CurationPublisherReferenceUrl>
          <CurationCreatorName>string</CurationCreatorName>
          <CurationCreatorLogo>string</CurationCreatorLogo>
          <CurationContributor>string</CurationContributor>
          <CurationDate>dateTime</CurationDate>
          <CurationVersion>string</CurationVersion>
          <CurationContactName>string</CurationContactName>
          <CurationContactEmail>string</CurationContactEmail>
          <CurationContactAddress>string</CurationContactAddress>
          <CurationContactPhone>string</CurationContactPhone>
          <Subject>
            <string>string</string>
            <string>string</string>
          </Subject>
          <Description>string</Description>
          <ReferenceURL>string</ReferenceURL>
          <Type>string</Type>
          <Facility>string</Facility>
          <Instrument>
            <string>string</string>
            <string>string</string>
          </Instrument>
          <ContentLevel>
            <string>string</string>
            <string>string</string>
          </ContentLevel>
          <ModificationDate>dateTime</ModificationDate>
          <ServiceURL>string</ServiceURL>
          <CoverageSpatial>string</CoverageSpatial>
          <CoverageSpectral>
            <string>string</string>
            <string>string</string>
          </CoverageSpectral>
          <CoverageTemporal>string</CoverageTemporal>
          <CoverageRegionOfRegard>double</CoverageRegionOfRegard>
          <ResourceType>string</ResourceType>
          <resourceRelations>
            <ResourceRelation xsi:nil="true" />
            <ResourceRelation xsi:nil="true" />
          </resourceRelations>
          <resourceInterfaces>
            <ResourceInterface xsi:nil="true" />
            <ResourceInterface xsi:nil="true" />
          </resourceInterfaces>
          <xml>string</xml>
          <harvestedfrom>string</harvestedfrom>
          <harvestedfromDate>dateTime</harvestedfromDate>
          <footprint>string</footprint>
          <validationLevel>int</validationLevel>
        </DBResource>
      </QueryResourceResult>
    </QueryResourceResponse>
  </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 /VORegistry/registry.asmx/QueryResource?predicate=string HTTP/1.1
Host: nvo.stsci.edu
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfDBResource xmlns="http://www.us-vo.org">
  <DBResource>
    <dbid>long</dbid>
    <status>int</status>
    <Identifier>string</Identifier>
    <Title>string</Title>
    <ShortName>string</ShortName>
    <CurationPublisherName>string</CurationPublisherName>
    <CurationPublisherIdentifier>string</CurationPublisherIdentifier>
    <CurationPublisherDescription>string</CurationPublisherDescription>
    <CurationPublisherReferenceUrl>string</CurationPublisherReferenceUrl>
    <CurationCreatorName>string</CurationCreatorName>
    <CurationCreatorLogo>string</CurationCreatorLogo>
    <CurationContributor>string</CurationContributor>
    <CurationDate>dateTime</CurationDate>
    <CurationVersion>string</CurationVersion>
    <CurationContactName>string</CurationContactName>
    <CurationContactEmail>string</CurationContactEmail>
    <CurationContactAddress>string</CurationContactAddress>
    <CurationContactPhone>string</CurationContactPhone>
    <Subject>
      <string>string</string>
      <string>string</string>
    </Subject>
    <Description>string</Description>
    <ReferenceURL>string</ReferenceURL>
    <Type>string</Type>
    <Facility>string</Facility>
    <Instrument>
      <string>string</string>
      <string>string</string>
    </Instrument>
    <ContentLevel>
      <string>string</string>
      <string>string</string>
    </ContentLevel>
    <ModificationDate>dateTime</ModificationDate>
    <ServiceURL>string</ServiceURL>
    <CoverageSpatial>string</CoverageSpatial>
    <CoverageSpectral>
      <string>string</string>
      <string>string</string>
    </CoverageSpectral>
    <CoverageTemporal>string</CoverageTemporal>
    <CoverageRegionOfRegard>double</CoverageRegionOfRegard>
    <ResourceType>string</ResourceType>
    <resourceRelations>
      <ResourceRelation>
        <relatedResourceIvoId>string</relatedResourceIvoId>
        <relationshipType>string</relationshipType>
        <relatedResourceName>string</relatedResourceName>
      </ResourceRelation>
      <ResourceRelation>
        <relatedResourceIvoId>string</relatedResourceIvoId>
        <relationshipType>string</relationshipType>
        <relatedResourceName>string</relatedResourceName>
      </ResourceRelation>
    </resourceRelations>
    <resourceInterfaces>
      <ResourceInterface>
        <interfaceNum>int</interfaceNum>
        <type>string</type>
        <qtype>string</qtype>
        <accessURL>string</accessURL>
        <resultType>string</resultType>
        <interfaceParams d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ResourceInterface>
      <ResourceInterface>
        <interfaceNum>int</interfaceNum>
        <type>string</type>
        <qtype>string</qtype>
        <accessURL>string</accessURL>
        <resultType>string</resultType>
        <interfaceParams d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ResourceInterface>
    </resourceInterfaces>
    <xml>string</xml>
    <harvestedfrom>string</harvestedfrom>
    <harvestedfromDate>dateTime</harvestedfromDate>
    <footprint>string</footprint>
    <validationLevel>int</validationLevel>
  </DBResource>
  <DBResource>
    <dbid>long</dbid>
    <status>int</status>
    <Identifier>string</Identifier>
    <Title>string</Title>
    <ShortName>string</ShortName>
    <CurationPublisherName>string</CurationPublisherName>
    <CurationPublisherIdentifier>string</CurationPublisherIdentifier>
    <CurationPublisherDescription>string</CurationPublisherDescription>
    <CurationPublisherReferenceUrl>string</CurationPublisherReferenceUrl>
    <CurationCreatorName>string</CurationCreatorName>
    <CurationCreatorLogo>string</CurationCreatorLogo>
    <CurationContributor>string</CurationContributor>
    <CurationDate>dateTime</CurationDate>
    <CurationVersion>string</CurationVersion>
    <CurationContactName>string</CurationContactName>
    <CurationContactEmail>string</CurationContactEmail>
    <CurationContactAddress>string</CurationContactAddress>
    <CurationContactPhone>string</CurationContactPhone>
    <Subject>
      <string>string</string>
      <string>string</string>
    </Subject>
    <Description>string</Description>
    <ReferenceURL>string</ReferenceURL>
    <Type>string</Type>
    <Facility>string</Facility>
    <Instrument>
      <string>string</string>
      <string>string</string>
    </Instrument>
    <ContentLevel>
      <string>string</string>
      <string>string</string>
    </ContentLevel>
    <ModificationDate>dateTime</ModificationDate>
    <ServiceURL>string</ServiceURL>
    <CoverageSpatial>string</CoverageSpatial>
    <CoverageSpectral>
      <string>string</string>
      <string>string</string>
    </CoverageSpectral>
    <CoverageTemporal>string</CoverageTemporal>
    <CoverageRegionOfRegard>double</CoverageRegionOfRegard>
    <ResourceType>string</ResourceType>
    <resourceRelations>
      <ResourceRelation>
        <relatedResourceIvoId>string</relatedResourceIvoId>
        <relationshipType>string</relationshipType>
        <relatedResourceName>string</relatedResourceName>
      </ResourceRelation>
      <ResourceRelation>
        <relatedResourceIvoId>string</relatedResourceIvoId>
        <relationshipType>string</relationshipType>
        <relatedResourceName>string</relatedResourceName>
      </ResourceRelation>
    </resourceRelations>
    <resourceInterfaces>
      <ResourceInterface>
        <interfaceNum>int</interfaceNum>
        <type>string</type>
        <qtype>string</qtype>
        <accessURL>string</accessURL>
        <resultType>string</resultType>
        <interfaceParams d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ResourceInterface>
      <ResourceInterface>
        <interfaceNum>int</interfaceNum>
        <type>string</type>
        <qtype>string</qtype>
        <accessURL>string</accessURL>
        <resultType>string</resultType>
        <interfaceParams d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ResourceInterface>
    </resourceInterfaces>
    <xml>string</xml>
    <harvestedfrom>string</harvestedfrom>
    <harvestedfromDate>dateTime</harvestedfromDate>
    <footprint>string</footprint>
    <validationLevel>int</validationLevel>
  </DBResource>
</ArrayOfDBResource>

HTTP POST

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

POST /VORegistry/registry.asmx/QueryResource HTTP/1.1
Host: nvo.stsci.edu
Content-Type: application/x-www-form-urlencoded
Content-Length: length

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

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfDBResource xmlns="http://www.us-vo.org">
  <DBResource>
    <dbid>long</dbid>
    <status>int</status>
    <Identifier>string</Identifier>
    <Title>string</Title>
    <ShortName>string</ShortName>
    <CurationPublisherName>string</CurationPublisherName>
    <CurationPublisherIdentifier>string</CurationPublisherIdentifier>
    <CurationPublisherDescription>string</CurationPublisherDescription>
    <CurationPublisherReferenceUrl>string</CurationPublisherReferenceUrl>
    <CurationCreatorName>string</CurationCreatorName>
    <CurationCreatorLogo>string</CurationCreatorLogo>
    <CurationContributor>string</CurationContributor>
    <CurationDate>dateTime</CurationDate>
    <CurationVersion>string</CurationVersion>
    <CurationContactName>string</CurationContactName>
    <CurationContactEmail>string</CurationContactEmail>
    <CurationContactAddress>string</CurationContactAddress>
    <CurationContactPhone>string</CurationContactPhone>
    <Subject>
      <string>string</string>
      <string>string</string>
    </Subject>
    <Description>string</Description>
    <ReferenceURL>string</ReferenceURL>
    <Type>string</Type>
    <Facility>string</Facility>
    <Instrument>
      <string>string</string>
      <string>string</string>
    </Instrument>
    <ContentLevel>
      <string>string</string>
      <string>string</string>
    </ContentLevel>
    <ModificationDate>dateTime</ModificationDate>
    <ServiceURL>string</ServiceURL>
    <CoverageSpatial>string</CoverageSpatial>
    <CoverageSpectral>
      <string>string</string>
      <string>string</string>
    </CoverageSpectral>
    <CoverageTemporal>string</CoverageTemporal>
    <CoverageRegionOfRegard>double</CoverageRegionOfRegard>
    <ResourceType>string</ResourceType>
    <resourceRelations>
      <ResourceRelation>
        <relatedResourceIvoId>string</relatedResourceIvoId>
        <relationshipType>string</relationshipType>
        <relatedResourceName>string</relatedResourceName>
      </ResourceRelation>
      <ResourceRelation>
        <relatedResourceIvoId>string</relatedResourceIvoId>
        <relationshipType>string</relationshipType>
        <relatedResourceName>string</relatedResourceName>
      </ResourceRelation>
    </resourceRelations>
    <resourceInterfaces>
      <ResourceInterface>
        <interfaceNum>int</interfaceNum>
        <type>string</type>
        <qtype>string</qtype>
        <accessURL>string</accessURL>
        <resultType>string</resultType>
        <interfaceParams d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ResourceInterface>
      <ResourceInterface>
        <interfaceNum>int</interfaceNum>
        <type>string</type>
        <qtype>string</qtype>
        <accessURL>string</accessURL>
        <resultType>string</resultType>
        <interfaceParams d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ResourceInterface>
    </resourceInterfaces>
    <xml>string</xml>
    <harvestedfrom>string</harvestedfrom>
    <harvestedfromDate>dateTime</harvestedfromDate>
    <footprint>string</footprint>
    <validationLevel>int</validationLevel>
  </DBResource>
  <DBResource>
    <dbid>long</dbid>
    <status>int</status>
    <Identifier>string</Identifier>
    <Title>string</Title>
    <ShortName>string</ShortName>
    <CurationPublisherName>string</CurationPublisherName>
    <CurationPublisherIdentifier>string</CurationPublisherIdentifier>
    <CurationPublisherDescription>string</CurationPublisherDescription>
    <CurationPublisherReferenceUrl>string</CurationPublisherReferenceUrl>
    <CurationCreatorName>string</CurationCreatorName>
    <CurationCreatorLogo>string</CurationCreatorLogo>
    <CurationContributor>string</CurationContributor>
    <CurationDate>dateTime</CurationDate>
    <CurationVersion>string</CurationVersion>
    <CurationContactName>string</CurationContactName>
    <CurationContactEmail>string</CurationContactEmail>
    <CurationContactAddress>string</CurationContactAddress>
    <CurationContactPhone>string</CurationContactPhone>
    <Subject>
      <string>string</string>
      <string>string</string>
    </Subject>
    <Description>string</Description>
    <ReferenceURL>string</ReferenceURL>
    <Type>string</Type>
    <Facility>string</Facility>
    <Instrument>
      <string>string</string>
      <string>string</string>
    </Instrument>
    <ContentLevel>
      <string>string</string>
      <string>string</string>
    </ContentLevel>
    <ModificationDate>dateTime</ModificationDate>
    <ServiceURL>string</ServiceURL>
    <CoverageSpatial>string</CoverageSpatial>
    <CoverageSpectral>
      <string>string</string>
      <string>string</string>
    </CoverageSpectral>
    <CoverageTemporal>string</CoverageTemporal>
    <CoverageRegionOfRegard>double</CoverageRegionOfRegard>
    <ResourceType>string</ResourceType>
    <resourceRelations>
      <ResourceRelation>
        <relatedResourceIvoId>string</relatedResourceIvoId>
        <relationshipType>string</relationshipType>
        <relatedResourceName>string</relatedResourceName>
      </ResourceRelation>
      <ResourceRelation>
        <relatedResourceIvoId>string</relatedResourceIvoId>
        <relationshipType>string</relationshipType>
        <relatedResourceName>string</relatedResourceName>
      </ResourceRelation>
    </resourceRelations>
    <resourceInterfaces>
      <ResourceInterface>
        <interfaceNum>int</interfaceNum>
        <type>string</type>
        <qtype>string</qtype>
        <accessURL>string</accessURL>
        <resultType>string</resultType>
        <interfaceParams d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ResourceInterface>
      <ResourceInterface>
        <interfaceNum>int</interfaceNum>
        <type>string</type>
        <qtype>string</qtype>
        <accessURL>string</accessURL>
        <resultType>string</resultType>
        <interfaceParams d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ResourceInterface>
    </resourceInterfaces>
    <xml>string</xml>
    <harvestedfrom>string</harvestedfrom>
    <harvestedfromDate>dateTime</harvestedfromDate>
    <footprint>string</footprint>
    <validationLevel>int</validationLevel>
  </DBResource>
</ArrayOfDBResource>