Represents an extension upload in Dynamics 365 Business Central.
Note
For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.
Methods
Method | Return Type | Description |
---|---|---|
GET extensionUpload | extensionUpload | Gets a extension upload object. |
POST extensionUpload | extensionUpload | Creates a extension upload object. |
PATCH extensionUpload | extensionUpload | Updates a extension upload object. |
Bound Actions
The extensionUpload resource type offers a bound action called upload
which uploads the corresponding extensionUpload batch.
This is illustrated in the following example:
POST https://<server address>:<server API port>/<server instance name>/api/microsoft/automation/v2.0/companies({id})/extensionUpload({id})/Microsoft.NAV.upload
The response has no content; the response code is 204.
Properties
Property | Type | Description |
---|---|---|
systemId | GUID | The unique ID of the system. |
schedule | string | Specifies the schedule for installation. Values can be "Current version", "Next minor version", or "Next major version". |
schemaSyncMode | string | Specifies the schema sync mode for installation. Values can be "Add" or "Force Sync" |
extensionContent | stream | The content of the extension. |
JSON representation
Here is a JSON representation of the extensionUpload resource.
{
"systemId": "GUID",
"schedule": "string",
"schemaSyncMode": "string",
"extensionContent": "stream"
}
Related information
GET extensionUpload
POST extensionUpload
PATCH extensionUpload