{ "opencollection": "1.0.0", "info": { "name": "Microsoft Dynamics 365 Business Central Accounts General Ledger API", "version": "2.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", "accessTokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "General Ledger", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Dynamics List general ledger entries", "type": "http" }, "http": { "method": "GET", "url": "https://api.businesscentral.dynamics.com/v2.0/{tenantId}/{environment}/api/v2.0/companies(:companyId)/generalLedgerEntries", "params": [ { "name": "companyId", "value": "", "type": "path", "description": "The ID of the company." }, { "name": "$top", "value": "", "type": "query", "description": "Maximum number of records to return." }, { "name": "$skip", "value": "", "type": "query", "description": "Number of records to skip." }, { "name": "$filter", "value": "", "type": "query", "description": "OData filter expression." }, { "name": "$select", "value": "", "type": "query", "description": "Comma-separated list of properties to include." } ] }, "docs": "Returns a list of general ledger entries." }, { "info": { "name": "Microsoft Dynamics List general journal account entries", "type": "http" }, "http": { "method": "GET", "url": "https://api.businesscentral.dynamics.com/v2.0/{tenantId}/{environment}/api/v2.0/GeneralJournalAccountEntries", "params": [ { "name": "$top", "value": "", "type": "query", "description": "Maximum number of records to return (max 10000)." }, { "name": "$skip", "value": "", "type": "query", "description": "Number of records to skip." }, { "name": "$filter", "value": "", "type": "query", "description": "OData filter expression." }, { "name": "$select", "value": "", "type": "query", "description": "Comma-separated list of properties to include." }, { "name": "$orderby", "value": "", "type": "query", "description": "Comma-separated list of properties to sort by." }, { "name": "cross-company", "value": "", "type": "query", "description": "Set to true to retrieve data across all legal entities." } ] }, "docs": "Retrieves the collection of general journal account entry entities." } ] } ], "bundled": true }