<< Click to Display Table of Contents >> Persona's Searches metadata |
Overview
Bizagi features an OData service which handles aspects of the Experience design.
Through the Personas URI, you can handle metadata related to Personas in the project, and when navigating for a specific Persona with its ID you may handle My Stuff, Searches or Relevant processes, as described at Persona's metadata.
This section describes how to query a Persona's Searches.
Resource URL
Start with the following URL:
[your_bizagi_project_url]/odata/metadata/Personas([Persona_ID])/searches
Customizations:
•[Persona_ID]: The GUID of a specific Persona as returned when invoking the Persona's metadata.
•[your_bizagi_project_url]: The URL where end users access the Bizagi Work portal.
For Automation Service projects, the URL would be:
https://[project_environment]-[your_project]-[your_company].bizagi.com/odata/metadata/Personas([Persona_ID])/searches
This resource is available through an HTTP GET action. |
Example
The following image illustrates how you can send an HTTP GET for this resource:
Returned results include (inside the value element):
•Name: The unique name of the search, as defined in Bizagi Studio.
•DisplayName: The default display name of the search, as shown to end users in the Work portal.
•@odata.id: The unique URL to access that search.
•Id: A string-based GUID representing the URI of that search.
•Parameters: The list of data (attributes) that the search needs to run a new one.
Parameters included for each attribute:
oId: A string-based GUID.
oName: The display name.
oXpath: The full Xpath to that attribute (including its name).
oType: The data type of the attribute. For a list of possible data types in Bizagi, refer to Types of data.
•Actions: The list of available actions for that such collection of My Stuff.
Parameters included for each action:
oId: A string-based GUID.
oName: The name.
oDisplayName: The display name of the action.
oParameters: The list of parameters needed to trigger a new action, which in turn specifies the parameter's ID, name, Xpath and type of data (as per Types of data).
•Template: The list of data (attributes) that the search uses when displaying its results.
The template includes sets of information for each attribute:
oName: The name of the attribute.
oXpath: The Xpath starting from the process entity.
oType: The data type of the attribute. For a list of possible data types in Bizagi, refer to Types of data.
Every set of results returned by the OData services includes a set of standard properties which are preceded by the @ sign. These properties are described at Properties and querying options. |
Through the @odata.id property, you can obtain a specific record's details only, instead of a full list.
For example, use:
[your_bizagi_project_url]/odata/metadata/Personas([Persona_ID])/searches([search_ID])
You can also navigate to and explore specific elements deriving from such Searches, such as the actions available for a record returned by that search.
For example, use:
[your_bizagi_project_url]/odata/metadata/Personas([Persona_ID])/searches([search_ID])/actions
Last Updated 6/9/2023 3:08:16 AM