Difference between revisions of "OJ Break API Reference"
(→Return) |
(→Procedural Reference) |
||
Line 18: | Line 18: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''tnuid'': number | * ''tnuid'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
===== Return ===== | ===== Return ===== | ||
* ''taxon'': string | * ''taxon'': string | ||
Line 33: | Line 34: | ||
* ''tnuid'': number | * ''tnuid'': number | ||
* ''inst_id'': number | * ''inst_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
===== Return ===== | ===== Return ===== | ||
* ''taxon_rel_extended'' class with below extensions | * ''taxon_rel_extended'' class with below extensions | ||
Line 52: | Line 54: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''tnuid'': number | * ''tnuid'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
===== Return ===== | ===== Return ===== | ||
* ''taxon'': string | * ''taxon'': string | ||
Line 70: | Line 73: | ||
* ''types_only'': boolean_flag | * ''types_only'': boolean_flag | ||
* ''show_num_spms'': boolean_flag | * ''show_num_spms'': boolean_flag | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
===== Return ===== | ===== Return ===== | ||
Line 85: | Line 89: | ||
* ''tnuid'': number | * ''tnuid'': number | ||
* ''showFossils'': boolean_flag | * ''showFossils'': boolean_flag | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
===== Return ===== | ===== Return ===== | ||
Line 100: | Line 105: | ||
* ''precDecimals'': number | * ''precDecimals'': number | ||
* ''showChildren'': boolean_flag | * ''showChildren'': boolean_flag | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
===== Return ===== | ===== Return ===== | ||
Line 116: | Line 122: | ||
* ''precDecimals'': number | * ''precDecimals'': number | ||
* ''showChildren'': boolean_flag | * ''showChildren'': boolean_flag | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
===== Return ===== | ===== Return ===== | ||
Line 131: | Line 138: | ||
* ''inst_id'': number | * ''inst_id'': number | ||
* ''pnids'': array of pnid | * ''pnids'': array of pnid | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
===== Return ===== | ===== Return ===== | ||
Line 144: | Line 152: | ||
* ''tnuids'': array of tnuid | * ''tnuids'': array of tnuid | ||
* ''pnids'': array of pnid | * ''pnids'': array of pnid | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''cuids'': array of cuid | * ''cuids'': array of cuid | ||
Line 161: | Line 171: | ||
* ''offset'': number | * ''offset'': number | ||
* ''limit'': number | * ''limit'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
===== Return ===== | ===== Return ===== | ||
Line 183: | Line 194: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''tnuid'': number | * ''tnuid'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''collections'': array of collection (not yet added) | * ''collections'': array of collection (not yet added) | ||
− | |||
===== Example ===== | ===== Example ===== | ||
http://osuc.biosci.ohio-state.edu/OJ_Break/getInsts?tnuid=30148&format=json&key=FBF57A9F7A666FC0E0430100007F0CDC | http://osuc.biosci.ohio-state.edu/OJ_Break/getInsts?tnuid=30148&format=json&key=FBF57A9F7A666FC0E0430100007F0CDC | ||
Line 196: | Line 208: | ||
* ''tnuid'': number | * ''tnuid'': number | ||
* ''showSyns'': string | * ''showSyns'': string | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''lit'': pubs | * ''lit'': pubs | ||
Line 208: | Line 222: | ||
* ''tnuid'': number | * ''tnuid'': number | ||
* ''showSyns'': boolean_flag | * ''showSyns'': boolean_flag | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
===== Return ===== | ===== Return ===== | ||
Line 221: | Line 236: | ||
* ''tnuid'': number | * ''tnuid'': number | ||
* ''rank_grouping'': string | * ''rank_grouping'': string | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''associations'': array of taxon_basic (tnuid is not a number) with the below extensions | * ''associations'': array of taxon_basic (tnuid is not a number) with the below extensions | ||
Line 237: | Line 254: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''tnuid'': number | * ''tnuid'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''habitats'': array of media_basic with the below extensions | * ''habitats'': array of media_basic with the below extensions | ||
Line 250: | Line 269: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''tnuid'': number | * ''tnuid'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''media'': array of media_basic (not yet added) | * ''media'': array of media_basic (not yet added) | ||
Line 262: | Line 283: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''tnuid'': number | * ''tnuid'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''taxa'': array of taxon_extended (tnuid is not a number) | * ''taxa'': array of taxon_extended (tnuid is not a number) | ||
Line 275: | Line 298: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''tnuid'': number | * ''tnuid'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''spms'': array of the below elements | * ''spms'': array of the below elements | ||
Line 291: | Line 316: | ||
* ''tnuid'': number | * ''tnuid'': number | ||
* ''validOnly'': boolean_flag | * ''validOnly'': boolean_flag | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
===== Return ===== | ===== Return ===== | ||
Line 306: | Line 332: | ||
* ''tnuid'': number | * ''tnuid'': number | ||
* ''validOnly'': string | * ''validOnly'': string | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''years'': array of the below elements | * ''years'': array of the below elements | ||
Line 321: | Line 349: | ||
* ''tnuid'': number | * ''tnuid'': number | ||
* ''stats_year'': number | * ''stats_year'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''stats'': array of below elements | * ''stats'': array of below elements | ||
Line 342: | Line 372: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''cuid'': string | * ''cuid'': string | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''spmInfo'': array of .. | * ''spmInfo'': array of .. | ||
Line 371: | Line 403: | ||
* ''showChildren'': string | * ''showChildren'': string | ||
* ''completeSpmInfo'': string | * ''completeSpmInfo'': string | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''locInfo'': array of loc_coords_extended | * ''locInfo'': array of loc_coords_extended | ||
Line 384: | Line 418: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''place_id'': number | * ''place_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''place_info'': place_extended (not yet added) | * ''place_info'': place_extended (not yet added) | ||
Line 396: | Line 432: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''place_id'': number | * ''place_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''subdivs'': array of place_basic | * ''subdivs'': array of place_basic | ||
Line 408: | Line 446: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''place_id'': number | * ''place_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''taxa'': array of taxon_extended (tnuid is not a number) with the below extensions | * ''taxa'': array of taxon_extended (tnuid is not a number) with the below extensions | ||
Line 422: | Line 462: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''place_id'': number | * ''place_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''coll_trips'': array of loc_basic with below extension | * ''coll_trips'': array of loc_basic with below extension | ||
Line 435: | Line 477: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''place_id'': number | * ''place_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''coll_trips'': array of taxon_basic with below extensions | * ''coll_trips'': array of taxon_basic with below extensions | ||
Line 449: | Line 493: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''place_id'': number | * ''place_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''collections'': array of institution (not yet added) | * ''collections'': array of institution (not yet added) | ||
Line 462: | Line 508: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''pub_id'': number | * ''pub_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''pub_ref'': array of literature_basic (extended?) | * ''pub_ref'': array of literature_basic (extended?) | ||
Line 474: | Line 522: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''pub_id'': number | * ''pub_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''pub_parts'': array of .. | * ''pub_parts'': array of .. | ||
Line 485: | Line 535: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''pub_id'': number | * ''pub_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''pub_cits'': array of .. | * ''pub_cits'': array of .. | ||
Line 498: | Line 550: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''pub_id'': number | * ''pub_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''assoc_cits'': array of .. | * ''assoc_cits'': array of .. | ||
Line 510: | Line 564: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''jrnl_id'': number | * ''jrnl_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''journal_info'': array of below elements | * ''journal_info'': array of below elements | ||
Line 530: | Line 586: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''jrnl_id'': number | * ''jrnl_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''pubs'': array of literature_basic (extended?) | * ''pubs'': array of literature_basic (extended?) | ||
Line 542: | Line 600: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''jrnl_id'': number | * ''jrnl_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''taxa'': array of taxon_basic | * ''taxa'': array of taxon_basic | ||
Line 554: | Line 614: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''inst_id'': number | * ''inst_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''collection_info'': array of below elements | * ''collection_info'': array of below elements | ||
Line 577: | Line 639: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''inst_id'': number | * ''inst_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''types'': array of taxon_basic with below extensions | * ''types'': array of taxon_basic with below extensions | ||
Line 593: | Line 657: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''inst_id'': number | * ''inst_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''types'': array of taxon_basic with below extensions | * ''types'': array of taxon_basic with below extensions | ||
Line 609: | Line 675: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''inst_id'': number | * ''inst_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''taxa'': array of taxon_extended with below extension | * ''taxa'': array of taxon_extended with below extension | ||
Line 622: | Line 690: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''inst_id'': number | * ''inst_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''coll_trips'': array of taxon_basic with below extensions | * ''coll_trips'': array of taxon_basic with below extensions | ||
Line 636: | Line 706: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''inst_id'': number | * ''inst_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''pubs'': array of literature_basic | * ''pubs'': array of literature_basic | ||
Line 648: | Line 720: | ||
===== Parameters ===== | ===== Parameters ===== | ||
* ''unv_id'': number | * ''unv_id'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''unvoucheredRecord'': array of .. | * ''unvoucheredRecord'': array of .. | ||
Line 661: | Line 735: | ||
* ''showChildren'': string | * ''showChildren'': string | ||
* ''pnids'': array of number | * ''pnids'': array of number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''unvoucheredRecords'': array of .. | * ''unvoucheredRecords'': array of .. | ||
Line 673: | Line 749: | ||
* ''tnuid'': number | * ''tnuid'': number | ||
* ''pnids'': array of number | * ''pnids'': array of number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* | * | ||
Line 688: | Line 766: | ||
* ''pnid'': number | * ''pnid'': number | ||
* ''showChildren'': string | * ''showChildren'': string | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''locInfo'': array of .. | * ''locInfo'': array of .. | ||
Line 702: | Line 782: | ||
* ''limit'': number | * ''limit'': number | ||
* ''categoryLimit'': string | * ''categoryLimit'': string | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''taxon_results'': | * ''taxon_results'': | ||
Line 720: | Line 802: | ||
* ''limit'': number | * ''limit'': number | ||
* ''nameOnly'': string | * ''nameOnly'': string | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''taxa'': array of taxon_extended with below extensions | * ''taxa'': array of taxon_extended with below extensions | ||
Line 735: | Line 819: | ||
* ''name'': string | * ''name'': string | ||
* ''limit'': number | * ''limit'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''cuids'': array of cuid | * ''cuids'': array of cuid | ||
Line 750: | Line 836: | ||
* ''limit'': number | * ''limit'': number | ||
* ''includeParty'': string | * ''includeParty'': string | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''agents'': | * ''agents'': | ||
Line 763: | Line 851: | ||
* ''name'': string | * ''name'': string | ||
* ''limit'': number | * ''limit'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''inst'': | * ''inst'': | ||
Line 776: | Line 866: | ||
* ''name'': string | * ''name'': string | ||
* ''limit'': number | * ''limit'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''journals'': | * ''journals'': | ||
Line 789: | Line 881: | ||
* ''name'': string | * ''name'': string | ||
* ''limit'': number | * ''limit'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''orgs'': | * ''orgs'': | ||
Line 802: | Line 896: | ||
* ''name'': string | * ''name'': string | ||
* ''limit'': number | * ''limit'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''places'': | * ''places'': | ||
Line 815: | Line 911: | ||
* ''name'': string | * ''name'': string | ||
* ''limit'': number | * ''limit'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''locs'': | * ''locs'': | ||
Line 828: | Line 926: | ||
* ''name'': string | * ''name'': string | ||
* ''limit'': number | * ''limit'': number | ||
− | * '' | + | * ''format'': string |
+ | * ''key'': string | ||
+ | |||
===== Return ===== | ===== Return ===== | ||
* ''coll_methods'': | * ''coll_methods'': |
Revision as of 14:14, 1 July 2014
Introduction
OJ_Break is the name of the xBio:D RESTful API service to facilitate discovery of data within the xBio:D database. The API can respond with JavaScript Object Notation (JSON), XML, or JSON with padding (JSONP) and accepts HTTP GET and POST requests indiscriminately. The backend of the API is written in Oracle's PL/SQL database language, which is fast but often inflexible, while a Python presentation layer mitigates request handling and authentication.
Contents
- 1 API Access
- 2 Procedural Reference
- 2.1 Taxon
- 2.1.1 getTaxonStats
- 2.1.2 getTaxonInfo
- 2.1.3 getTaxonHierarchy
- 2.1.4 getIncludedTaxa
- 2.1.5 getTaxonSynonyms
- 2.1.6 getLocalities
- 2.1.7 getLocalities
- 2.1.8 getCuids
- 2.1.9 getCuids
- 2.1.10 getTypes
- 2.1.11 getInsts
- 2.1.12 getTaxonLiterature (deprecated)
- 2.1.13 getTaxonLit
- 2.1.14 getAssociations
- 2.1.15 getHabitats
- 2.1.16 getTaxonMedia
- 2.1.17 getTaxonBreakdown
- 2.1.18 getTaxonPhenology
- 2.1.19 getTaxonNewTaxaByPub
- 2.1.20 getTaxonNewTaxaByYear
- 2.1.21 getTaxonStatsForYear
- 2.2 Occurrence / Specimen
- 2.3 Locality
- 2.4 Place / Geopolitical Entity
- 2.5 Literature
- 2.6 Journal
- 2.7 Institution
- 2.8 Unvouchered Record
- 2.9 Text Search
- 2.1 Taxon
- 3 Data Type Glossary
API Access
Using the OJ_Break API requires calling methods with corresponding, method specific parameters (found in this page) and a few other required parameters. These include specifying a return format and an API access key.
Example: http://osuc.biosci.ohio-state.edu/OJ_Break/getTaxonStats?tnuid=30148&format=json&key=FBF57A9F7A666FC0E0430100007F0CDC
To read more about using the OJ_Break API, go to OJ_Break API Access.
Procedural Reference
Taxon
getTaxonStats
Description
Get some basic taxonomic statistics for a taxon from a tnuid.
Parameters
- tnuid: number
- format: string
- key: string
Return
- taxon: string
- author: string
- stats: taxon_stats
Example
getTaxonInfo
Description
Get some basic taxonomic information for a taxon from a tnuid.
Parameters
- tnuid: number
- inst_id: number
- format: string
- key: string
Return
- taxon_rel_extended class with below extensions
- valid_taxon: taxon_basic (only present when defined)
- parent_taxon: taxon_basic
- hier: taxon_hierarchy
- source: taxon_source
- common_names: array of common_name
- orig_desc: contrib_literature_basic (only present when defined)
- stats: taxon_info_stats
- contribs: array of contribution
Example
getTaxonHierarchy
Description
Get the taxonomic hierarachy in which a taxon is at the terminal node from a tnuid.
Parameters
- tnuid: number
- format: string
- key: string
Return
- taxon: string
- author: string
- hier: taxon_hierarchy
Example
getIncludedTaxa
Description
Get the taxa that are directly included within a taxon but not synonymous with it.
Parameters
- tnuid: number
- inst_id: number
- showSyns: boolean_flag
- showFossils: boolean_flag
- types_only: boolean_flag
- show_num_spms: boolean_flag
- format: string
- key: string
Return
- tnuid: number
- parent_tnuid: number
- includedTaxa: array of taxon_extended
Example
getTaxonSynonyms
Description
Get the taxa that are objective or subjectively synonymous with a taxon.
Parameters
- tnuid: number
- showFossils: boolean_flag
- format: string
- key: string
Return
- synonyms: array of taxon_rel_extended
Example
getLocalities
Description
Get the localities from vouchered and unvouchered records for a taxon.
Parameters
- tnuid: number
- inst_id: number
- precDecimals: number
- showChildren: boolean_flag
- format: string
- key: string
Return
- localities: array of loc_coords
Example
getLocalities
Description
Get the localities within geopolitical divisions from vouchered and unvouchered records for a taxon.
Parameters
- tnuid: number
- pnids: array of pnid
- inst_id: number
- precDecimals: number
- showChildren: boolean_flag
- format: string
- key: string
Return
- localities: array of loc_coords
Example
getCuids
Description
Get the occurrence identifiers (collecting unit IDs) for a taxon.
Parameters
- tnuid: number
- showChildren: boolean_flag
- inst_id: number
- pnids: array of pnid
- format: string
- key: string
Return
- cuids: array of cuid
Example
getCuids
Description
Get the occurrence identifiers (collecting unit IDs) for selected taxa.
Parameters
- tnuids: array of tnuid
- pnids: array of pnid
- format: string
- key: string
Return
- cuids: array of cuid
Example
getTypes
Description
Parameters
- tnuid: number
- showSyns: boolean_flag
- inst_id: number
- primary_only: boolean_flag
- taxon_author_search: string
- offset: number
- limit: number
- format: string
- key: string
Return
- num_records: number
- types: array of taxon_basic and the below extensions
- valid_taxon: taxon_basic
- hier: taxon_hierarchy
- cuid: string
- inst_code: string
- inst_id: string
- type: string
- orig_desc: pubs
- images: media_basic
Example
getInsts
Description
Parameters
- tnuid: number
- format: string
- key: string
Return
- collections: array of collection (not yet added)
Example
getTaxonLiterature (deprecated)
Description
Deprecated. Use getTaxonLit instead
Parameters
- tnuid: number
- showSyns: string
- format: string
- key: string
Return
- lit: pubs
Example
getTaxonLit
Description
Preferred
Parameters
- tnuid: number
- showSyns: boolean_flag
- format: string
- key: string
Return
- pubs: array of pubs
Example
getAssociations
Description
Parameters
- tnuid: number
- rank_grouping: string
- format: string
- key: string
Return
- associations: array of taxon_basic (tnuid is not a number) with the below extensions
- type: string
- relationship: string
- hier: taxon_hierarchy
- cuids: array of cuids
Example
getHabitats
Description
Parameters
- tnuid: number
- format: string
- key: string
Return
- habitats: array of media_basic with the below extensions
- habitat: string
Example
getTaxonMedia
Description
Parameters
- tnuid: number
- format: string
- key: string
Return
- media: array of media_basic (not yet added)
Example
getTaxonBreakdown
Description
Parameters
- tnuid: number
- format: string
- key: string
Return
- taxa: array of taxon_extended (tnuid is not a number)
- sex: array of spm_sex
Example
getTaxonPhenology
Description
Parameters
- tnuid: number
- format: string
- key: string
Return
- spms: array of the below elements
- date: string
- sort_date: string
- cuid: string
Example
getTaxonNewTaxaByPub
Description
Parameters
- tnuid: number
- validOnly: boolean_flag
- format: string
- key: string
Return
- pubs: array of literature_basic with the below extension
- taxa_num: string
Example
getTaxonNewTaxaByYear
Description
Parameters
- tnuid: number
- validOnly: string
- format: string
- key: string
Return
- years: array of the below elements
- taxa_num: string
- year: string
Example
getTaxonStatsForYear
Description
Parameters
- tnuid: number
- stats_year: number
- format: string
- key: string
Return
- stats: array of below elements
- new_spm_num: number
- all_spm_num: number
- new_taxa_spm_num: array of number
- all_taxa_spm_num: array of number
- new_images_num: number
- all_images_num: number
- spm_years: array of string
- images_years: array of string
Example
Occurrence / Specimen
getSpmInfo
Description
Parameters
- cuid: string
- format: string
- key: string
Return
- spmInfo: array of ..
Example
getSpmsInfo
Description
Parameters
- cuids: array of string
- callback: string
Return
- spmsInfo: array of ..
Example
Locality
getLocalityInfo
Description
Parameters
- loc_id: number
- tnuid: number
- inst_id: number
- per_id: number
- pnid: number
- showChildren: string
- completeSpmInfo: string
- format: string
- key: string
Return
- locInfo: array of loc_coords_extended
Example
Place / Geopolitical Entity
getPlaceInfo
Description
Parameters
- place_id: number
- format: string
- key: string
Return
- place_info: place_extended (not yet added)
Example
getSubdivisions
Description
Parameters
- place_id: number
- format: string
- key: string
Return
- subdivs: array of place_basic
Example
getGeoTaxa
Description
Parameters
- place_id: number
- format: string
- key: string
Return
- taxa: array of taxon_extended (tnuid is not a number) with the below extensions
- valid_taxon: taxon_basic
- hier: taxon_hierarchy
Example
getGeoCollTrips
Description
Parameters
- place_id: number
- format: string
- key: string
Return
- coll_trips: array of loc_basic with below extension
- collector class (not yet added)
Example
getGeoCollTrips2
Description
Parameters
- place_id: number
- format: string
- key: string
Return
- coll_trips: array of taxon_basic with below extensions
- institution class (not yet added)
- collector class (not yet added)
Example
getGeoInsts
Description
Parameters
- place_id: number
- format: string
- key: string
Return
- collections: array of institution (not yet added)
Example
Literature
getLitReference
Description
Parameters
- pub_id: number
- format: string
- key: string
Return
- pub_ref: array of literature_basic (extended?)
Example
getLitParts
Description
Parameters
- pub_id: number
- format: string
- key: string
Return
- pub_parts: array of ..
Example
getPubTaxonCitation
Description
Parameters
- pub_id: number
- format: string
- key: string
Return
- pub_cits: array of ..
- public: string
- author: string
Example
getPubAssocCitation
Description
Parameters
- pub_id: number
- format: string
- key: string
Return
- assoc_cits: array of ..
Example
Journal
getJournalInfo
Description
Parameters
- jrnl_id: number
- format: string
- key: string
Return
- journal_info: array of below elements
- name: string
- url: string
- is_public: string
- copyright_holder: string
- num_articles: number
- num_pdfs: number
- num_taxa: number
- last_article_time: string
Example
getJournalPubs
Description
Parameters
- jrnl_id: number
- format: string
- key: string
Return
- pubs: array of literature_basic (extended?)
Example
getJournalTaxa
Description
Parameters
- jrnl_id: number
- format: string
- key: string
Return
- taxa: array of taxon_basic
Example
Institution
getCollectionInfo
Description
Parameters
- inst_id: number
- format: string
- key: string
Return
- collection_info: array of below elements
- name: string
- code: string
- vouchered: boolean (needs change to Y or N)
- num_prim_types: number
- num_sec_types: number
- num_species: number
- num_spms: number
- last_spm_time: string
- oldest_spm: array of the following
- cuid: string
- coll_date: string
Example
getPrimaryTypes
Description
Parameters
- inst_id: number
- format: string
- key: string
Return
- types: array of taxon_basic with below extensions
- cuid: string
- type: string
- hier: taxon_hierarchy
- orig_desc: pubs (not yet added)
Example
getSecondaryTypes
Description
Parameters
- inst_id: number
- format: string
- key: string
Return
- types: array of taxon_basic with below extensions
- cuid: string
- type: string
- hier: taxon_hierarchy
- orig_desc: pubs (not yet added)
Example
getInstTaxa
Description
Parameters
- inst_id: number
- format: string
- key: string
Return
- taxa: array of taxon_extended with below extension
- hier: taxon_hierarchy
Example
getInstCollTrips2
Description
Parameters
- inst_id: number
- format: string
- key: string
Return
- coll_trips: array of taxon_basic with below extensions
- institution class (not yet added)
- collector class (not yet added)
Example
getInstPubs
Description
Parameters
- inst_id: number
- format: string
- key: string
Return
- pubs: array of literature_basic
Example
Unvouchered Record
getUnvoucheredRecord
Description
Parameters
- unv_id: number
- format: string
- key: string
Return
- unvoucheredRecord: array of ..
Example
getUnvoucheredRecords
Description
Parameters
- tnuid: number
- showChildren: string
- pnids: array of number
- format: string
- key: string
Return
- unvoucheredRecords: array of ..
Example
getUnvoucheredRecords
Description
Parameters
- tnuid: number
- pnids: array of number
- format: string
- key: string
Return
Example
getUnvLocalityInfo
Description
Parameters
- loc_id: number
- tnuid: number
- per_id: number
- pnid: number
- showChildren: string
- format: string
- key: string
Return
- locInfo: array of ..
Example
Text Search
getSearchResults
Description
Parameters
- name: string
- limit: number
- categoryLimit: string
- format: string
- key: string
Return
- taxon_results:
- cuid_results:
- agent_results:
- inst_results:
- place_results:
- journal_results:
Example
getTaxaFromText
Description
Parameters
- name: string
- limit: number
- nameOnly: string
- format: string
- key: string
Return
- taxa: array of taxon_extended with below extensions
- lsid: number
- count: number
Example
getCuidsFromText
Description
Parameters
- name: string
- limit: number
- format: string
- key: string
Return
- cuids: array of cuid
- count: number
Example
getAgentsFromText
Description
Parameters
- name: string
- limit: number
- includeParty: string
- format: string
- key: string
Return
- agents:
- count: number
Example
getInstFromText
Description
Parameters
- name: string
- limit: number
- format: string
- key: string
Return
- inst:
- count: number
Example
getJournalsFromText
Description
Parameters
- name: string
- limit: number
- format: string
- key: string
Return
- journals:
- count: number
Example
getOrgsFromText
Description
Parameters
- name: string
- limit: number
- format: string
- key: string
Return
- orgs:
- count: number
Example
getPlacesFromText
Description
Parameters
- name: string
- limit: number
- format: string
- key: string
Return
- places:
- count: number
Example
getLocalitiesFromText
Description
Parameters
- name: string
- limit: number
- format: string
- key: string
Return
- locs:
- count: number
Example
getCollMethodsFromText
Description
Parameters
- name: string
- limit: number
- format: string
- key: string
Return
- coll_methods:
- count: number