{ "opencollection": "1.0.0", "info": { "name": "Light Authorization v1 - Journal Entries API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "v1 - Journal Entries", "type": "folder" }, "items": [ { "info": { "name": "Archive journal entry", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/journal-entries/:journalEntryId/archive", "headers": [ { "name": "X-Idempotency-Key", "value": "" } ], "params": [ { "name": "journalEntryId", "value": "", "type": "path" } ] }, "docs": "Archives the given journal entry. Drafts are archived directly; posted entries are reversed and marked as archived." }, { "info": { "name": "Create journal entry", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/journal-entries", "headers": [ { "name": "X-Idempotency-Key", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new journal entry" }, { "info": { "name": "Update journal entry", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/v1/journal-entries/:journalEntryId", "headers": [ { "name": "X-Idempotency-Key", "value": "" } ], "params": [ { "name": "journalEntryId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the given draft journal entry. Only the fields present in the request body are modified; fields set explicitly to null are cleared." } ] } ], "bundled": true }