{
  "opencollection": "1.0.0",
  "info": {
    "name": "BookingEngineApi Account notes Resource blocks API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Resource blocks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all resource blocks",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mews.com/api/connector/v1/resourceBlocks/getAll",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Returns all resource blocks (out of order blocks or internal use blocks). \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": "Add resource block",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mews.com/api/connector/v1/resourceBlocks/add",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Adds a new resource block to the specified resource for a defined period of time."
        },
        {
          "info": {
            "name": "Delete resource blocks",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mews.com/api/connector/v1/resourceBlocks/delete",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Removes specified resource blocks from the resources."
        }
      ]
    }
  ],
  "bundled": true
}