TemaTres: gestión de vocabularios controlados

You are here: Bienvenido al Wiki de documentación de TemaTres: gestión de vocabularios controlados » TemaTres Wiki » tematres » TemaTres Vocabulary web Services

Translations of this page:

TemaTres Vocabulary web Services

You can use XML'Services with Tematres in order to integrate or exploit your vocabulary. To do that, You have tu use the services.php file.

Accepted params

  1. task : Action to do
  2. arg: arguments for task action (eg: string for search task, numerical id for specific term data)
  3. output: Output format, can be JSON or XML. Optional parameter, XML by default

Accepted Tasks and Args

fetchRelated

Retrieve related terms for one ID

fetchAlt

Retrieve alternative/non prefered terms for one ID

fetchDown

Retrieve more specific terms for one ID

fetchUp

Retrieve hierarchical structure for one ID

fetchTerm

Retrieve simple term data

fetchNotes

Retrieve notes for one term

fetchDirectTerms

Retrieve alternative, related and direct hierarchical terms for one term_id

fetchTopTerms

Retrieve vocabulary top terms

fetchTerms

Retrieve simple term data for some coma separated IDs (example: 3,6,98)

fetchRelatedTerms

Retrieve simple related term data for some coma separated terms IDs (example: 3,6,98)

letter

Search and retrieve terms was beginning with letter $arg

search

Search and retrieve terms

fetchSimilar

Search and retrieve similar term for string search expresion ($arg)

fetchVocabularyData

Retrieve data about vocabulary