GET api/taxonImage/taxon/{taxonId}
Gets the list of images for the taxon.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
taxonId |
The taxon identifier. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TaxonImageName | Description | Type | Additional information |
---|---|---|---|
taxonImageId |
Gets or sets the image id. |
integer |
None. |
taxonId |
Gets or sets the taxon id. |
integer |
None. |
imageNo |
Gets or sets the image no. |
integer |
None. |
image |
Gets or sets the image. |
Collection of byte |
None. |
attribution |
Gets or sets the attribution. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "taxonImageId": 1, "taxonId": 2, "imageNo": 1, "image": "QEA=", "attribution": "sample string 3" }, { "taxonImageId": 1, "taxonId": 2, "imageNo": 1, "image": "QEA=", "attribution": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOftaxonImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nbdc.WebServices.Models.TaxonImage"> <taxonImage> <attribution>sample string 3</attribution> <image>QEA=</image> <imageNo>1</imageNo> <taxonId>2</taxonId> <taxonImageId>1</taxonImageId> </taxonImage> <taxonImage> <attribution>sample string 3</attribution> <image>QEA=</image> <imageNo>1</imageNo> <taxonId>2</taxonId> <taxonImageId>1</taxonImageId> </taxonImage> </ArrayOftaxonImage>