{ "opencollection": "1.0.0", "info": { "name": "Basware OAUTH2 authentication APIs AccountingDocuments Projects v1 (deprecated) API", "version": "1.0.0" }, "items": [ { "info": { "name": "Projects v1 (deprecated)", "type": "folder" }, "items": [ { "info": { "name": "Returns projects posted to Basware API.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/projects", "headers": [ { "name": "x-amz-meta-continuationtoken", "value": "e115bcee-a1d1-4be3-98b5-ddf4756c0eee" } ], "params": [ { "name": "pageSize", "value": "", "type": "query", "description": "A limit for the number of items to be returned for one request. Limit can range between 1 and 500 items." }, { "name": "companyCode", "value": "", "type": "query", "description": "Company filter. Returns items for specific company." }, { "name": "lastUpdated", "value": "", "type": "query", "description": "Date Filter. Returns items that have been updated after specified date." } ] }, "docs": "Returns projects posted to Basware API." }, { "info": { "name": "Creates new projects, fully overwrites previous record if exists.", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/projects", "headers": [ { "name": "Content-Type", "value": "application/json" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Notes: \r\n1. This /v1/projects API is deprecated and should no longer be used in new implementations. Existing implementations will keep functioning until further notice. Basware will give at least 12 month notice before decommissioning this API.\r\n2. Data from /v1/projects API is imported to P2P target table ADM_PROJECTS." }, { "info": { "name": "Deletes data from Basware API. For manual one-time operations.", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/projects", "body": { "type": "json", "data": "{}" } }, "docs": "For manual one-time operations only, such as a manual clean-up to remove test data generated during API integration development. Only removes records from API layer. \r\nDeletion in target systems needs to be done separately using the data deletion mechanisms available in each of the target system in addition to deleting the data in Basware API." }, { "info": { "name": "Returns single project by externalCode -identifier.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/projects/:externalCode", "params": [ { "name": "externalCode", "value": "", "type": "path", "description": "The ExternalCode of the entity to be fetched" } ] }, "docs": "Returns single project by externalCode -identifier." }, { "info": { "name": "Updates project. Existing data is preserved in omitted records.", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/v1/projects/:externalCode", "params": [ { "name": "externalCode", "value": "", "type": "path", "description": "The ExternalCode of the project to be updated" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates project. Existing data is preserved in omitted records." } ] } ], "bundled": true }