GET api/v1/search/features/{target}/{featureType}/{feature}/{outputFormat}

This API method returns the specific feature or list of features that match the specified values from the query string.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
target

ODE version: mars, mercury, moon, or venus

string

Required

featureType

[Optional field] Feature type (category), such as Chaos, Crater, Mons, etc

string

Default value is

feature

[Optional field] Feature name or partial feature name. Use * as a wildcard at the beginning or end of the string.

string

Default value is

outputFormat

[Optional field] Specify the desired format json or xml

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Collection of Feature
NameDescriptionTypeAdditional information
target

The feature target: Mars, Mercury, Moon, Venus

string

String length: inclusive between 0 and 20

featureType

The feature type

string

String length: inclusive between 0 and 200

featureName

The feature name

string

String length: inclusive between 0 and 200

minLat

The feature's minimum latitude

string

String length: inclusive between 0 and 15

maxLat

The feature's maximum latitude

string

String length: inclusive between 0 and 15

westLon

The feature's westernmost longitude

string

String length: inclusive between 0 and 15

eastLon

The feature's eaternmost longitude

string

String length: inclusive between 0 and 15

Response Formats

application/json, text/json

Sample:
[
  {
    "target": "sample string 1",
    "featureType": "sample string 2",
    "featureName": "sample string 3",
    "minLat": "sample string 4",
    "maxLat": "sample string 5",
    "westLon": "sample string 6",
    "eastLon": "sample string 7"
  },
  {
    "target": "sample string 1",
    "featureType": "sample string 2",
    "featureName": "sample string 3",
    "minLat": "sample string 4",
    "maxLat": "sample string 5",
    "westLon": "sample string 6",
    "eastLon": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFeature xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPITest.Models">
  <Feature>
    <eastLon>sample string 7</eastLon>
    <featureName>sample string 3</featureName>
    <featureType>sample string 2</featureType>
    <maxLat>sample string 5</maxLat>
    <minLat>sample string 4</minLat>
    <target>sample string 1</target>
    <westLon>sample string 6</westLon>
  </Feature>
  <Feature>
    <eastLon>sample string 7</eastLon>
    <featureName>sample string 3</featureName>
    <featureType>sample string 2</featureType>
    <maxLat>sample string 5</maxLat>
    <minLat>sample string 4</minLat>
    <target>sample string 1</target>
    <westLon>sample string 6</westLon>
  </Feature>
</ArrayOfFeature>