{ "opencollection": "1.0.0", "info": { "name": "Open API, powered by Propertyware Accounting Units API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "x-propertyware-client-id", "value": "{{x-propertyware-client-id}}", "placement": "header" } }, "items": [ { "info": { "name": "Units", "type": "folder" }, "items": [ { "info": { "name": "Retrieve all units", "type": "http" }, "http": { "method": "GET", "url": "https://api.propertyware.com/pw/api/rest/v1/units", "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 unit's vacancy status. If no value is specified, units with any status will be returned." }, { "name": "publishedForRent", "value": "", "type": "query", "description": "Filters results by the unit's \"published for rent\" status. If no value is specified, units with any status will be returned." }, { "name": "portfolioID", "value": "", "type": "query", "description": "Filters results to units associated with a specific portfolio." }, { "name": "buildingID", "value": "", "type": "query", "description": "Filters results to units associated with a specific building." }, { "name": "type", "value": "", "type": "query", "description": "Filters results to units with a specific type." }, { "name": "includeDeactivated", "value": "", "type": "query", "description": "Include inactive units in the results." }, { "name": "includeCustomFields", "value": "", "type": "query", "description": "includeCustomFields" } ] }, "docs": "Retrieves a list of units.

Required permission:
UNITS - Read\n

Sortable by: createddate, idnumber, name, abbreviation, lastmodifieddatetime, id" }, { "info": { "name": "Create a unit", "type": "http" }, "http": { "method": "POST", "url": "https://api.propertyware.com/pw/api/rest/v1/units", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a unit.

Required permission:
UNITS - Write\n" }, { "info": { "name": "Create units in bulk", "type": "http" }, "http": { "method": "POST", "url": "https://api.propertyware.com/pw/api/rest/v1/units/bulk", "body": { "type": "json", "data": "{}" } }, "docs": "Creates units in bulk.

Required permission:
BUILDINGS - Write\n" }, { "info": { "name": "Update a unit custom fields (BETA)", "type": "http" }, "http": { "method": "PUT", "url": "https://api.propertyware.com/pw/api/rest/v1/units/customfields", "body": { "type": "json", "data": "{}" } }, "docs": "

Note: 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.

\nUpdates an existing unit custom fields

Required permission:
UNITS - Write\n" }, { "info": { "name": "Retrieve a unit", "type": "http" }, "http": { "method": "GET", "url": "https://api.propertyware.com/pw/api/rest/v1/units/:unitID", "params": [ { "name": "unitID", "value": "", "type": "path", "description": "Unit ID" }, { "name": "includeCustomFields", "value": "", "type": "query", "description": "includeCustomFields" } ] }, "docs": "Retrieves a specific unit.

Required permission:
UNITS - Read\n" }, { "info": { "name": "Update a unit", "type": "http" }, "http": { "method": "PUT", "url": "https://api.propertyware.com/pw/api/rest/v1/units/:unitID", "params": [ { "name": "unitID", "value": "", "type": "path", "description": "Unit ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update as unit.

Required permission:
UNITS - Write\n" }, { "info": { "name": "Delete a unit (BETA)", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.propertyware.com/pw/api/rest/v1/units/:unitID", "params": [ { "name": "unitID", "value": "", "type": "path", "description": "Unit ID" } ] }, "docs": "

Note: 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.

\nDeletes a specific unit.

Required permission:
UNITS - Delete\n" }, { "info": { "name": "Retrieve all unit conversations", "type": "http" }, "http": { "method": "GET", "url": "https://api.propertyware.com/pw/api/rest/v1/units/:unitID/conversations", "params": [ { "name": "unitID", "value": "", "type": "path", "description": "Unit 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 unit.

Required permission:
UNITS - Read\n

Sortable by: createddate, lastmodifieddatetime, id" }, { "info": { "name": "Retrieve a unit conversation", "type": "http" }, "http": { "method": "GET", "url": "https://api.propertyware.com/pw/api/rest/v1/units/:unitID/conversations/:conversationID", "params": [ { "name": "unitID", "value": "", "type": "path", "description": "Unit ID" }, { "name": "conversationID", "value": "", "type": "path", "description": "Conversation ID" } ] }, "docs": "Retrieves a specific unit conversation.

Required permission:
UNITS - Read\n" }, { "info": { "name": "Delete a unit conversation (BETA)", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.propertyware.com/pw/api/rest/v1/units/:unitID/conversations/:conversationID", "params": [ { "name": "unitID", "value": "", "type": "path", "description": "Unit ID" }, { "name": "conversationID", "value": "", "type": "path", "description": "Conversation ID" } ] }, "docs": "

Note: 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.

\nDeletes a specific unit conversation.

Required permission:
UNITS - Delete\n" }, { "info": { "name": "Retrieve all unit custom fields", "type": "http" }, "http": { "method": "GET", "url": "https://api.propertyware.com/pw/api/rest/v1/units/:unitID/customFields", "params": [ { "name": "unitID", "value": "", "type": "path", "description": "Unit ID" } ] }, "docs": "Retrieves all the custom fields of a unit.

Required permission:
UNITS - Read\n" } ] } ], "bundled": true }