QuestionQ106

Develop integrations

You are developing code that integrates a system with Dataverse by using the Web API.

The code must perform these operations:

  • Upsert to create and update records
  • Upsert only to create new records

Complete the requests with the required headers. Each header can be used once, more than once, or not at all.

Drag & Drop
If-Match: *
If-None-Match: *
If-None-Match: null
Upsert to create and update records
Upsert only to create new records
Explanation

For Dataverse Web API PATCH requests, If-None-Match: null permits normal upsert behavior: a matching row is updated and an absent row is created. If-None-Match: * prevents an update when the row already exists, making the request create-only. If-Match: * instead prevents creation and is used for update-only behavior.

Learn more

Community Discussion

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