GET api/v1/search/products/lidvids/count/{lidvid}/{outputFormat}

This API method will return the count of PDS products cataloged by the PDS Geosciences Node with matching PDS4 lidvid (PDS4 product lid + product version id) or lid, depending on the value that was submitted. The call can be used to verify if more than one product with the same lid, but different version ids are cataloged by the PDS Geosciences Node.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lidvid

PDS4 product lidvid (PDS4 product lid + product version id) or a PDS4 product lid (the most recent product version will be returned)

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

ResultCount
NameDescriptionTypeAdditional information
Count

The result count

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Count": 1
}

application/xml, text/xml

Sample:
<ResultCount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPITest.Models">
  <Count>1</Count>
</ResultCount>