{ "opencollection": "1.0.0", "info": { "name": "Connector Account notes Services API", "version": "v1" }, "items": [ { "info": { "name": "Services", "type": "folder" }, "items": [ { "info": { "name": "Get all services", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/services/getAll", "body": { "type": "json", "data": "{}" } }, "docs": "Returns all services offered by the enterprise.\nNote 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": "Update service availability", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/services/updateAvailability", "body": { "type": "json", "data": "{}" } }, "docs": "Updates the number of available resources in [Resource category](https://mews-systems.gitbook.io/connector-api/operations/resources/#resource-category) by a certain amount (relative adjustment). Note that availabilities are defined per time unit, so when the server receives the UTC interval, it first converts it to enterprise timezone and updates the availability on all time units that the interval intersects. It's not allowed to update past availabilities outside of `EditableHistoryInterval`, f" }, { "info": { "name": "Get service availability", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/services/getAvailability", "body": { "type": "json", "data": "{}" } }, "docs": "Returns availability of a bookable service for a specified time interval including applied availability adjustments. Availability 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 cor" }, { "info": { "name": "Get service availability (ver 2024-01-22)", "type": "http" }, "http": { "method": "POST", "url": "https://api.mews.com/api/connector/v1/services/getAvailability/2024-01-22", "body": { "type": "json", "data": "{}" } }, "docs": "Returns selected availability and occupancy metrics of a bookable service for a specified time interval, similar to [the availability & occupancy report](https://help.mews.com/s/article/Availability-Occupancy-report). Availability 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 time unit for `2nd Jan`, while Interval `1st Jan 23:00 UTC - 2nd Jan 23:00 UTC` will result " } ] } ], "bundled": true }