Virtual Tag Metadata API
The Finout Metadata API allows you to query, analyze, and manage metadata associated with virtual tag values. It provides functionalities to retrieve existing metadata lists and add metadata for specific virtual tags. Results are returned in JSON format, facilitating seamless data processing and integration.
GET
/Virtual Tag Metadata
GET
/Virtual Tag Metadata
Returns a list of virtual tag values and their corresponding Metadata
Prerequisites
You must obtain the Virtual Tag ID by querying GET/virtual-tags.
Generate a Client ID and Secret Key from Finout to add in Headers.
Request
https://app.finout.io/v1/virtual-tags/virtualtagid/metadata
Response
Returns a JSON object with the following properties:
Request Id - The unique identifier for the API request.
Custom Metadata - Any metadata attached to the virtual tag.
PUT
/Virtual Tag Metadata
PUT
/Virtual Tag Metadata
Enrich your virtual tag values with groups and custom metadata by adding them to your virtual tag and specifying them per value. This metadata is also used with other objects in Finout.
Note:
Currently, using virtual tag values metadata is only available in Financial Plans.
Adding virtual tag metadata using the PUT query overrides the current data in the virtual tag.
Documentation to learn more about utilizing metadata in financial plans is coming soon.
Prerequisites
You must obtain the Virtual Tag ID by querying a GET/virtual-tags.
Generate a Client ID and Secret Key from Finout to add in Headers.
Request
https://app.finout.io/v1/virtual-tags/virtualtagID/metadata
Use Case:
Assume your organization has three teams: App Team, Data Team, and DevOps Team. You need to configure groups for each team and assign an owner name for each team.
Body of Request
Virtual Tag Value
String
The object that defines the value for the virtual tag. This can be of any value. Limitation: Virtual tag values in this specific endpoint cannot include dots.
customMetadata
Object
Any type of metadata can be attached to the virtual tag’s value. You must specify the custom metadata key and value.
Example:
If you want to assign an owner to a virtual tag’s value, you can set "owner" as the custom metadata key and "owner_name" as the custom metadata value.
groups
Array
The group of this specific value. You can use one or more groups.
To get account group IDs, contact your customer success representative.
endpoints
Note: The ability to use the endpoint metadata in Finout is coming soon.
Array
An endpoint of this specific value. You can set one or more endpoints.
Example:
If the virtual tag’s value is "app team," you can provide the endpoint ID of the app team.
{
"endpoint":"endpoint-app-team-id"
}
To learn how to get a list of your account's endpoints, see Endpoint API.
Response
Returns a JSON object with the following properties:
Request Id - The unique identifier for the API request.
Custom Metadata - Any metadata attached to the virtual tag.
Last updated