Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

These are the data objects that can be accessed and/or modified via the API.

Anchor
client
client
 

Panel
titleClient

Defines a client in the system.

ParameterTypeValue
__objtypeString'Client'
idStringClient ID
nameStringClient login name
fullNameStringClient display name
activeBooleanTrue if the client is active
maxConcurrentUsersIntegerNumber of max concurrent user for this client. 0 if unlimited (limited by TermWeb license)
maxUserAccountsIntegerNumber of max user accounts for this client. 0 if unlimited (limited by TermWeb license)

Example:

Code Block
{
   "__objtype": "Client",
   "id": "1073709059",
   "name": "admin",
   "fullName": "Administrator client",
   "active": true,
   "maxConcurrentUsers": 0,
   "maxUserAccounts": 0
}

...

Panel
titleConceptXmlResult

Object for holding a list of concept entries in XML format retrieved from calls to exportAllConcepts or exportConceptChanges.

XML-RPC object structure

ParameterTypeValue
__objtypeString'ConceptXmlResult'
conceptIDListStringComma-separated string of concept IDs (visible in GUI)
xmlListArray [String]Array of concept XML data
moreResultsBooleanTrue if there are more results to be retrieved
resultSizeIntegerNumber of concepts in this object

Example:

{
   "__objtype": "ConceptXmlResult",
   "conceptIDList": "163,162",
   "xmlList": [
     "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><conceptGrp><system type=\"entryClass\">3<\/system><concept>163<\/concept><descripGrp><descrip type=\"conceptID\">163<\/descrip><\/descripGrp><languageGrp><language lang=\"EN\" type=\"English\"\/><termGrp><term>tulip<\/term><descripGrp><descrip type=\"termID\">163-1<\/descrip><\/descripGrp><\/termGrp><\/languageGrp><\/conceptGrp>",
     "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><conceptGrp><system type=\"entryClass\">3<\/system><concept>162<\/concept><descripGrp><descrip type=\"conceptID\">162<\/descrip><\/descripGrp><languageGrp><language lang=\"EN\" type=\"English\"\/><termGrp><term>grass<\/term><descripGrp><descrip type=\"termID\">162-1<\/descrip><\/descripGrp><\/termGrp><\/languageGrp><\/conceptGrp>",
   ],
   "moreResults": false,
   "resultSize": 2
}

...

Anchor
dictionary
dictionary

Panel
titleDictionary

Contains data about a dictionary in the system.

XML-RPC object structure

ParameterTypeValue
__objtypeString'Dictionary'
idStringDictionary ID
nameStringDictionary name
descriptionStringDescription text for the dictionary
conceptFieldsArray [Field]Array of concept level fields in the dictionary
termFieldsArray [Field]Array of term level fields in the dictionary

Example:

Code Block
{
   "__objtype": "Dictionary",
   "id": "267514",
   "name": "My dictionary",
   "description": "My dictionary description",
               "conceptFields": [
               {
                               "__objtype": "Field",
                               "id": "263539",
                               "name": "Definition",
                               "dataCat": "definition",
                               "dictionaryID": "263507",
                               "dataType": "NOTE_TEXT",
                               "required": false,
                               "minLen": 0,
                               "maxLen": 16383
                       }
               ],
               "termFields": [
                       {
                               "__objtype": "Field",
                               "id": "263567",
                               "name": "Part of speech",
                               "dataCat": "partOfSpeech",
                               "dictionaryID": "263507",
                               "dataType": "PICKLIST",
                               "picklist": [
                                       "noun",
                                       "verb",
                                       "adjective",
                                       "adverb",
                                       "properNoun",
                                       "other"
                               ],
                               "required": false,
                               "minLen": 0,
                               "maxLen": 16383
                       },
                       {
                               "__objtype": "Field",
                               "id": "263623",
                               "name": "Example",
                               "dataCat": "example",
                               "dictionaryID": "263507",
                               "dataType": "NOTE_TEXT",
                               "required": false,
                               "minLen": 0,
                               "maxLen": 16383
                       }
               ]
}

Anchor
domain
domain

Panel
titleDomain
Contains data about a domain in a dictionary.

XML-RPC object structure

