Skip to main content
Version: v2026.0.0

The TagCategoryService service exposes all the operations available around TagCategory type components.

Retrieving tag categories

The examples below show how to retrieve all tag categories.

# <CORE_HOST>  FlowerDocs Core base URL
# <TOKEN> authentication token
curl -X GET "<CORE_HOST>/rest/tagcategory" \
-H "token: <TOKEN>"

The examples below show how to retrieve tag categories from a list of identifiers.

# <CORE_HOST>  FlowerDocs Core base URL
# <TOKEN> authentication token
# <IDS> comma-separated list of tag category identifiers to be retrieved
curl -X GET "<CORE_HOST>/rest/tagcategory/<IDS>" \
-H "token: <TOKEN>"

Tag category creation

The examples below show how to create a tag category.

# <CORE_HOST>  FlowerDocs Core base URL
# <TOKEN> authentication token
curl -X POST "<CORE_HOST>/rest/tagcategory" \
-H "token: <TOKEN>" \
-H "Content-Type: application/json" \
-d '[
{
"id": "DocumentType",
"displayNames": [
{
"value": "Document Type",
"language": "EN"
},
{
"value": "Type de document",
"language": "FR"
}
],
"tags": [
{ "value": "Invoice" },
{ "value": "Contract" },
{ "value": "Report" }
],
"icon": "folder",
"description": "Category for document types",
"visible": true,
"inline": false,
"reduced": false
}
]'

Modifying tag categories

This operation updates the data of a tag category.

# <CORE_HOST>  FlowerDocs Core base URL
# <TOKEN> authentication token
# <IDS> comma-separated list of tag category identifiers to be updated
curl -X POST "<CORE_HOST>/rest/tagcategory/<IDS>" \
-H "token: <TOKEN>" \
-H "Content-Type: application/json" \
-d '[
{
"id": "DocumentType",
"displayNames": [
{
"value": "Doc Type",
"language": "EN"
},
{
"value": "Type de doc",
"language": "FR"
}
],
"tags": [
{ "value": "Invoice" },
{ "value": "Contract" },
{ "value": "Report" },
{ "value": "Letter" }
],
"visible": true,
"inline": true,
"reduced": false
}
]'

Tag category deletion

This operation deletes a list of tag categories from a list of identifiers.

# <CORE_HOST>  FlowerDocs Core base URL
# <TOKEN> authentication token
# <IDS> comma-separated list of tag category identifiers to be deleted
curl -X DELETE "<CORE_HOST>/rest/tagcategory/<IDS>" \
-H "token: <TOKEN>"