nerdexam
MicrosoftMicrosoft

PL-400 · Question #221

PL-400 Question #221: Real Exam Question with Answer & Explanation

The correct answer is A: Retrieve the list of relationships between tables.. Querying relationship metadata Entity relationships can be queried using the RelationshipDefinitions entity set. You can use a query like the following to get the SchemaName property for every relationship. GET [Organization URI]/api/data/v9.0/RelationshipDefinitions?$select=Sche

Submitted by fatema_kw· Apr 18, 2026

Question

A Power Platform solution includes the following Web API call: GET You need to explain what this line of code is doing. What does the code do?

Options

  • ARetrieve the list of relationships between tables.
  • BRetrieve a list of tables that are related to each other.
  • CRetrieve a list of one-to-many relationships with other tables.
  • DRetrieve a list of tables that have more than one relationship.
  • ERetrieve a list of many-to-many relationships with other tables.

Explanation

Querying relationship metadata Entity relationships can be queried using the RelationshipDefinitions entity set. You can use a query like the following to get the SchemaName property for every relationship. GET [Organization URI]/api/data/v9.0/RelationshipDefinitions?$select=SchemaName The properties available when querying this entity set are limited to those in the RelationshipMetadataBase EntityType. Note: You can retrieve relationship metadata in the context of a given entity much in the same way that you can query attributes. The ManyToManyRelationships, ManyToOneRelationships, and OneToManyRelationships collection-valued navigation properties can be queried just like the Attributes collection-valued navigation property. However, entity relationships can also be queried using the RelationshipDefinitions entity set. https://docs.microsoft.com/en-us/power-apps/developer/data-platform/webapi/query-metadata- https://docs.microsoft.com/en-us/power-apps/developer/data- platform/webapi/reference/relationshipmetadatabase?view=dataverse-latest

Community Discussion

No community discussion yet for this question.

Full PL-400 PracticeBrowse All PL-400 Questions