Edit

(Business Central Dataverse API) Create a Dataverse entity change

Create a Dataverse entity change in Business Central.

HTTP request

Replace {environmentName} and {companyId} with the environment name and company ID.

POST https://api.businesscentral.dynamics.com/v2.0/{environmentName}/api/microsoft/dataverse/v1.0/companies({companyId})/dataverseEntityChanges

Request headers

Header Value
Authorization Bearer {token}. Required.
Content-Type application/json. Required.

Request body

In the request body, specify the logical name of the Dataverse table that changed.

{
  "entityName": "account"
}

Response

If successful, this method returns a 201 Created response code and a dataverseEntityChange object in the response body.

Example

Request

POST https://api.businesscentral.dynamics.com/v2.0/production/api/microsoft/dataverse/v1.0/companies(00aa00aa-bb11-cc22-dd33-44ee44ee44ee)/dataverseEntityChanges
Authorization: Bearer {token}
Content-Type: application/json

{
  "entityName": "account"
}

Response

HTTP/1.1 201 Created
Content-Type: application/json

{
  "id": "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
  "entityName": "account"
}

Dataverse entity change resource type
Get a Dataverse entity change
Business Central Dataverse API overview
Tips for working with the APIs