{ "opencollection": "1.0.0", "info": { "name": "Basware OAUTH2 authentication APIs AccountingDocuments PaymentTerms API", "version": "1.0.0" }, "items": [ { "info": { "name": "PaymentTerms", "type": "folder" }, "items": [ { "info": { "name": "Returns payment terms posted to Basware API.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/paymentTerms", "headers": [ { "name": "x-amz-meta-continuationtoken", "value": "9797a921-ca15-4b40-84e0-11fe94125b47" } ], "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 payment terms posted to Basware API." }, { "info": { "name": "Creates new paymentTerm entity, fully overwrites previous record if exists.", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/paymentTerms", "headers": [ { "name": "Content-Type", "value": "application/json" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Note: Please post payment term(s) before posting vendor(s) using the payment term(s). Payment term(s) should be in P2P before posting the vendor(s)." }, { "info": { "name": "Deletes data from Basware API. For manual one-time operations.", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/paymentTerms", "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 payment term by externalCode -identifier.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/paymentTerms/:externalCode", "params": [ { "name": "externalCode", "value": "", "type": "path", "description": "The ExternalCode of the entity to be fetched" } ] }, "docs": "Returns single payment term by externalCode -identifier." }, { "info": { "name": "Updates on specified payment term. Preserves existing values in fields, which were not updated.", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/v1/paymentTerms/:externalCode", "params": [ { "name": "externalCode", "value": "", "type": "path", "description": "The ExternalCode of the payment term to be updated. To do a partial update consumer needs to provide changed properties." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates on specified payment term. Preserves existing values in fields, which were not updated." } ] } ], "bundled": true }