v1

latestOpenAPI 3.0.1Apache 2.02026-07-26131220353.8 KB
Tag Groups

Create a new tag

This endpoint allows for the creation of a new Tag and its attribute values.

post/tag-groups/{tagGroupId}/tags

Path parameters

tagGroupIdstring required
Example:0f0e000-000d-0d00-000b-00db0d000fae

Unique UUID of the tag group.

Request body

Example request

{
  "attributeValues": [
    {
      "attributeId": "0f0e000-000d-0d00-000b-00db0d000fae"
    }
  ]
}

Response

Tag group has been created

idstring required

This is the internal pleo identifier of the tag

tagGroupIdstring required

This is the internal pleo identifier of the tag group this tag belongs to

displayOrdernumber required

This is the display order position for this tag when displayed in a list.

hiddenboolean required

This flag specifies if the tag is hidden and not visible for use in pleo when tagging expenses.

Example response

{
  "id": "0f0e000-000d-0d00-000b-00db0d000fae",
  "tagGroupId": "0f0e000-000d-0d00-000b-00db0d000fae",
  "attributeValues": [
    {
      "attributeId": "0f0e000-000d-0d00-000b-00db0d000fae"
    }
  ]
}