Graphical design component

r5 - 09 Jan 2007 - 00:00:00 - MoinMoin?You are here: TWiki >  TAPIR Web > DatasourceInventoryProposalOne

Datasource Inventory Proposal One

A proposal for an InventoryRequest that accepts multiple concepts.

Request
<request>
  <header>
    ...
  </header>
  <inventory count="true" start=0 limit=1000 xmlns:ns1="http://www.somenamespace.org" xmlns:ns2="http://www.anothernamespace.org">
    <concepts>
      <concept path="ns1:/record/taxon/fullname"/> *
      <concept path="ns2:/Gazeteer/Location/ISOcountry"/>
    </concepts>
    <filter>
      ...
    </filter>
  </inventory>
</request>

with* being repeatable elements

Response

<response>
  <header>
   ...
  </header>
  <inventory xmlns:ns1="http://www.somenamespace.org" xmlns:ns2="http://www.anothernamespace.org">
    <record count="13"> *
      <value>Abies alba Mill.</value> *
      <value>DE</value>
    </record>
    <record count="45">
      <value>Quercus robur L.</value>
      <value>DE</value>
    </record>
  </inventory>
  <footer start="0" next="2" totalReturned="2" totalMatched="117" DatasourceInventoryProposalOne>
</response>

with* being repeatable elements

Note: order of values should be the same as the order of concepts specified in the request.

Edit | Attach | Printable | Backlinks: Web, All Webs | History: r5 < r4 < r3 < r2 < r1 | More topic actions
 
Back to TDWG Homepage TDWG Wiki > TAPIR
This site is powered by the TWiki collaboration platform

Valid XHTML 1.0 Transitional
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback