{ "opencollection": "1.0.0", "info": { "name": "Business Central Administration Center Accounts Journals 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": "Journals", "type": "folder" }, "items": [ { "info": { "name": "List Journals", "type": "http" }, "http": { "method": "GET", "url": "https://api.businesscentral.dynamics.com/admin/v2.28/companies(:company_id)/journals", "params": [ { "name": "company_id", "value": "", "type": "path", "description": "The unique identifier of the company" }, { "name": "$top", "value": "", "type": "query", "description": "Maximum number of items to return" }, { "name": "$skip", "value": "", "type": "query", "description": "Number of items to skip" }, { "name": "$filter", "value": "", "type": "query", "description": "OData filter expression" }, { "name": "$select", "value": "", "type": "query", "description": "Comma-separated list of properties to include in the response" } ] }, "docs": "Returns a list of journal objects." }, { "info": { "name": "Create a Journal", "type": "http" }, "http": { "method": "POST", "url": "https://api.businesscentral.dynamics.com/admin/v2.28/companies(:company_id)/journals", "params": [ { "name": "company_id", "value": "", "type": "path", "description": "The unique identifier of the company" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new journal in the specified company." }, { "info": { "name": "List Journal Lines", "type": "http" }, "http": { "method": "GET", "url": "https://api.businesscentral.dynamics.com/admin/v2.28/companies(:company_id)/journals(:journal_id)/journalLines", "params": [ { "name": "company_id", "value": "", "type": "path", "description": "The unique identifier of the company" }, { "name": "journal_id", "value": "500123", "type": "path" }, { "name": "$top", "value": "", "type": "query", "description": "Maximum number of items to return" }, { "name": "$skip", "value": "", "type": "query", "description": "Number of items to skip" }, { "name": "$filter", "value": "", "type": "query", "description": "OData filter expression" }, { "name": "$select", "value": "", "type": "query", "description": "Comma-separated list of properties to include in the response" } ] }, "docs": "Returns a list of journal line objects for a specific journal." } ] } ], "bundled": true }