Ifd:IFD API

From dev.ifd-library.org

(Redirected from IFD API)
Jump to: navigation, search

An overview of the object model and a list of functions available through the standard WSDL API.

2.0.5 version of API WSDL: http://services.ifd-library.org/api/2.0?wsdl
3.0 version of API WSDL: http://services.ifd-library.org/api/3.0/wsdl/soap.wsdl

Both of these APIs point to the same database, so users of API 2.0_5 will be able to see the exact same content as the users of API 3.0. Everyone is encouraged to move their applications to 3.0, as 2.0_5 is deprecated, and will be removed.

The documentation for API 3.0 can be found here 
You need a user name in order to add information using the API. 
Here is information about how to get one. 
If you want to browse the API you are free to do that using the demo user. 
Username : demo, Password : demo.


Contents

Object model

Classes

Types

Enumerations

API overview

Search functions

Get functions

Add functions

Add functions will carry out functions on all concepts and their sub-concepts. E.g if an IfdConcept contains both a new concepts and new names for that concept, all of these will be created.

Update functions

Add functions will carry out functions only on the concept itself. Nothing will be done on the sub concepts. E.g when updating an IfdConcept that contains both a concepts and updated names for that concept, then ONLY the concept will be updated.

Remove functions

Merge functions

  • mergeDuplicates -merges two identical concepts. One of the guid's is kept while the other get the status. "TRANSFERRED"

Miscellaneous functions

Synchronization functions

"It was ordered, designed and developed special functionality to synchronize two IFD populations: master copy of IFD population (original) and partly changed part of the population – local copy. It is out of scope – way to populate local copy with subset of master IFD population. The main idea - master copy initially was a source of local copy population. The population is subset of the IFD population – limited in names/descriptions by selected languages and in relationships by selected contexts. Time being master and local copies were changed with newly created, removed and updated concepts and relationships. It is prohibited to create new contexts, languages, users and organization in local copy. To support synchronization – have possibility to return back into master copy updated subset of IFD population was introduced special rules to mark with date/time stamp all changes in the IFD population (concepts and their relationships) and the following data structures and functionality."

  • IfdDelta all concepts and relationships that were changed".
  • IfdRelationship represents general IFD relationship attributes".
  • IfdConflict represents conflicts raised in a merge of a source IFD data to a target IFD population".
  • IfdChange structure represents one shallow change".
  • IfdChanges represents shallow changes in target IFD population".
  • get_delta_of_concepts function investigates target population and collects all concepts and their relationships".
  • import_delta merges delta (changes) from a local IFD population to a target IFD population".
  • get_changes investigate target IFD population collecting shallow info about all changed".

Development


Return to the LexiCon - BARBi unification page