Add related entities to the tree
Use this query example to add the users that have been assigned a role at the community level. To reach those entities, you must retrieve the Responsibility entities that represent the assignments between a user, a role and one of the following resources:
Asset
Domain
Community
{
"ViewConfig": {
"Resources": {
"Community": {
"Id": { "name": "community id" },
"Name": { "name": "community name" },
"Responsibility": {
"User": {
"Id": { "name": "user id" },
"FirstName": { "name": "first name" },
"LastName": { "name": "last name" }
},
"Role": {
"Signifier": { "name": "role name" }
}
}
}
}
}
}---
ViewConfig:
Resources:
Community:
Id:
name: "community id"
Name:
name: "community name"
Responsibility:
User:
Id:
name: "user id"
FirstName:
name: "first name"
LastName:
name: "last name"
Role:
Signifier:
name: "role name"Navigating from one entity to another requires nesting the entities. For a complete list of properties and relations for each entity, see Entities, properties and relations.
The following is an example of how the results is formatted.
Last updated
Was this helpful?