exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 5 question 25 discussion

Actual exam question from Microsoft's PL-400
Question #: 25
Topic #: 5
[All PL-400 Questions]

HOTSPOT -
You need to use the Dynamics 365 Sales Web API to retrieve metadata information.
How should you complete the Web API queries? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Entity: LogicalName -
Querying the EntityMetadata entity type:
GET [Organization URI]/api/data/v9.0/EntityDefinitions(LogicalName='account')

Attribute: LogicalName -
Retrieving attributes:
GET [Organization URI]/api/data/v9.0/EntityDefinitions(LogicalName='account')/Attributes(

Relationship: SchemaName -
Querying relationship metadata:
Entity relationships can also 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

Global Option Set: Name -
Querying Global OptionSets:
GET /api/data/v9.0/GlobalOptionSetDefinitions(Name='metric_goaltype')
Note: Retrieving items by name is generally easier because you probably already have some reference to the metadata item name in your code. The following table lists the alternate key properties for retrieving metadata items by name.

Reference:
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/query-metadata-web-api

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Gogs1992
Highly Voted 3 years ago
Correct
upvoted 9 times
...
RosalinoDedo
Highly Voted 3 years, 4 months ago
correct answer. https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/retrieve-metadata-name-metadataid
upvoted 6 times
oleav
1 year, 7 months ago
correct
upvoted 1 times
...
SashM
1 year, 10 months ago
Correct. Thank you
upvoted 1 times
...
...
Juan0414
Most Recent 2 months, 2 weeks ago
Correct! Entity -> LogicalName Attribute -> LogicalName Relationship -> SchemaName Global Option Set -> Name https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/query-metadata-web-api#querying-entitymetadata-attributes
upvoted 1 times
...
Says
10 months, 1 week ago
correct
upvoted 1 times
...
jkaur
1 year, 3 months ago
Correct
upvoted 1 times
...
Martin123456789
3 years, 5 months ago
hi correct answer?
upvoted 1 times
365Ginger
3 years, 4 months ago
yes it is.
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...