GET v1/bunits/{bunitId}/consumers/{consumerId}/tags
Get the tags assigned to a consumption unit.
These are the assigned tags related to the current user's business unit
along with the assigned tags that are inherited from the current user's
business unit, no matter who assigned them
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bunitId |
The ID of the business unit the consumption unit is related to | integer |
Required |
consumerId |
The ID of the consumption unit the tags are assigned | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of tags
Collection of TagName | Description | Type | Additional information |
---|---|---|---|
Id |
Id of the tag |
integer |
None. |
BusinessUnitId |
The ID of the business unit that created the tag |
integer |
None. |
Text |
The text of the tag |
string |
None. |
Inheritable |
If a tag is inheritable it can be used by business units descending original creator |
boolean |
None. |
BusinessUnitCount |
The number of business unit that the tag is assigned to |
integer |
None. |
ConsumerCount |
The number of consumption units the tag is assigned to |
integer |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<ArrayOfTag xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Tag> <Id>1</Id> <BusinessUnitId>2</BusinessUnitId> <Text>sample string 3</Text> <Inheritable>true</Inheritable> <BusinessUnitCount>5</BusinessUnitCount> <ConsumerCount>6</ConsumerCount> </Tag> <Tag> <Id>1</Id> <BusinessUnitId>2</BusinessUnitId> <Text>sample string 3</Text> <Inheritable>true</Inheritable> <BusinessUnitCount>5</BusinessUnitCount> <ConsumerCount>6</ConsumerCount> </Tag> </ArrayOfTag>