{ "opencollection": "1.0.0", "info": { "name": "Business Central Administration Center Accounts Users 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": "Users", "type": "folder" }, "items": [ { "info": { "name": "List Users", "type": "http" }, "http": { "method": "GET", "url": "https://api.businesscentral.dynamics.com/admin/v2.28/companies(:company_id)/users", "params": [ { "name": "company_id", "value": "", "type": "path", "description": "The unique identifier of the company" } ] }, "docs": "Returns a list of Business Central users." }, { "info": { "name": "Get a User", "type": "http" }, "http": { "method": "GET", "url": "https://api.businesscentral.dynamics.com/admin/v2.28/companies(:company_id)/users(:user_id)", "params": [ { "name": "company_id", "value": "", "type": "path", "description": "The unique identifier of the company" }, { "name": "user_id", "value": "", "type": "path", "description": "The user security ID" } ] }, "docs": "Retrieves a specific user by user security ID." }, { "info": { "name": "Update a User", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.businesscentral.dynamics.com/admin/v2.28/companies(:company_id)/users(:user_id)", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "company_id", "value": "", "type": "path", "description": "The unique identifier of the company" }, { "name": "user_id", "value": "", "type": "path", "description": "The user security ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates properties of a Business Central user." }, { "info": { "name": "Get New Users From Office 365", "type": "http" }, "http": { "method": "POST", "url": "https://api.businesscentral.dynamics.com/admin/v2.28/companies(:company_id)/users/Microsoft.NAV.getNewUsersFromOffice365", "params": [ { "name": "company_id", "value": "", "type": "path", "description": "The unique identifier of the company" } ] }, "docs": "Retrieves new users or updated user information from Office 365. Runs synchronously. Not supported with S2S authentication." }, { "info": { "name": "Get New Users From Office 365 (async)", "type": "http" }, "http": { "method": "POST", "url": "https://api.businesscentral.dynamics.com/admin/v2.28/companies(:company_id)/users/Microsoft.NAV.getNewUsersFromOffice365Async", "params": [ { "name": "company_id", "value": "", "type": "path", "description": "The unique identifier of the company" } ] }, "docs": "Schedules a background job to retrieve new users from Office 365. Returns a link to the scheduled job for tracking progress. Not supported with S2S authentication." } ] } ], "bundled": true }