{
  "opencollection": "1.0.0",
  "info": {
    "name": "Open API, powered by Propertyware Accounting Buildings API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-propertyware-client-id",
      "value": "{{x-propertyware-client-id}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Buildings",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve all buildings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.propertyware.com/pw/api/rest/v1/buildings",
            "params": [
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "`offset` indicates the position of the first record to return. The offset is zero-based and the default is 0."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "`limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 500 and the default is 100."
              },
              {
                "name": "lastModifiedDateTimeStart",
                "value": "",
                "type": "query",
                "description": "Filters results to any item modified on or after the date time specified. "
              },
              {
                "name": "lastModifiedDateTimeEnd",
                "value": "",
                "type": "query",
                "description": "Filters results to any item modified on or prior to the date time specified. "
              },
              {
                "name": "orderby",
                "value": "",
                "type": "query",
                "description": "Indicates the field(s) and direction to sort the results in the response."
              },
              {
                "name": "vacant",
                "value": "",
                "type": "query",
                "description": "Filters results by the building's vacancy status. If no value is specified, buildings with any status will be returned."
              },
              {
                "name": "publishedForRent",
                "value": "",
                "type": "query",
                "description": "Filters results by the building's \"published for rent\" status. If no value is specified, buildings with any status will be returned."
              },
              {
                "name": "leaseID",
                "value": "",
                "type": "query",
                "description": "Filters results to buildings associated with a specific lease."
              },
              {
                "name": "portfolioID",
                "value": "",
                "type": "query",
                "description": "Filters results to buildings associated with a specific portfolio."
              },
              {
                "name": "includeDeactivated",
                "value": "",
                "type": "query",
                "description": "Filters results to buildings with a deactivated records."
              },
              {
                "name": "includeCustomFields",
                "value": "",
                "type": "query",
                "description": "Include custom fields in the response."
              }
            ]
          },
          "docs": "Retrieves a list of buildings.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">BUILDINGS</span> - <code>Read</code>\n<br/><br/><b>Sortable by:</b> <code>createddate</code>, <code>idnumber</code>, <code>name</code>, <code>abbreviation</code>, <code>lastmodifieddatetime</code>, <code>id</code>"
        },
        {
          "info": {
            "name": "Create a building",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.propertyware.com/pw/api/rest/v1/buildings",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a building.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">BUILDINGS</span> - <code>Write</code>\n"
        },
        {
          "info": {
            "name": "Create buildings in bulk",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.propertyware.com/pw/api/rest/v1/buildings/bulk",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates buildings in bulk.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">BUILDINGS</span> - <code>Write</code>\n"
        },
        {
          "info": {
            "name": "Update a building custom fields (BETA)",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.propertyware.com/pw/api/rest/v1/buildings/customfields",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "<p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p>\nUpdates an existing building custom fields<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">BUILDINGS</span> - <code>Write</code>\n"
        },
        {
          "info": {
            "name": "Retrieve a building",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.propertyware.com/pw/api/rest/v1/buildings/:buildingID",
            "params": [
              {
                "name": "buildingID",
                "value": "",
                "type": "path",
                "description": "Building ID"
              },
              {
                "name": "includeCustomFields",
                "value": "",
                "type": "query",
                "description": "Include custom fields in the response."
              }
            ]
          },
          "docs": "Retrieves a specific building.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">BUILDINGS</span> - <code>Read</code>\n"
        },
        {
          "info": {
            "name": "Update a building",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.propertyware.com/pw/api/rest/v1/buildings/:buildingID",
            "params": [
              {
                "name": "buildingID",
                "value": "",
                "type": "path",
                "description": "Building ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a building.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">BUILDINGS</span> - <code>Write</code>\n"
        },
        {
          "info": {
            "name": "Delete a building (BETA)",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.propertyware.com/pw/api/rest/v1/buildings/:buildingID",
            "params": [
              {
                "name": "buildingID",
                "value": "",
                "type": "path",
                "description": "Building ID"
              }
            ]
          },
          "docs": "<p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p>\nDelete a building.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">BUILDINGS</span> - <code>Delete</code>\n"
        },
        {
          "info": {
            "name": "Retrieve all building conversations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.propertyware.com/pw/api/rest/v1/buildings/:buildingID/conversations",
            "params": [
              {
                "name": "buildingID",
                "value": "",
                "type": "path",
                "description": "Building ID"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "`offset` indicates the position of the first record to return. The offset is zero-based and the default is 0."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "`limit` indicates the maximum number of results to be returned in the response. `limit` can range between 1 and 500 and the default is 100."
              },
              {
                "name": "lastModifiedDateTimeStart",
                "value": "",
                "type": "query",
                "description": "Filters results to any item modified on or after the date time specified. "
              },
              {
                "name": "lastModifiedDateTimeEnd",
                "value": "",
                "type": "query",
                "description": "Filters results to any item modified on or prior to the date time specified. "
              },
              {
                "name": "orderby",
                "value": "",
                "type": "query",
                "description": "Indicates the field(s) and direction to sort the results in the response."
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Filters results by the conversation type."
              }
            ]
          },
          "docs": "Retrieves all the conversations of a building.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">BUILDINGS</span> - <code>Read</code>\n<br/><br/><b>Sortable by:</b> <code>createddate</code>, <code>lastmodifieddatetime</code>, <code>id</code>"
        },
        {
          "info": {
            "name": "Retrieve a building conversation",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.propertyware.com/pw/api/rest/v1/buildings/:buildingID/conversations/:conversationID",
            "params": [
              {
                "name": "buildingID",
                "value": "",
                "type": "path",
                "description": "Building ID"
              },
              {
                "name": "conversationID",
                "value": "",
                "type": "path",
                "description": "Conversation ID"
              }
            ]
          },
          "docs": "Retrieves a specific building conversation.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">BUILDINGS</span> - <code>Read</code>\n"
        },
        {
          "info": {
            "name": "Delete a building conversation (BETA)",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.propertyware.com/pw/api/rest/v1/buildings/:buildingID/conversations/:conversationID",
            "params": [
              {
                "name": "buildingID",
                "value": "",
                "type": "path",
                "description": "Building ID"
              },
              {
                "name": "conversationID",
                "value": "",
                "type": "path",
                "description": "Conversation ID"
              }
            ]
          },
          "docs": "<p class=\"betaError\"><b>Note: </b>Write access is only available to customers who have opted in to our beta program. Please reach out to support if you'd like to be included.</p>\nDeletes a specific building conversation.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">BUILDINGS</span> - <code>Delete</code>\n"
        },
        {
          "info": {
            "name": "Retrieves all the management fee rules of a building. (BETA)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.propertyware.com/pw/api/rest/v1/buildings/:buildingID/managementfees",
            "params": [
              {
                "name": "buildingID",
                "value": "",
                "type": "path",
                "description": "Building ID"
              }
            ]
          },
          "docs": "<p class=\"betaWarning\"><b>Note: </b>This operation is still in beta and might be subject to breaking changes. Production integrations should be avoided at this stage.</p>\nRetrieves all the management fee rules of a building.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">BUILDINGS</span> - <code>Read</code>\n"
        },
        {
          "info": {
            "name": "Retrieves all the property managers of a building",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.propertyware.com/pw/api/rest/v1/buildings/:buildingID/managers",
            "params": [
              {
                "name": "buildingID",
                "value": "",
                "type": "path",
                "description": "Building ID"
              }
            ]
          },
          "docs": "Retrieves all the property managers of a building.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">BUILDINGS</span> - <code>Read</code>\n"
        },
        {
          "info": {
            "name": "Retrieves all the notes of a building.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.propertyware.com/pw/api/rest/v1/buildings/:buildingID/notes",
            "params": [
              {
                "name": "buildingID",
                "value": "",
                "type": "path",
                "description": "Building ID"
              }
            ]
          },
          "docs": "Retrieves all the notes of a building.<br/><br/><b>Required permission:</b><br/><span class=\"permissionBlock\">BUILDINGS</span> - <code>Read</code>\n"
        }
      ]
    }
  ],
  "bundled": true
}