Persona's My Stuff metadata

<< Click to Display Table of Contents >>

Navigation:  Low-code Process Automation > Studio Cloud - Authoring environment > Bizagi Studio > Bizagi from external applications > Bizagi API > OData RESTful services > Bizagi API examples > Metadata services examples > Personas metadata >

Persona's My Stuff 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 collections as presented in My Stuff.

 

Resource URL

Start with the following URL:

[your_bizagi_project_url]/odata/metadata/Personas([Persona_ID])/stuff

 

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])/stuff

 

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_SMyStuff

 

Returned results include (inside the value element):

Name: The unique name of the collection of My Stuff, as defined in Bizagi Studio.

DisplayName: The default display name of the collection of My Stuff, as shown to end users in the Work portal.

@odata.id: The unique URL to access the collection of My Stuff.

Id: A string-based GUID representing the URI of the collection of My Stuff.

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

The parameters included for each action:

oId: A string-based GUID.

oName: The name.

oDisplayName: The display name.

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 a collection of My Stuff uses when displaying its summary through the template.

The template includes for each attribute:

oName: The name.

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

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

 

note_pin

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])/stuff([stuff_ID])

 

OData_SMyStuff2

 

 

You can navigate to and explore specific elements of the My Stuff collections, such as the actions available for each record of the collections.

For example, use:

[your_bizagi_project_url]/odata/metadata/Personas([Persona_ID])/stuff([stuff_ID])/actions

 

OData_MetadataActions


Last Updated 6/9/2023 3:08:16 AM