<div dir="ltr">Hi Markus,<div><br></div><div>Thanks for the explanation, and for the tip about "*" in the typeStatus field (I didn't realise we could use wildcards in that field). This get's me the info I need :)</div><div><br></div><div>Regards,</div><div><br></div><div>Rod</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 22 July 2016 at 13:32, Markus Döring <span dir="ltr"><<a href="mailto:mdoering@gbif.org" target="_blank">mdoering@gbif.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Hi Rod,
<div><br>
</div>
<div>this is a known but apparently badly documented issue. See the list conversation with James we had before.</div>
<div><a href="http://lists.gbif.org/pipermail/api-users/2014-December/000102.html" target="_blank">http://lists.gbif.org/pipermail/api-users/2014-December/000102.html</a></div>
<div><br>
</div>
<div>Basically we changed ChecklistBank to only deal with nominal types and leave the type specimens to the occurrence store. </div>
<div>This has some issues and API implications. We went live before we made the change, so the REST resource is now badly named. Also we lose some type specimen information that comes in through the types and specimen extension for checklists. We could
 consider to also index these into the occurrence store though in the future.</div>
<div><br>
</div>
<div>An example of a working nominal type species for a genus:</div>
<div><a href="http://api.gbif.org/v1/species/100535465/" target="_blank">http://api.gbif.org/v1/species/100535465/</a></div>
<div><a href="http://api.gbif.org/v1/species/100535465/typeSpecimens" target="_blank">http://api.gbif.org/v1/species/100535465/typeSpecimens</a></div>
<div><br>
</div>
<div>Type specimens for your species:</div>
<div>
<div><a href="http://api.gbif.org/v1/occurrence/search?taxonKey=5231190&typeStatus=*" target="_blank">http://api.gbif.org/v1/occurrence/search?taxonKey=5231190&typeStatus=*</a></div>
<div><br>
</div>
<div>best,</div>
<div>Markus</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<blockquote type="cite"><div><div class="h5">
<div>On 22 Jul 2016, at 13:50, Roderic D. M. Page <<a href="mailto:rdmpage@gmail.com" target="_blank">rdmpage@gmail.com</a>> wrote:</div>
<br>
</div></div><div><div><div class="h5">
<div dir="ltr">According to the docs I should be able to get the type specimens for a species using:
<div><br>
</div>
<div><a href="http://api.gbif.org/v1/species/5231190/typeSpecimens" target="_blank">http://api.gbif.org/v1/species/5231190/typeSpecimens</a> (the example given on <a href="http://www.gbif.org/developer/species" target="_blank">http://www.gbif.org/developer/species</a>
 )<br>
</div>
<div><br>
</div>
<div>But this returns</div>
<div><br>
</div>
<div>
<pre style="word-wrap:break-word;white-space:pre-wrap">{"offset":0,"limit":20,"endOfRecords":true,"results":[]}</pre>
<pre style="word-wrap:break-word;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">This species has A LOT of types, see <a href="http://www.gbif.org/species/5231190" target="_blank">http://www.gbif.org/species/5231190</a>, so something seems amiss...</font></pre>
<pre style="word-wrap:break-word;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">Regards,</font></pre>
<pre style="word-wrap:break-word;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">Rod</font></pre>
</div>
<div><br>
</div>
</div></div></div>
_______________________________________________<br>
API-users mailing list<br>
<a href="mailto:API-users@lists.gbif.org" target="_blank">API-users@lists.gbif.org</a><br>
<a href="http://lists.gbif.org/mailman/listinfo/api-users" target="_blank">http://lists.gbif.org/mailman/listinfo/api-users</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>

</blockquote></div><br></div>