Edit

Share via


(automation API) Create activate

Creates an activate object in Dynamics 365 Business Central.

HTTP request

Replace the URL prefix for Business Central depending on environment following the guideline.

POST https://api.businesscentral.dynamics.com/v2.0/{environment name}/api/microsoft/automation/v2.0/companies({companyId})/features({featureId})/Microsoft.NAV.activate

Request headers

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

Request body

In the request body, supply a JSON representation of an activate object with the following properties: "updateInBackground" and "startDateTime".

Response

If successful, the request typically returns a "200" response. Use the GET features request to verify that the feature state has changed.

Example

Request

Here is an example of the request.

POST https://api.businesscentral.dynamics.com/v2.0/{environment name}/api/microsoft/automation/v2.0/companies({companyId})/features({featureId})/Microsoft.NAV.activate
Authorization: Bearer {token}
{
  "updateInBackground":false,
  "startDateTime":"2025-07-08T16:00:00Z"
}

Tips for working with the APIs
Feature management
Deactivate feature