Web Service Method: Suggest Multiple Concepts
17/12/2025
Description |
|---|
This service allows to suggest multiple concepts in one request. |
It returns the generated URIs of the created concepts that are accessible in the "Workflow Dashboard".
URL: /PoolParty/api/thesaurus/{project}/suggestConcepts
Note
You have to provide a prefLabel in the default language. You can only suggest labels in languages that are defined as project language.
Note
If you want to create a narrower concept directly, without using the Suggested Concepts List, you may consider to use Web Service Method: Create New Concept.
Request
Supported Methods |
|---|
POST |
Content-Type: application/json
Path Variables
Variable | Comment |
|---|---|
| The UUID or the URI supplement (textual identifier) of the project to be used. |
JSON Request Object
Request object to suggest a new concept.
Attribute | Attribute | Type | Required | Comment |
|---|---|---|---|---|
| true | Envelope for an array of suggested concepts | ||
| Array of LanguageLiterals | true | Object consisting of label (String) and language (String) | |
| boolean | false | If another concept with the same preferred label already exists, an error will be thrown. (Default: true) | |
| Array of URIs | false | Parent concept of the suggested concept. | |
| Array of URIs | false | Parent concept scheme of the suggested concept. This means, the suggested concept will become a top concept. | |
| Array of URIs | false | Related concepts of the suggested concept. | |
| Array of LanguageLiterals | false | Object consisting of | |
| String | false | Notes describing the suggested concept. | |
| float | false | Custom score for the new concept between | |
| String | false | Optional parameter that lets the client define the URI suffix in case the project supports manual ID generation pattern |
Response
HTTP status code 200 if OK + the URL of the suggested concept.
Examples
Use Case: Suggest Two Concepts at Once
POST https://preview.poolparty.biz/PoolParty/api/thesaurus/1DDFD8F0-F0B1-0001-254A-1A3047C67540/suggestConcepts
Content-Type: application/json
{
"conceptSuggestRequests": [
{
"prefLabels": [
{
"label":"Hillary Clinton",
"language":"en"
}
],
"definition" : [
{
"label":"Democratic Party presidential candidate",
"language":"en"
}
]
},
{
"prefLabels": [
{
"label":"Donald Trump",
"language":"en"
}
],
"definition" : [
{
"label":"Republican Party presidential candidate",
"language":"en"
}
]
}
]
}Example Response
[
{
"uri": "https://preview.poolparty.biz/TestCooccurrences/167"
},
{
"uri": "https://preview.poolparty.biz/TestCooccurrences/168"
}
]Usage of a REST Client
The following screenshot shows how two concepts are suggested, using Postman:
![]() |
