GET api/Taxon/{id}
Get a Taxon
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
taxon id (only the integer part) |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
The .
TaxonInfoName | Description | Type | Additional information |
---|---|---|---|
Id |
TaxonId - full |
string |
None. |
IntId |
The TaxonId |
integer |
None. |
PopularName |
Popular name. |
string |
None. |
ScientificName |
Scientific name. |
string |
None. |
Response Formats
text/javascript
Sample:
({"Id":"sample string 1","IntId":2,"PopularName":"sample string 3","ScientificName":"sample string 4"});
application/json, text/json
Sample:
{ "Id": "sample string 1", "IntId": 2, "PopularName": "sample string 3", "ScientificName": "sample string 4" }
application/xml, text/xml
Sample:
<TaxonInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Artskart.UI.Models"> <Id>sample string 1</Id> <IntId>2</IntId> <PopularName>sample string 3</PopularName> <ScientificName>sample string 4</ScientificName> </TaxonInfo>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel
Sample:
Will return an Excel worksheet fileresult. Generate by using accept header or add '?format=excel' to request url.