{ "opencollection": "1.0.0", "info": { "name": "BookingEngineApi Account notes Rates API", "version": "v1" }, "items": [ { "info": { "name": "Rates", "type": "folder" }, "items": [ { "info": { "name": "Update rate capacity offset pricing", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/rates/updateCapacityOffset", "body": { "type": "json", "data": "{}" } }, "docs": "Updates capacity offset based pricing for specified rates. This operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property/)." }, { "info": { "name": "Get all rates", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/rates/getAll", "body": { "type": "json", "data": "{}" } }, "docs": "Returns all rates (pricing setups) of the default service provided by the enterprise. Note this operation uses [Pagination](https://mews-systems.gitbook.io/connector-api/guidelines/pagination/) and supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property/)." }, { "info": { "name": "Add rates", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/rates/add", "body": { "type": "json", "data": "{}" } }, "docs": "Adds rates to the enterprise. Note this operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property). Rate type of `AvailabilityBlock` cannot be created via this operation." }, { "info": { "name": "Set rates", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/rates/set", "body": { "type": "json", "data": "{}" } }, "docs": "Adds new Rates or updates existing ones if they are matched by `Id` or `ExternalIdentifier` property. This operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property/)." }, { "info": { "name": "Delete rates", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/rates/delete", "body": { "type": "json", "data": "{}" } }, "docs": "Deletes specified rates. This operation supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property/)." }, { "info": { "name": "Get rate pricing", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/rates/getPricing", "body": { "type": "json", "data": "{}" } }, "docs": "Returns prices for a given rate for a specified time interval. Prices will be returned for all service time units that the specified time interval intersects. So, for example, an interval `1st Jan 23:00 UTC - 1st Jan 23:00 UTC` will result in one price for `2nd Jan`, while Interval `1st Jan 23:00 UTC - 2nd Jan 23:00 UTC` will result in two prices for `2nd Jan` and `3rd Jan` (assuming a time unit period of \"Day\"). UTC timestamps must correspond to the start boundary of a time unit, e.g. 00:00 con" }, { "info": { "name": "Update rate price", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/rates/updatePrice", "body": { "type": "json", "data": "{}" } }, "docs": "Updates the prices for a given rate. You can make multiple price updates with one API call, and for each one specify the time interval for which the update applies, the price value and the applicable [resource category](https://mews-systems.gitbook.io/connector-api/operations/resources/#resource-category). The price will be updated for all service [time units](https://mews-systems.gitbook.io/connector-api/operations/services/#time-unit) that the specified time interval intersects. The price is p" } ] } ], "bundled": true }