Stakeholder's Searches metadata

<< Click to Display Table of Contents >>

Navigation:  Bizagi Studio > Bizagi from external applications > Bizagi API > OData services > Metadata services > Stakeholders metadata >

Stakeholder's Searches metadata

Overview

Bizagi features an OData service which handles aspects of the Experience design.

Through the Stakeholders URI, you may handle metadata related to Stakeholders in the project, and when navigating for a specific Stakeholder with its ID you may handle My Stuff, Searches or Relevant processes, as described at Stakeholder's metadata.

This section describes how to query a given Stakeholder's Searches.

 

Resource URL

Start off from the following URL:

https://[your_company].bizagi.com/[your_project]/odata/metadata/stakeholders([stakeholder_ID]/searches)

 

Consider:

[your_company]: The name of your company.

[your_project]: The name of your Bizagi project. Recall that for environments other than the production environment, the project includes a suffix referencing the given environment.

[stakeholder_ID]: The GUID of a specific stakeholder as returned when invoking the Stakeholder's metadata.

 

note_pin

This resource is available through an HTTP GET action.

 

Example

The following image illustrates how you can send an HTTP GET for this resource:

 

OData_SSearches

 

Returned results consider (inside of 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 specific search.

Id: A string-based GUID representing the URI of that specific search.

Parameters: The list of data (attributes) that such search needs in order to run a new one.

Such parameters include for each attribute:

oId: A string-based GUID of the attribute.

oName: The display name of the attribute.

oXpath: The full Xpath to that attribute (includes its name).

oType: The type of data of the attribute. For a list of possible values regarding data types in Bizagi, refer to Types of data.

Actions: The list of available actions for that such collection of My Stuff.

Such parameters include for each action:

oId: A string-based GUID of the action.

oName: The name of the action.

oDisplayName: The display name of the action.

oParameters: The list of parameters needed to trigger that 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 such search uses when displaying its results.

Such template includes sets of information having:

oName: The name of the attribute.

oXpath: The Xpath to that attribute parting from the process entity.

oType: The type of data of the attribute. For a list of possible values regarding data types in Bizagi, refer to Types of data.

 

note_pin

In addition to the above, for every set of results returned by the OData services, the successful response includes a set of standard properties which are preceded by the @ sign. Such properties are described at Properties and querying options.

 

Notice how through the @odata.id property, you can obtain that specific record's detail only, instead of a full list.

For example using:

https://[your_company].bizagi.com/[your_project]/odata/metadata/stakeholders([stakeholder_ID])/searches([GUID])

 

OData_SSearches2