ParameterTypeValue
__objtypeString'Domain'
idStringDomain ID
nameStringDomain name
dictionaryIDStringID of dictionary to which the domain belongs
parentStringID of parent domain. 0 for a top level domain.
childrenArray [Domain]Array of subdomain objects to this domain.

Example:

Code Block
{
   "__objtype": "Domain",
   "id": "1356",
   "name": "FOOD & AGRI",
   "dictionaryID": "1167",
   "parent": "0",
   "children": [
     {
       "__objtype": "Domain",
       "id": "1357",
       "name": "agriculture",
       "dictionaryID": "1167",
       "parent": "1356",
       "children": []
     }
}

...

Anchor
filter
filter

Panel
titleFilter

Contains data about a filter in the system.

XML-RPC object structure

ParameterTypeValue
__objtypeString'Filter'
idStringFilter ID
nameStringFilter name
dictionaryIDStringID for the dictionary containing the filter
filterCriteriaArray [FilterCriteria]Array of filter criteria in the filter

Example:

Code Block
{
   "__objtype": "Filter",
   "id": "4729661",
   "name": "Concept 36",
   "dictionaryID": "267514",
   "filterCriteria": [
   {
     "__objtype": "FilterCriteria",
     "id": "4729683",
     "fieldID": "264306685",
     "comparison": "EQUALS",
     "value": "36",
     "logicalOp": "NOP",
     "relDate": false,
     "termStartCriteria": false
   }
   ]
}

Anchor
filtercriteria
filtercriteria

Panel
titleFilterCriteria

Contains information about a single criteria within a Filter.

XML-RPC object structure

ParameterTypeValue
__objtypeString'FilterCriteria'
idStringFilterCriteria ID
fieldIDStringID for the field containing the value to compare
comparisonStringThe comparison operator. See CriteriaComparison.
valueStringThe value to compare the field value against
logicalOpStringThe logical operator following this criteria. See CriteriaOperator.
relDateBooleanTrue if the criteria value represents a date relative to now
termStartCriteriaBooleanTrue if the criteria is the start of a term field criteria group in the filter

Example:

Code Block
{
  "__objtype": "FilterCriteria",
  "id": "4729683",
  "fieldID": "264306685",
  "comparison": "EQUALS",
  "value": "36",
  "logicalOp": "NOP",
  "relDate": false,
  "termStartCriteria": false
}

Anchor
importsettings
importsettings

Panel
titleImportSettings

Settings for imports of term data.

XML-RPC object structure

ParameterTypeValue
__objtypeString'ImportSettings'
idStringImportSettings ID
nameStringImportSettings name
dictionaryIDStringID for the dictionary to which the import settings belong
userIDStringID for the user owning the import settings
conceptIDSyncStringHow concepts should be synchronized on conceptID. See ConceptSyncMethod for possible values.
indexTermSyncStringHow concepts should be synchronized on index term for a language. See ConceptSyncMethod for possible values. If this value is different from ConceptSyncMethod.NO_SYNC it overrides the value for conceptIDSync.
termSyncStringHow terms should be synchronized within a concept. See TermSyncMethod for possible values.
publiclyVisibleBooleanTrue if the settings should be available for all users within the client.
indexTermLanguagesArray [String]Array of iso3 language codes used for synchronization of concepts when indexTermSync is used
affectedConceptFieldsArray [String]Array of IDs of concept level fields that may be modified by the import
affectedLanguagesArray [String]Array of iso3 codes for languages which may be modified by the import
sectionIDMapStruct [StringString]Map from section names in import file to section IDs in dictionary
conceptFieldIDMapStruct [StringString]Map from concept level field names in import file to concept field IDs in dictionary
termFieldIDMapStruct [String→String]Map from term level field names in import file to term field IDs in dictionary
languageIsoMapStruct [StringString]Map from language names/codes in import file to language iso3 codes in dictionary

Example:

Code Block
{
   "__objtype": "ImportSettings",
   "id": "4731072",
   "name": "Merge import",
   "dictionaryID": "267514",
   "userID": "1073709057",
   "conceptIDSync": "DEFINITION",
   "indexTermSync": "MERGE",
   "termSync": "DEFINITION",
   "publiclyVisible": false,
   "indexTermLanguages": [
      "eng"
   ],
   "affectedConceptFields": [
      "267518"
   ],
   "affectedLanguages": [
      "deu"
   ],
   "sectionIDMap": {
      "Devices": "267552"
   },
   "conceptFieldIDMap": {
      "Product": "1946608740",
      "Definition": "267518"
   },
   "termFieldIDMap": {
      "Source": "2313788816",
      "Term ID": "2023876473"
   },
   "languageIsoMap": {
      "English": "eng",
      "French": "fra",
      "German": "deu",
      "Korean": "kor",
      "Portuguese": "por"
   }
}

...

Panel
titleImportValidationReport

Contains results of a validation of an import file.

XML-RPC object structure

ParameterTypeValue
__objtypeString'ImportValidationReport'
fileFormatStringThe detected format of the import file
conceptCountMapStruct [String->Integer]Map from section names to number of concepts in each section
termCountIntegerTotal number of terms found in the file
sectionNamesArray [String]Array of section names found in the file that exist in the dictionary
missingSectionNamesArray [String]Array of section names found in file that do not exist in the dictionary
languageNamesArray [String]Array of names of languages found in file that exist in the dictionary
languageCodesArray [String]Array of iso3 codes of languages found in file that exist in the dictionary
missingLanguageCodesArray [String]Array of language codes found in the file that do not exist in the dictionary
conceptFieldNamesArray [String]Array of concept field names found in the file that exist in the dictionary
termFieldNamesArray [String]Array of term field names found in the file that exist in the dictionary
missingConceptFieldNamesArray [String]Array of concept field names found in the file that do not exist in the dictionary
missingTermFieldNamesArray [String]Array of term field names found in the file that do not exist in the dictionary
domainPathsArray [String]Array of domain name paths, each domain name in a path separated by semicolon
unresolvedIDsArray [String]Only for internal use
fatalErrorsArray [String]Array of fatal error messages found during validation

Example:

Code Block
{
   "__objtype": "ImportValidationReport",
   "fileFormat":"TBX",
   "conceptCountMap":{},
   "termCount":11,
   "sectionNames":[],
   "missingSectionNames":[
     "Section 1"
   ],
   "languageNames":[
     "en", "fr"
   ],
   "languageCodes":[
     "eng", "fra"
   ],
   "missingLangCodes":[],
   "conceptFieldNames":[],
   "termFieldNames":[
     "context", "partOfSpeech"
   ],
   "missingConceptFieldNames":[
     "relatedConceptBroader", "relatedConcept"
   ],
   "missingTermFieldNames":[],
   "domainPaths":[],
   "unresolvedIds":[],
   "fatalErrors",[]
}

Anchor
indexterm
indexterm

Panel
titleIndexTerm

Data object for listing terms and search results. Contains the term name and IDs for the corresponding ConceptEntry and TermEntry.

XML-RPC object structure

ParameterTypeValue
__objtypeString'IndexTerm'
termStringTerm name
conceptEntryIDStringID for the concept entry
termEntryIDStringID for the term entry

Example:

Code Block
{
   "__objtype": "IndexTerm",
   "term": "fish",
   "conceptEntryID": "436",
   "termEntryID": "437"
}

Anchor
language
language

Panel
titleLanguage

Contains data about a language in a dictionary.

XML-RPC object structure

ParameterTypeValue
__objtypeString'Language'
idStringLanguage ID
nameStringLanguage name
dictionaryIDStringID for the dictionary to which the language belongs
isoCode2StringThe ISO 639-1 code for the language. May be empty.
isoCode3StringThe ISO 639-2 code for the language

Example:

Code Block
{
"__objtype": "Language",
"id": "1183",
"name": "Dutch",
"dictionaryID": "1167",
"isoCode2": "nl",
"isoCode3": "nld"
}

Anchor
project
project

Panel
titleProject

Contains a Project definition.

XML-RPC object structure

ParameterTypeValue
__objtypeString'Project'
idStringProject ID
nameStringProject name
activeBooleanTrue if the project is active
descriptionStringDescription for the project
dictionaryIDStringID for the dictionary connected to this project
variablesStructMap of variable names and values for the project
filterIDStringID for the filter selecting concepts belonging to this project
filterCriteriaArray [FilterCriteria]Array of filter criteria in the project's filter
workflowsArray [ProjectWorkflow]Array of workflows in the project

Example:

Code Block
{
   "__objtype": "Project",
   "id": "1161413",
   "name": "New concepts March 2016",
   "active": "true",
   "dictionaryID": "312",
   "variables": {
       "%addl": "Please add term in your language"
   },
   "filterID": "1161410",
   "filterCriteria": [
       {
           "__objtype": "FilterCriteria",
           "id": "1161412",
           "fieldID": "1946608740",
           "comparison": "GREATER_THAN",
           "value": "2016-03-01 00:00",
           "logicalOp": "AND",
           "relDate": false,
           "termStartCriteria": false
       },
       {
           "__objtype": "FilterCriteria",
           "id": "1161411",
           "fieldID": "1946608740",
           "comparison": "LESS_THAN",
           "value": "2014-04-01 00:00",
           "logicalOp": "NOP",
           "relDate": false,
           "termStartCriteria": false
       }
   ],
   "workflows": [
       {
           "__objtype": "ProjectWorkflow",
           "id": "1179204",
           "name": "March concepts created",
           "description": "Signal new concepts",
           "dictionaryID": "312",
           "active": "true",
           "tasklist": [
               "CreateConcept"
           ],
           "conditionlist": [
               {
                   "__objtype": "WorkflowCondition",
                   "fieldID": "347",
                   "logicalOp": "NOP",
                   "compareOp": "CONTAINS",
                   "value": "product"
               }
           ],
           "functioncalllist": [
               {
                   "__objtype": "WorkflowFunctionCall",
                   "function": "SendEmail",
                   "parameter_map": {
                       "content.type": "1",
                       "digest.type": "1",
                       "subject": "${workflow_name} ${%addl}",
                       "digest.enabled": "true",
                       "digest.jobnumber.oid": "13vk9",
                       "wflow.name": "March concepts created",
                       "msg.text": "Please add!",
                       "digest.displayed.langs": "eng,deu,swe",
                       "rcpt.type": "1",
                       "digest.number": "2",
                       "digest.id": "13vk8",
                       "email": "translators@example.com",
                       "project.oid": "13e65",
                       "digest.schedule.value": "0 * * * *"
                   }
               }
           ]
       }
   ]
}

...

Panel
titleProjectWorkflow

Represents a Workflow defined in a Project.

 XML-RPC object structure:

ParameterTypeValue
__objtypeString'ProjectWorkflow'
idStringWorkflow ID
nameStringWorkflow name
activeBooleanTrue if the workflow is active
descriptionStringDescription for the workflow
dictionaryIDStringID for the dictionary connected to this workflow
tasklistArray [String]Array of tasks that triggers this workflow. See WorkflowTask.
conditionListArray [WorkflowCondition]Array of conditions in this workflow
functionCallListArray [WorkflowFunctionCall]Array of of function calls in this workflow

Example:

Code Block
{
   "__objtype": "ProjectWorkflow",
   "id": "1179204",
   "name": "March concepts created",
   "description": "Signal new concepts",
   "dictionaryID": "312",
   "active": "true",
   "tasklist": [
     "CreateConcept"
   ],
   "conditionlist": [
     {
       "__objtype": "WorkflowCondition",
       "fieldID": "347",
       "logicalOp": "NOP",
       "compareOp": "CONTAINS",
       "value": "product"
     }
   ],
   "functioncalllist": [
     {
       "__objtype": "WorkflowFunctionCall",
       "function": "SendEmail",
       "parameter_map": {
         "content.type": "1",
         "digest.type": "1",
         "subject": "${workflow_name} ${%addl}",
        "digest.enabled": "true",
         "digest.jobnumber.oid": "13vk9",
         "wflow.name": "March concepts created",
         "msg.text": "Please add!",
         "digest.displayed.langs": "eng,deu,swe",
         "rcpt.type": "1",
         "digest.number": "2",
         "digest.id": "13vk8",
         "email": "translators@example.com",
         "project.oid": "13e65",
         "digest.schedule.value": "0 * * * *"
       }
     }
   ]
}

Anchor
section
section

Panel
titleSection

Contains data about a section in a dictionary.

XML-RPC object structure

ParameterTypeValue
__objtypeString'Section'
idStringSection ID
nameStringSection name
dictionaryIDStringID for the dictionary to which the section belongs

Example:

Code Block
{
   "__objtype": "Section",
   "id": "1593347",
   "name": "My section",
   "dictionaryID": "1167"
}

Anchor
termentry
termentry

Panel
titleTermEntry

Contains information about a term entry in a dictionary. 

 XML-RPC object structure 

ParameterTypeValue
__objtypeString'TermEntry'
idStringTermEntry ID (internal use)
nameStringTerm name
termIDStringTerm ID value (visible in GUI)
toBeDeletedBooleanSet to true if this term should be deleted from the concept
conceptEntryIDStringID of the concept to which the Term belongs
dictionaryIDStringID of the dictionary to which the Term belongs
languageStringISO3 language code for the term
regionStringRegion code for the term (since 2.10)
scriptStringScript code for the term (since 2.10)
fieldsStruct [String->String]Map of field names to field values (term level fields)

Example:

Code Block
{
   "__objtype": "TermEntry",
   "id": "437",
   "name": "fish",
   "termID": "80-2",
   "toBeDeleted": false,
   "conceptEntryID": "436",
   "dictionaryID": "312",
   "language": "eng",
   "region": "GB",
   "script": "Latn",
   "fields": {
     "Process status": "finalized"
   }
}

Anchor
user
user

Panel
titleUser

Contains data about a user in the system.

XML-RPC object structure

ParameterTypeValue
__objtypeString'User'
idStringUser ID
nameStringUser login name
fullNameStringUser full name
emailStringUser's email address
activeBooleanTrue if the user account is enabled

Example:

Code Block
{
  "__objtype": "User",
  "id": "1073709057",
  "name": "admin",
  "fullName": "Administrator",
  "email": "bob@example.com",
  "active": true
}

Anchor
virtualfile
virtualfile

Panel
titleVirtualFile

Defines a file object that can be transferred via the API.

XML-RPC object structure

ParameterTypeValue
__objtypeString'VirtualFile'
idStringVirtualFile ID
nameStringVirtualFile name
typeStringFile type
descriptionStringDescription for the file
database64File content

Example:

Code Block
{
   "__objtype": "VirtualFile",
   "id": "1593347",
   "name": "termdata",
   "type": "xml",
   "description": "Full dictionary",
   "data","0M8R4KGxGuEAAAAA..."
}

...

Panel
titleWorkflowCondition

Defines a condition in a workflow.

XML-RPC object structure

ParameterTypeValue
__objtypeString'WorkflowCondition'
fieldIDStringID of the field which this condition checks
logicalOpStringLogical operation that connects this condition with the next in the workflow. See CriteriaOperator.
comparisonOpStringComparison operator for the field value. See CriteriaComparison.
valueStringThe field value to compare against.

Example:

Code Block
{
   "__objtype": "WorkflowCondition",
   "fieldID": "347",
   "logicalOp": "NOP",
   "compareOp": "CONTAINS",
   "value": "product"
}

...

Panel
titleWorkflowFunctionCall

Defines a function call inside a workflow.

 XML-RPC object structure

ParameterTypeValue
__objtypeString'WorkflowFunctionCall'
functionStringWorkflow function to call. See WorkflowFunction.
parameter_mapStructMap of parameter names and values for the function call. Available parameters depends on the workflow function.

Example:

Code Block
{
   "__objtype": "WorkflowFunctionCall",
   "function": "SendEmail",
   "parameter_map": {
       "content.type": "1",
       "digest.type": "1",
       "subject": "${workflow_name} ${%addl}",
       "digest.enabled": "true",
       "digest.jobnumber.oid": "13vk9",
       "wflow.name": "March concepts created",
       "msg.text": "Please add!",
       "digest.displayed.langs": "eng,deu,swe",
       "rcpt.type": "1",
       "digest.number": "2",
       "digest.id": "13vk8",
       "email": "translators@example.com",
       "project.oid": "13e65",
       "digest.schedule.value": "0 * * * *"
   }
}