Skip to main content

Using a List of Request Parameters

Abstract

Using a List of Request Parameters

Some services allow for you to query multiple parameters at once. For example: you can collect information about multiple properties of a concept, e.g. see Web Service Method: Request a Concept's Details or you collect details of a number of concepts in one single request: Web Service Method: Request Details of Multiple Concepts. In such cases you can ship the requested properties in two ways:

parameter + value pairwise

request parameter

value

properties

skos:altLabel

properties

skos:definition

This ends up in a request like

http://<server-url>/PoolParty/api/thesaurus/bb2df837-7654-4c89-8994-d23f5468b56b/concept?concept=http://vocabulary.semantic-web.at/doku/Americas&properties=skos:altLabel&properties=skos:definition

or you collect values as comma separated list

parameter + values as list

request parameter

value

properties

skos:altLabel, skos:definition

This ends up in a request like

http://<server-url>/PoolParty/api/thesaurus/bb2df837-7654-4c89-8994-d23f5468b56b/concept?concept=http://vocabulary.semantic-web.at/doku/Americas&properties=skos:altLabel, skos:definition