{ "opencollection": "1.0.0", "info": { "name": "Business Central Administration Center Accounts Extension Upload API", "version": "2.28" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Extension Upload", "type": "folder" }, "items": [ { "info": { "name": "Create Extension Upload Record", "type": "http" }, "http": { "method": "POST", "url": "https://api.businesscentral.dynamics.com/admin/v2.28/companies(:company_id)/extensionUpload", "params": [ { "name": "company_id", "value": "", "type": "path", "description": "The unique identifier of the company" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates an extension upload record for uploading a per-tenant extension." }, { "info": { "name": "Upload Extension File", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.businesscentral.dynamics.com/admin/v2.28/companies(:company_id)/extensionUpload(:extensionUpload_id)/extensionContent", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "company_id", "value": "", "type": "path", "description": "The unique identifier of the company" }, { "name": "extensionUpload_id", "value": "500123", "type": "path" } ] }, "docs": "Uploads the extension file content to the extension upload record." }, { "info": { "name": "Install Uploaded Extension", "type": "http" }, "http": { "method": "POST", "url": "https://api.businesscentral.dynamics.com/admin/v2.28/companies(:company_id)/extensionUpload(:extensionUpload_id)/Microsoft.NAV.upload", "params": [ { "name": "company_id", "value": "", "type": "path", "description": "The unique identifier of the company" }, { "name": "extensionUpload_id", "value": "500123", "type": "path" } ] }, "docs": "Triggers the installation of a previously uploaded per-tenant extension." } ] } ], "bundled": true }