QuestionQ389

Develop integrations

You are building a Power Apps app to manage records in the Account table in Microsoft Dataverse.

You must configure a Web API request to retrieve changes from the table.

You need to set the preference header for the API request.

What should you include in the request header?

  • A odata.nextLink
  • B odata.context
  • C odata.deltaLink
Explanation

When synchronizing changes from a Dataverse table via the Web API, the client sends Prefer: odata.track-changes on the request. The @odata.nextLink annotation is used purely to page through the results of a single query and is unrelated to change tracking; @odata.context only identifies the response's EDM type and offers no synchronization capability. The @odata.deltaLink annotation returned once the full change-tracked result set has been retrieved is what the client persists and reuses to pull only the records that have changed since the prior call, which is the mechanism that fulfills a "retrieve changes" requirement.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!