Muokkaa

Jaa


(automation API) Get extensionUpload

Retrieves the properties and relationships of an extension upload object for Dynamics 365 Business Central.

HTTP request

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

GET /microsoft/automation/v2.0/companies({companyId})/extensionUpload({extensionUploadId})

Request headers

Header Value
Authorization Bearer {token}. Required.

Request body

Do not supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and an extensionUpload object in the response body.

Example

Request

Here is an example of the request.

GET https://api.businesscentral.dynamics.com/v2.0/{environment name}/api/microsoft/automation/v2.0/companies({companyId})/extensionUpload({extensionUploadId})

Response Here is an example of the response.

{
    "systemId" : "f99be650-07ce-45df-a285-3afe69a953eb",
    "schedule" : "Next major version",
    "schemaSyncMode": "Add",
    "extensionContent" : ""
}

Schedule in the body can be "Current version", "Next minor version", or "Next major version". Schema Sync Mode in the body can be "Add" or "Force Sync".

Tips for working with the APIs
extensionUpload