GET api/v1/search/products/count/{target}/{mission}/{instrument}/{prodType}/{productIdentifier}/{minLat}/{maxLat}/{westernLon}/{easternLon}/{wkt}/{featureType}/{feature}/{outputFormat}
This API method returns the count of cataloged products that match the provided criteria.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| target |
Select the target: mars/mercury/moon/venus |
string |
Required |
| mission |
[Optional field] Currently mission abreviation: MRO, LRO, MGS, Grail, etc |
string |
Default value is |
| instrument |
[Optional field] The instrument abreviation: CRISM, HIRISE, CTX, SHARAD |
string |
Default value is |
| prodType |
[Optional field] PDS3 product type: EDR, RDR, etc |
string |
Default value is |
| productIdentifier |
[Optional field] PDS3 product id or PDS4 LID, a * for wildcard is accepted at the beginning or end of the string |
string |
Default value is |
| minLat |
[Optional field] Max latitude as a decimal |
decimal number |
Default value is -999 |
| maxLat |
[Optional field] Min latitude as a decimal |
decimal number |
Default value is -999 |
| westernLon |
[Optional field] Westernmost longitude (0-360) as a decimal |
decimal number |
Default value is -999 |
| easternLon |
[Optional field] Easternmost longitude (0-360) as a decimal |
decimal number |
Default value is -999 |
| wkt |
[Optional field] Location as WKT format - not currently implemented |
string |
Default value is |
| featureType |
[Optional field] Feature type - chaos, crater, etc |
string |
Default value is |
| feature |
[Optional field] Feature name |
string |
Default value is |
| outputFormat |
[Optional field] To override the requestor's accepted format, json or xml can be submitted |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
ResultCount| Name | Description | Type | Additional information |
|---|---|---|---|
| Count |
The result count |
integer |
None. |
Response Formats
application/json, text/json
{
"Count": 1
}
application/xml, text/xml
<ResultCount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPITest.Models"> <Count>1</Count> </ResultCount>