{ "opencollection": "1.0.0", "info": { "name": "Basware OAUTH2 authentication APIs AccountingDocuments ExchangeRates API", "version": "1.0.0" }, "items": [ { "info": { "name": "ExchangeRates", "type": "folder" }, "items": [ { "info": { "name": "Returns exchange rates posted to Basware API.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/exchangeRates", "headers": [ { "name": "x-amz-meta-continuationtoken", "value": "f408eee3-70fb-4213-91af-7715d9319746" } ], "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 exchange rates posted to Basware API." }, { "info": { "name": "Creates new exchange rate(s), fully overwrites previous record if exists.", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/exchangeRates", "headers": [ { "name": "Content-Type", "value": "application/json" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Notes:\r\n1) Please provide exchange rates to 1) the currency used by entire organization as well as 2) to currencies used by individual companies. \r\n2) Exchange rates are inherited in P2P from top level organizations down if company-specific rates are not provided. \r\n3) Multiplying 'from' currency amount by rate needs to give amount in 'to' -currency." }, { "info": { "name": "Deletes data from Basware API. For manual one-time operations.", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/exchangeRates", "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 exchange rate -record by externalCode -identifier.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/exchangeRates/:externalCode", "params": [ { "name": "externalCode", "value": "", "type": "path", "description": "The ExternalCode of the entity to be fetched" } ] }, "docs": "Returns single exchange rate -record by externalCode -identifier." }, { "info": { "name": "Updates fields on specified exchange rate. Preserves existing values in non-updated fields.", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/v1/exchangeRates/:externalCode", "params": [ { "name": "externalCode", "value": "", "type": "path", "description": "The ExternalCode of the exchangeRate to be updated" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Note: Basware API considers 'null' value in field(s) equivalent to the field(s) not being sent. For this reason patch method does not support setting field values to 'null'." } ] } ], "bundled": true }