GET api/taxon?search={search}&limit={limit}

Searches for taxons that contain given search string.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
search

The search string.

string

Required

limit

The maximum number of taxons that should be returned.

integer

None.

Body Parameters

None.

Response Information

Resource Description

List of taxons their names contain search string.

Collection of TaxonLookup
NameDescriptionTypeAdditional information
taxonId

Gets or sets the taxon id.

integer

None.

taxonName

Gets or sets the name of the taxon.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "taxonId": 1,
    "taxonName": "sample string 2"
  },
  {
    "taxonId": 1,
    "taxonName": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOftaxonLookup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nbdc.WebServices.Models.Taxon">
  <taxonLookup>
    <taxonId>1</taxonId>
    <taxonName>sample string 2</taxonName>
  </taxonLookup>
  <taxonLookup>
    <taxonId>1</taxonId>
    <taxonName>sample string 2</taxonName>
  </taxonLookup>
</ArrayOftaxonLookup>