openapi: 3.0.0 info: description: "\uFEFF\r\n\r\n# Introduction\r\n\r\nWelcome to Propertyware’s API—a powerful, RESTful programming interface that lets you leverage valuable Propertyware data.\r\n\r\n## Account Configuration\r\nBefore you can use Propertyware’s API, you’ll need to make some tweaks to your account settings. \r\n\r\n
\r\n\r\n### Enabling the API \r\nIn order to start creating your keys and making requests, you’ll need to enable the API.\r\n\r\n> **Tip:** You’ll need an administrator user role with access to ***Administration Setup > API Keys*** to set things up properly. \r\n\r\n**Let's Begin!** \r\n\r\n1. Sign in to your [Propertyware](https://app.propertyware.com/pw/login.jsp) account from your browser. \r\n\r\n2. Open the ***Setup*** page\r\n\r\n3. On the left navigation bar, expand ***Administration Setup*** and then click ***API Keys***. \r\n\r\nIf you are having issues accessing the API keys page within your account you can submit a [Support](#section/API-Overview/Support) request for assistance.\r\n\r\n## API Keys\r\nAccount-level API keys authenticate every request and keep things secure. \r\n\r\nAPI keys have two components: a “client ID” and a “secret”.\r\n\r\n* **Client IDs** are similar to usernames. They’re used to identify your Propertyware API key and are safe to share.\r\n* **Secrets** are similar to passwords. They must be kept confidential. \r\n\r\nWhenever you make a request, you’ll need the API key’s client ID and secret. If you forget it, make a mistake, or try to use information that’s linked to a deleted key, the API will return a `401` response code.\r\n\r\n> **Tip:** We compiled a list of best practices that detail how securely store API keys. [Give it a read](#section/Getting-Started/Keeping-API-Keys-Safe)!\r\n\r\n## Creating API Keys \r\n\r\nNow that the Open API is enabled, you’ll be able to create API keys. You’re almost there!\r\n\r\n**How to create an API key** \r\n\r\n1. On the API Keys page, click ***Create API Key***. A modal will appear.\r\n\r\n

\r\n \r\n

\r\n\r\n

\r\n \r\n

\r\n\r\n2. Enter a clear, memorable name and description for your API key. It’ll make it easier to locate the right key when you make a request.\r\n\r\n3. Now, choose which pieces of Propertyware data you want this API key to have access to by selecting the corresponding radio buttons. Once finished, click **GENERATE KEY**.\r\n\r\n4. You have successfully created an API key! The client id and secret associated to this key will be presented. \r\n\r\n

\r\n \r\n

\r\n\r\n> **Important:** This is your only chance to record the secret. Make sure it’s stored somewhere secure! If it’s forgotten, you’ll need to delete this key and start from scratch.\r\n\r\n\r\nYou have now successfully created an API key and have everything you need to send requests to the Propertyware API! \r\n\r\nBefore moving on to [making your first request](#section/Getting-Started/How-to-Make-a-Request) please review [Keeping API Keys Safe](#section/Getting-Started/Keeping-API-Keys-Safe) for an overview on securely storing your API keys. \r\n
\r\nIf you are having issues creating API keys you can submit a [Support](#section/API-Overview/Support) request for assistance.\r\n\r\n## Keeping API Keys Safe\r\n\r\nBased on their permissions, API keys could have full access to your account’s Propertyware data. It’s important that you only grant access to trusted applications, securely record secrets, and consider a password manager to stay organized.\r\n\r\n### Recommended Practices\r\n\r\n- Avoid hard-coding client IDs and secrets inside source files.\r\n- Avoid storing client IDs and secrets in any files that may be committed to source control, particularly cloud-based source control platforms.\r\n- Apply restrictions to client IDs and secrets shared with your staff. You can restrict a key to particular Propertyware entities or to read-only access (GET resources only).\r\n- Avoid sharing client IDs and secrets across public, insecure platforms.\r\n- Establish a process to regularly recreate your client IDs and secrets from your Propertyware account.\r\n
\r\n
\r\n\r\n## How to Make a Request \r\n\r\nYou’ve done a great job setting up your account, Now, we’ll walk you through how to access your data. It’s very straightforward and should only take a few minutes!\r\n\r\n> **Tip:** Looking for the right HTTP client? If you’re just getting started, we recommend Postman. \r\n\r\n### Let's Get Started!\r\n\r\n#### Step 1: Get Your API Key\r\n\r\nIf you haven't yet done so, obtain your API key client ID and secret from your Propertyware account. Your API key is how the Propertyware API authenticates requests and ensures only you can access your data.\r\n\r\n#### Step 2: Install a HTTP client\r\n\r\nThe Propertyware API supports any standard HTTP client. If you're looking for a user-friendly HTTP client application, we recommend [Postman](https://www.postman.com/product/api-client) – it allows you to access the Propertyware API without writing code. We’ll use Postman for our example below to demonstrate sending an API request.\r\n\r\n#### Step 3: Make a Sample Request\r\n\r\nLet's dive in and make a simple request to get all the [Buildings](#operation/getBuildingsUsingGET) in your account. This will confirm your connectivity to our platform and validate the keys you created on our website. Simply follow the instructions below.\r\n\r\n1. Open the Postman application. \r\n2. Open the *verb* menu and select **GET**.\r\n3. Enter the request endpoint in the field next to GET. \r\n - Here’s the endpoint to get all buildings: https://api.propertyware.com/pw/api/rest/v1/buildings.\r\n4. To authenticate the request, enter your `client ID`, your `secret` and your `organization iD` respectively in these request headers: \r\n - `x-propertyware-client-id`\r\n - `x-propertyware-client-secret`\r\n - `x-propertyware-system-id` _(organization id)_\r\n\r\nThe organization id uniquely identifies your Propertyware account and is an additional measure to enforce proper access to the correct data. ___Your client id and secret pair will only work with the organization it belongs to___.\r\n\r\nYour full request should look similar to the image below.\r\n\r\n\r\n5. Review the parameters of your request on last time. Once finished, click **Send**.\r\n\r\n6. If successful, you should see a JSON response and a `200` HTTP status code. Congratulations! You've connected to the Propertyware API.\r\n\r\nYou now have the knowledge required to make requests for any of our resources.\r\n\r\nIf you've received an error response please review the JSON response message for a description of how to resolve the issue. You can also see more information about HTTP status codes in the [Response Codes](#section/API-Overview/Response-Codes) section. If you are still having trouble making a request after reviewing these sections please submit a [Support](#section/API-Overview/Support) request.\r\n\r\n# API Overview\r\nThe Propertyware API is built upon standard REST conventions. It's designed to use consistent resource-oriented URLs, accept and return JSON-encoded messages, and use standard HTTP status codes and verbs.\r\n\r\n## Base URL\r\nThe base URL for production environment API requests is: `https://api.propertyware.com/pw/api/v1/rest`\r\n\r\nIn order to ensure all requests and responses are secure between the API consumer and Propertyware servers, requests must be made using the `https` protocol. Any requests not made with the `https` protocol will be refused by the Propertyware API platform. \r\n\r\n> **Note:** URL paths are case-sensitive to stay consistent with common REST standards. If your request doesn’t align with the documented URL path, you’ll receive a `404` response code reminding you of this constraint.\r\n\r\n## API Versioning\r\nThe Propertyware API is version controlled. Versioning ensures backwards-incompatible changes to the API don’t impact any existing integrations.\r\n\r\nPropertyware uses only a major version nomenclature to manage changes. The current version of the Propertyware API is version 1. By specifying a version in the resource request URL, you'll get expected responses regardless of future changes to the API. Here's an example of calling version 1 of the retrieve all leases resource:\r\n\r\n`https://api.propertyware.com/pw/api/rest/v1/leases`\r\n\r\nAny request submitted without the version in the URL path will result in a `404` error response code. \r\n\r\n### Releasing Changes to the API\r\nThe Propertyware API will continue to evolve to ensure it meets the needs of our customers. Changes will be defined as either backwards-compatible or backwards-incompatible. \r\n\r\nWe’ll provide advance notice for all API releases–regardless of the type of modifications being made. \r\n\r\n#### Backward-compatible Changes\r\nBackward-compatible changes are modifications to the API that shouldn't impact existing integrations. They'll apply to the current version of the API. Simply put: you won’t need to change the version to consume new changes like these. \r\n\r\nIt's important as you develop against the Propertyware API that you ensure these types of changes don't impact your integration. Here's are examples of backward-compatible modifications. \r\n\r\n* Adding new API resources and/or endpoints.\r\n* Adding new optional request parameters to existing API methods.\r\n* Adding new properties to existing API responses and non-required properties for request messages.\r\n* Changing property order in existing API responses.\r\n\r\nAll backward-compatible changes to the API will be documented in the [Changelog](#section/Changelog).\r\n\r\n#### Backwards-incompatible Changes\r\n\r\nWhen backwards-incompatible changes to the API occur, a new version of the API will be released. You’ll need to update the URL path to consume resources under the new API version. \r\n\r\nBackwards-incompatible changes include:\r\n\r\n* Removing a property from a request and/or response message.\r\n* Changing the name of a property in a message.\r\n* Adding a required parameter to a request message.\r\n* Changing existing enumeration values.\r\n\r\nNew versions of the API will have full reference documentation and an upgrade guide. \r\n\r\n## Authentication\r\n\r\nThe Propertyware API uses API key’s client IDs and secrets to authenticate requests. \r\n\r\nAn organization ID, an API key client ID and secret must be passed in every request header using the following parameters: \r\n\r\n- `x-propertyware-client-id`\r\n- `x-propertyware-client-secret`\r\n- `x-propertyware-system-id`\r\n\r\nFailing to provide both of them in the request header will cause the API to return a `401` HTTP status code.\r\n\r\n\r\n## Bulk Request Options\r\nAll top-level API resources support bulk fetches. For instance, you can retrieve all [Portfolios](#operation/getPortfoliosUsingGET). These resources also allow for filtering criteria. Each resource has descriptions of the filter criteria available.\r\n\r\nIn addition to filtering, our API gives you the ability to control the returned data’s pagination and the sort order. \r\n\r\n### Pagination\r\nEndpoints that return result sets allow for pagination using `limit` and `offset` request parameters to reduce the amount of data returned.\r\n\r\nThe `limit` request parameter will cap the number of results that come back in the response. If you don't specify a `limit` value, a **default of 100 results** are returned. The maximum `limit` value is 500. If a `limit` value is specified greater than 500, it will be overridden to the default to 500. \r\n\r\nThe `offset` request parameter indicates the record position within the resultset to start at when returning the results. The `offset` is zero-based and is inclusive. If no `offset` value is submitted it will default to 0. \r\n\r\n\r\nThe total resultset count is returned in the HTTP Header `X-Total-Count`\r\n\r\n\r\n#### Pagination Example\r\n\r\nAs an example, let's say we make a request to retrieve all rental properties with no paging parameters. Our response indicates in the `X-Total-Count` header that there are 150 total rental properties. We want to get only the last 50 results so we would submit a request with the `offset` set to 100 and the `limit` set to 50.\r\n\r\n> **Note:** The `limit` and `offset` parameter names are case-sensitive. If they aren't formatted correctly, the API will return a `404` HTTP status code.\r\n\r\n### Sorting Results\r\n\r\nYou can specify the sort order of returned data by assigning properties from the returned object to the `orderby` parameter in the querystring. For example:\r\n```\r\norderby=name\r\n```\r\nBy default, the sort is performed in ascending order. To specify sort order, use \"asc\" for ascending or \"desc\" for descending. For example:\r\n```\r\norderby=name desc\r\n```\r\nAdditionally, you can sort by multiple properties by comma separating the properties. For example:\r\n```\r\norderby=abbreviation asc,name desc\r\n```\r\n\r\n> **Note:** While the `orderby` parameter is case-sensitive, the properties specified in the `orderby` value aren't. \r\n\r\n## Response Codes\r\nThe Propertyware API supports standard HTTP status codes.\r\n\r\n|Response Code |Description |\r\n|--|--|\r\n|200 OK | Everything worked as expected. |\r\n|400 Bad Request | The request was unacceptable, often due to missing a required parameter.|\r\n|401 Unauthorized|The API client ID and secret weren’t provided or they’re no longer valid. Be sure that the client ID and secret combination are correct and they are still active.|\r\n|403 Forbidden|The API key doesn't have permission to perform the request. This could be due to authorization for the given endpoint or an inability to access given entities within the platform (e.g. properties).\r\n|404 Not Found|The requested resource doesn't exist.|\r\n|415 Unsupported Media Type |Ensure you have the appropriate content-type header value set on your request. Each resource is documented with media type(s) that are accepted.|\r\n|429 Too Many Requests |Too many requests against the API too quickly. We recommend an exponential backoff of your requests.|\r\n|500 and above - Server Errors|Something went wrong on Propertyware's end. Review the JSON response message for more details about the error.|\r\n\r\n## API Date Format\r\n* For all request and response date fields allowing ISO date format: YYYY-MM-DD (e.g.2019-08-24).\r\n* For all request and response dateAndTime fields format is allowing: YYYY-MM-dd'T'HH:mm:ssXXX (e.g.2022-06-28T08:47:13Z).\r\n\r\n## Support\r\nIf you are unable to resolve your issue after reviewing the API documentation our support team can assist you.\r\n\r\n# Changelog\r\n\r\n### 2024-12-11\r\n\r\n* New API introduced to add comments to existing task in workorder.
\r\n URL : /workorders//{workOrderId}/tasks/{taskId}/comments (POST)
\r\n Access Permissions : WorkOrder - Write\r\n* New fields \"baseYear\",\"baseYearOperatingExpenses\",\"baseYearPropertyInsurance\",\"baseYearPropertyTaxes\" are added to Building request/response for Below End Points
\r\n * Get Building (Get - /buildings/{buildingID})\r\n * Create Building (Post - /buildings)\r\n * Update Building (Put - /buildings/{buildingID})\r\n * Get All Buildings (Get - /buildings)\r\n* New fields \"syndicate\" ,\"moveInDays\", \"featuredForRent\" are added to Building request/response for Below End Points
\r\n * Create Building (Post - /buildings)\r\n * moveInDays field must be with in these days given here \"1 to 30,45,60,75,90\" added validation.\r\n\r\n\r\n\r\n\r\n### 2024-11-13\r\n* New fields \"reasonForLeaving\",\"noticeGivenDate\",\"paymentRestriction\" is added to response of
\r\n (1) Create a Lease - POST /leases
\r\n (2) Update a Lease - GET /leases/{leaseID}\r\n* New field \"chargeAmountPaid\" is added to lease charges payments entity. indicates the amount paid for current charge.
\r\n (1) Get a Lease - GET /leases/charges (charge.payments.chargeAmountPaid)
\r\n\r\n### 2024-09-25\r\n* New API introduced to close existing workorder.
\r\n URL : /workorders/closeworkorder/{workorderID} (PUT)
\r\n Access Permissions : WorkOrder - Write\r\n* A new fields \"managementContractStartDate\" and \"managementContractEndDate\" are added to update Building request/response for below end points\r\n * Update Building ( PUT - buildings/{buildingID} ) \r\n \r\n### 2024-09-11\r\n* A new field \"unitIDs\"(Unit ID list associated to a Work Order) is added to response of
\r\n (1) Retrieve a Work Order - GET /workorders/{workorderID}
\r\n (2) Retrieve All Work Orders - GET /workorders\r\n\r\n### 2024-06-09\r\n* A new field \"unitID\" is added to response of
\r\n (1) Retrieve a Work Order - GET /workorders/{workorderID}
\r\n (2) Retrieve All Work Orders - GET /workorders\r\n* Building and Unit targetDeposit data type changed from double to String and the impacted end points are all POST/GET/PUT. \r\n\r\n### 2024-05-22\r\n* API documentation is corrected to show 'file' field in request body for 'Upload a Document' API.\r\n\r\n### 2024-05-12\r\n* A new filed \"arBalance\" is added to Lease response for below end points\r\n * Retrieve a lease ( GET - /leases/{leaseID} - set query parameter \"includeOtherBalances = true\" to include lease arBalance)\r\n * Retrieve all leases ( GET - /leases )\r\n * Create a lease (POST - /leases)\r\n * Update a lease (PUT - /leases/{leaseID})\r\n\r\n### 2024-04-23\r\n* Beta has been removed to facilitate Update an owner draw ( PUT - /accounting/ownerdraws/{drawID} )\r\n\r\n### 2024-04-10\r\n\r\n* Beta has been removed to facilitate Update a Credit ( PUT - /bills/credit/{creditID} )\r\n* Beta has been removed to facilitate Update a Bill ( PUT - /bills/{billId} )\r\n* Beta has been removed to facilitate Create word orders in bulk. ( POST - /workorders/bulk )\r\n* A new field \"amount\" is added to Bill response for below end points\r\n * Retrieve a bill ( GET - /bills/{billID} )\r\n * Retrieve all bills ( GET - /bills/ )\r\n * Create a Bill ( POST - /bills/ )\r\n * Update Bill ( PUT - /bills/{billId} )\r\n * Create a Credit ( POST - /bills/credit )\r\n * Update a Credit ( PUT - /bills/credit/{creditID} )\r\n* Update a Contact ( PUT - /contacts/{contactID} ) is allowed to update any Contact Type\r\n* A new field \"managementFeesType\" is added to CREATE building(POST), UPDATE building(PUT), GET buildings(GET) end points. Existing \"managementFeeType\" is deprecated and should not be used.\r\n* Few fields from CREATE building are not updating with a POST request. Resolved the issue and impacted fields are targetDeposit, targetRentUnits.\r\n* Few fields from UPDATE building are not updating with a PUT request. Resolved the issue and impacted fields are numberOfBathrooms, numberOfBedRooms, targetRent, targetDeposit, targetRentUnits, marketingName, managementFlatFee, managementFeeType, petsAllowed, postingTitle, shortDescription, yearBuilt.\r\n* The 'account' field has been removed, and the data type for the 'dueDay' field has been changed \r\nfrom String to Integer in the response for the ( POST - /leases/autocharges ) endpoint.\r\n* Fixed the issue - date field value getting saved as today date for Create Lease Charge, Update Lease Charge, Create Bulk Charges, Create a Lease Payment, Update a Lease Payment, Create a Lease Refund APs.\r\n* Work order id validation is implemented for Create Bill, Update Bill, Create Credit, Update Credit APIs.\r\n\r\n### 2024-03-24\r\n\r\n* New API introduced to update existing workorder custom fields.
\r\n URL : /workorders/customfields (PUT)
\r\n Access Permissions : WorkOrder - Write\r\n* A new field \"role\" is added to GET lease contacts end point (/leases/{leaseID}/contacts) \r\n* A new field \"role\" is added to \"contact\" in GET lease end point (/leases/{leaseID})\r\n* A new field \"role\" is added to \"contact\" in GET All leases end point (/leases)\r\n\r\n### 2024-03-11\r\n\r\n* New API introduced to update existing contact custom fields.
\r\n URL : /contacts/customfields (PUT)
\r\n Access Permissions : Contacts - Write\r\n* Beta has been removed to facilitate create a bank deposit, create an owner contribution, create an owner draw requests.\r\n* New API introduced to update existing portfolio custom fields.
\r\n URL : /portfolios/customfields (PUT)
\r\n Access Permissions : Portfolio - Write\r\n* New API introduced to update existing vendor custom fields.
\r\n URL : /vendors/customfields (PUT)
\r\n Access Permissions : Vendor - Write\r\n* Beta has been removed to facilitate 'Create a bill', 'Create bills in bulk', 'Create a credit' Rest API's.\r\n\r\n### 2024-02-25\r\n* Beta has been removed to facilitate 'Retrieve all bills','Retrieve all bill payments','Retrieve a bill payment','Retrieve all vendor checks' and 'Retrieve a bill'.\r\n* Create/update/Retrieve VendorCheck endpoint change from bills/vendorChecks to bills/vendorChecks.\r\n* A new API has been introduced to enable adding multiple automatic charges to leases.\r\n
URL : /leases/autocharges (POST)\r\n* General ledger GET end point('/accounting/generalledger') is updated to filter only 7 days duration of transactions earlier it is 30 days.\r\n* New field added \"referenceNumber\" in \"rentAutoCharge\" of create lease request.\r\n* New API introduced to update unit custom fields\r\n
URL : /units/customfields (PUT)\r\n
Access Permissions : Unit - Write\r\n\r\n* New API introduced to update building custom fields\r\n
URL : /buildings/customfields (PUT)\r\n
Access Permissions : Building - Write\r\n\r\n### 2024-02-11\r\n\r\n* Beta has been removed to facilitate Retrieves a list of owner draws,Retrieves a list of owner contributions,Retrieves a list of general ledger accounts and Retrieves a general ledger account.\r\n* New filed \"description\" is added in General ledger account(accounting/glaccounts - GET & accounting/glaccounts/{glAccountID} - GET) endpoint response.\r\n* New field \"specificLocation\" is added in Workorder create/update request.\r\n* New field \"requiredMaterials\" is added in Workorder create/update request.\r\n* New field \"publishToTenantPortal\" is added in Workorder create/update request.\r\n* New field \"publishToOwnerPortal\" is added in Workorder create/update request.\r\n* New field \"publishToTenantPortal\" is added in Workorder GET response.\r\n* New field \"publishToOwnerPortal\" is added in Workorder GET response.\r\n* New API introduced to update lease custom fields \r\n
URL : /leases/customfields (PUT)\r\n
Access Permissions : Lease - Write (An additional permission is required \"Custom Field - write\" will be introduced with 2024-02-25 release)\r\n* New API introduced to update prospect custom fields\r\n
URL : /prospects/customfields (PUT)\r\n
Access Permissions : prospect - Write (An additional permission is required \"Custom Field - write\" will be introduced with 2024-02-25 release)\r\n\r\n### 2024-01-24\r\n\r\n* Beta has been removed to facilitate WorkOrder task update.\r\n* Beta has been removed to facilitate retrieve vendor general ledger account.\r\n* New field \"source\" is added in Workorder create/update request.\r\n* Beta has been removed to facilitate Unit update.\r\n\r\n### 2024-01-09\r\n\r\n* An additional property , 'ready' (indicating ready to lease), has been added to create the building API. However, the 'unitCount' property value is incorrect when using the create building API.\r\n\r\n* Beta has been removed to facilitate building updates and creation in bulk for Building APi.\r\n \r\n* \"Retrieve all lease journal entries\". this is an extension for existing endpoint. leaseID will be part of the request params in new endpoint.\r\n
existing url: https://api.propertyware.com/pw/api/rest/v1/leases/journalentries/{leaseID} (Will be discontinued in future once new URL is being used)\r\n
New url: https://api.propertyware.com/pw/api/rest/v1/leases/journalentries\r\n (leaseID can be sent as a request parameters)\r\n\r\n* \"Retrieve all lease auto charges\". this is an extension for existing endpoint. leaseID will be part of the request params in new endpoint.\r\n
existing url: https://api.propertyware.com/pw/api/rest/v1/{leaseID}/autocharges (Will be discontinued in future once new URL is being used)\r\n
New url: https://api.propertyware.com/pw/api/rest/v1/leases/autocharges\r\n (leaseID can be sent as a request parameters)\r\n \r\n* New field \"publishedForRent\" is added in Building and Unit responses.\r\n* New field \"role\" is added in prospect contact response.\r\n* Beta has been removed to facilitate Contact update.\r\n* Allowed GET Lease charges/payments/refunds/creditmemos/adjustments, filtered by \"glAccountId\"\r\n\r\n### 2023-10-24\r\n* Retrieve a General Ledger Account\r\n\r\n### 2023-08-28\r\n* Update a document\r\n\r\n### 2023-07-11\r\n* Delete a document\r\n\r\n### 2023-07-11\r\n* Retrieve all documents\r\n* Retrieve a document\r\n* Download a document\r\n\r\n### 2023-06-10\r\n* Lease contacts are included in Retrieve all leases API response\r\n* Lease contacts are included in Retrieve a lease API response\r\n\r\n### 2023-04-24\r\n* Bulk Insertion: Prospects\r\n* Bulk Insertion: Bill Payments\r\n\r\n### 2023-04-11\r\n\r\n* Bulk Insertion: Portfolios\r\n* Bulk Insertion: Buildings\r\n* Bulk Insertion: Units\r\n\r\n### 2023-03-19\r\n\r\n* Bulk insertion: contacts\r\n\r\n### 2023-03-08\r\n\r\n* Bulk insertion: bills\r\n\r\n### 2023-01-24\r\n\r\n* Custom fields in \"Get all\" endpoints\r\n* Prospect creation\r\n* Bill removals \r\n \r\n### 2022-10-25\r\n\r\n* API Read operations for non-financial data\r\n\r\n### 2022-09-21\r\n\r\n* API Read operations available" version: '1.0' title: Open API, powered by Propertyware Accounting Vendors API contact: name: Propertyware email: support@propertyware.com x-logo: url: logo.png backgroundColor: '#fff' altText: Propertyware, A RealPage Company href: https://www.propertyware.com servers: - url: https://api.propertyware.com/pw/api/rest/v1 security: - clientId: [] - clientSecret: [] - organizationId: [] tags: - name: Vendors description: Resources providing access to vendors. paths: /vendors: get: tags: - Vendors summary: Retrieve all vendors description: 'Retrieves a list of vendors.

Required permission:
VENDORS - Read

Sortable by: createddate, vendortype, lastmodifieddatetime, id' operationId: getVendors parameters: - name: offset in: query description: '`offset` indicates the position of the first record to return. The offset is zero-based and the default is 0.' required: false schema: type: integer format: int32 - name: limit in: 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.' required: false schema: type: integer format: int32 default: 100 - name: lastModifiedDateTimeStart in: query description: 'Filters results to any item modified on or after the date time specified. ' required: false schema: type: string format: date-time - name: lastModifiedDateTimeEnd in: query description: 'Filters results to any item modified on or prior to the date time specified. ' required: false schema: type: string format: date-time - name: orderby in: query description: Indicates the field(s) and direction to sort the results in the response. required: false schema: type: string - name: active in: query description: Filters results by the vendor's status. If no value is specified, vendors with any status will be returned. required: false schema: type: boolean - name: type in: query description: Filters results to units with a specific type. required: false schema: type: string - name: includeCustomFields in: query description: includeCustomFields required: false schema: type: boolean default: false responses: '200': description: OK headers: X-Total-Count: description: The total resultset count schema: type: integer format: int64 content: application/json: schema: type: array items: $ref: '#/components/schemas/Vendor' '400': description: Unable to process the request due to malformed request syntax or invalid parameters. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: The API key couldn't be authorized. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: The supplied credentials don't have permissions to access the resources. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' post: tags: - Vendors summary: Create a vendor description: 'Creates a vendor.

Required permission:
VENDORS - Write ' operationId: createVendor requestBody: content: application/json: schema: $ref: '#/components/schemas/SaveVendor' description: saveVendor required: true responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/Vendor' '400': description: Unable to process the request due to malformed request syntax or invalid parameters. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: The API key couldn't be authorized. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: The supplied credentials don't have permissions to access the resources. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' /vendors/bulk: post: tags: - Vendors summary: Create Vendors in bulk description: 'Creates Vendors in bulk.

Required permission:
VENDORS - Write ' operationId: createVendors requestBody: content: application/json: schema: type: array items: $ref: '#/components/schemas/SaveVendor' description: saveVendor required: true responses: '201': description: Created content: application/json: schema: type: array items: $ref: '#/components/schemas/RESTAPIBulkSuccessResponse' '400': description: Unable to process the request due to malformed request syntax or invalid parameters. content: application/json: schema: type: array items: $ref: '#/components/schemas/RESTAPIBulkErrorResponse' '401': description: The API key couldn't be authorized. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: The supplied credentials don't have permissions to access the resources. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' /vendors/customfields: put: tags: - Vendors summary: Update a vendor custom fields (BETA) description: '

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.

Updates an existing vendor custom fields

Required permission:
VENDORS - Write ' operationId: updateVendor requestBody: $ref: '#/components/requestBodies/SaveCustomField' responses: '200': description: No Content content: application/json: schema: $ref: '#/components/schemas/ResponseEntity' '400': description: Unable to process the request due to malformed request syntax or invalid parameters. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: The API key couldn't be authorized. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: The supplied credentials don't have permissions to access the resources. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Entity not found. /vendors/{vendorID}: get: tags: - Vendors summary: Retrieve a vendor description: 'Retrieves a specific vendor.

Required permission:
VENDORS - Read ' operationId: getVendor parameters: - name: vendorID in: path description: Vendor ID required: true schema: type: integer format: int64 - name: includeCustomFields in: query description: includeCustomFields required: false schema: type: boolean default: true responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/Vendor' '400': description: Unable to process the request due to malformed request syntax or invalid parameters. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: The API key couldn't be authorized. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: The supplied credentials don't have permissions to access the resources. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Entity not found. /vendors/{vendorID}/account: get: tags: - Vendors summary: Retrieve vendor GL account description: 'Retrieves the default general ledger account of a vendor.

Required permission:
VENDORS - Read ' operationId: getVendorAccount parameters: - name: vendorID in: path description: Vendor ID required: true schema: type: integer format: int64 responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/Account' '400': description: Unable to process the request due to malformed request syntax or invalid parameters. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: The API key couldn't be authorized. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: The supplied credentials don't have permissions to access the resources. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Entity not found. /vendors/{vendorID}/conversations: get: tags: - Vendors summary: Retrieve all vendor conversations description: 'Retrieves all the conversations of a vendor.

Required permission:
VENDORS - Read

Sortable by: createddate, lastmodifieddatetime, id' operationId: getVendorConversations parameters: - name: vendorID in: path description: Vendor ID required: true schema: type: integer format: int64 - name: offset in: query description: '`offset` indicates the position of the first record to return. The offset is zero-based and the default is 0.' required: false schema: type: integer format: int32 - name: limit in: 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.' required: false schema: type: integer format: int32 default: 100 - name: lastModifiedDateTimeStart in: query description: 'Filters results to any item modified on or after the date time specified. ' required: false schema: type: string format: date-time - name: lastModifiedDateTimeEnd in: query description: 'Filters results to any item modified on or prior to the date time specified. ' required: false schema: type: string format: date-time - name: orderby in: query description: Indicates the field(s) and direction to sort the results in the response. required: false schema: type: string - name: type in: query description: Filters results by the conversation type. required: false schema: type: string enum: - MANAGEMENT_TEAM - OWNER - TENANT responses: '200': description: OK headers: X-Total-Count: description: The total resultset count schema: type: integer format: int64 content: application/json: schema: type: array items: $ref: '#/components/schemas/Conversation' '400': description: Unable to process the request due to malformed request syntax or invalid parameters. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: The API key couldn't be authorized. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: The supplied credentials don't have permissions to access the resources. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Entity not found. /vendors/{vendorID}/conversations/{conversationID}: get: tags: - Vendors summary: Retrieve a vendor conversation description: 'Retrieves a specific vendor conversation.

Required permission:
VENDORS - Read ' operationId: getVendorConversation parameters: - name: vendorID in: path description: Vendor ID required: true schema: type: integer format: int64 - name: conversationID in: path description: Conversation ID required: true schema: type: integer format: int64 responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/Conversation' '400': description: Unable to process the request due to malformed request syntax or invalid parameters. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: The API key couldn't be authorized. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: The supplied credentials don't have permissions to access the resources. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Entity not found. components: schemas: ResponseEntity: type: object properties: body: type: object statusCode: type: string enum: - '100' - '101' - '102' - '103' - '200' - '201' - '202' - '203' - '204' - '205' - '206' - '207' - '208' - '226' - '300' - '301' - '302' - '303' - '304' - '305' - '307' - '308' - '400' - '401' - '402' - '403' - '404' - '405' - '406' - '407' - '408' - '409' - '410' - '411' - '412' - '413' - '414' - '415' - '416' - '417' - '418' - '419' - '420' - '421' - '422' - '423' - '424' - '426' - '428' - '429' - '431' - '500' - '501' - '502' - '503' - '504' - '505' - '506' - '507' - '508' - '509' - '510' - '511' CustomFieldSet: type: object required: - name - value properties: name: type: string description: Custom Field name value: type: string description: Custom Field value description: Custom field set for Request SaveCustomField: type: object required: - entityId - fieldSet properties: entityId: type: integer format: int64 description: Unique identifier of an entity custom field associated to. fieldSet: type: array description: List of Custom fields to update items: $ref: '#/components/schemas/CustomFieldSet' description: Custom field for Request ErrorResponse: type: object properties: errorCode: type: string errors: type: array items: $ref: '#/components/schemas/RESTAPIError' userMessage: type: string Account: type: object properties: accountCode: type: string description: Account code. accountNumber: type: string description: Account number. accountType: type: string description: Account type. active: type: boolean example: false description: Indicates if the account is active. autoApplyPrepayment: type: boolean example: false description: Indicates if prepayments should be auto applied. bankAccountHolder: type: string description: Bank account holder name. bankAccountNumber: type: string description: Bank account number. bankAddress: type: string description: Bank address. bankAddress2: type: string description: Bank address 2. bankCity: type: string description: Bank city. bankInstitution: type: string description: Bank institution name. bankRoutingNumber: type: string description: Bank account routing number. bankState: type: string description: Bank state. bankZip: type: string description: Bank zip code. camRecoveryAccount: type: boolean example: false description: Indicates if account is a CAM recovery account. createdBy: type: string description: User who created the record. createdDateTime: type: string format: date-time description: 'Date and time the record was created. (Timezone: UTC)' description: type: string description: Description of the account. discountAccount: type: boolean example: false description: Indicates if account is a discount account. escrowAccount: type: boolean example: false description: Indicates if account is a escrow account. excludeFrom1099: type: boolean example: false description: Indicates if account is excluded from Form1099. excludeFromPayInFull: type: boolean example: false description: Indicates if account is excluded from paying in full. excludeLateFee: type: boolean example: false description: Indicates if excluding from late fees. id: type: integer format: int64 description: Unique identifier. lastModifiedBy: type: string description: User who last modified the record. lastModifiedDateTime: type: string format: date-time description: 'Date and time the record was last modified. (Timezone: UTC)' lateFeeApplicable: type: boolean example: false description: Indicates if a late fee is applicable. name: type: string description: Account name. parentGLAccountId: type: integer format: int64 description: Parent account ID. parentRef: type: string description: Parent account reference. paymentPriority: type: integer format: int32 description: Account payment priority. rentAccount: type: boolean example: false description: Indicates if account is a rent account. section8: type: boolean example: false description: Indicates if account is a section8 account. securityDepositAccount: type: boolean example: false description: Indicates if the account is security deposit account taxAccount: type: boolean example: false description: Indicates if account is a tax account. transferBalanceToRetainedEarnings: type: boolean example: false description: Indicates if the account balance should be transferred to retained earnings. description: General Ledger Account Conversation: type: object properties: comments: type: array description: List of comments in the conversation. items: $ref: '#/components/schemas/Comment' createdBy: type: string description: User who created the record. createdDateTime: type: string format: date-time description: 'Date and time the record was created. (Timezone: UTC)' entityID: type: integer format: int64 description: Id of the entity related to this conversation. entityType: type: string description: Type of the entity related to this conversation. id: type: integer format: int64 description: Unique identifier. lastModifiedBy: type: string description: User who last modified the record. lastModifiedDateTime: type: string format: date-time description: 'Date and time the record was last modified. (Timezone: UTC)' subject: type: string description: Conversation subject. type: type: string description: Conversation type. enum: - MANAGEMENT_TEAM - OWNER - TENANT description: Conversation RESTAPIError: type: object properties: key: type: string message: type: string RESTAPIBulkSuccessResponse: type: object properties: id: type: integer format: int64 SaveVendor: type: object required: - companyName - name - nameOnCheck - vendorType properties: accountNumber: type: string description: Account Number address: type: string description: Address address2: type: string description: Address2 alertEmail: type: string description: Alert Email city: type: string description: City companyName: type: string description: Vendor Company Name country: type: string description: Country creditLimit: type: number format: double description: Credit Limit daysToPay: type: integer format: int32 description: Payment Terms days to pay. enum: - 0 - 5 - 10 - 15 - 30 - 45 - 60 - 90 defaultBillSplitAccountId: type: integer format: int64 description: Default bill split id defaultMarkupDiscountPercentage: type: number format: double description: Default markup discount description: type: string description: Description eligible1099: type: boolean example: false description: Eligible For 1099 email: type: string description: EMail fax: type: string description: Fax includeCompanyNameOn1099: type: boolean example: false description: Include company name on 1099 markupAccountId: type: integer format: int64 description: Markup account id name: type: string description: Vendor Name nameOnCheck: type: string description: Vendor Name On Check phone: type: string description: Phone searchTag: type: string description: Search Tag state: type: string description: State syncToVMM: type: boolean example: false description: Sync to maintenance taxID: type: string description: Tax ID taxPayerName: type: string description: Tax Payer Name terms: type: string description: Payment Terms Description, default value('NET 30') timeTracking: type: boolean example: false description: Time Tracking, is enabled or disabled vendorType: type: string description: "Vendor type. This is a user configurable list with the following initial default values ,\n , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , " website: type: string description: Website zip: type: string description: Zip description: Vendor for Request RESTAPIBulkErrorResponse: type: object properties: error: type: array items: $ref: '#/components/schemas/RESTAPIError' index: type: integer format: int32 success: type: boolean Vendor: type: object properties: accountNumber: type: string description: Account number. active: type: boolean example: false description: Indicates if the vendor is active. address: type: string description: Address. address2: type: string description: Address line 2. alertEmail: type: string description: Alert Email city: type: string description: City. comments: type: string description: Comments. companyName: type: string description: Name of the vendor's company. country: type: string description: Country. createdBy: type: string description: User who created the record. createdDateTime: type: string format: date-time description: 'Date and time the record was created. (Timezone: UTC)' creditLimit: type: number format: double description: Credit limit. customFields: type: array description: Custom fields. items: $ref: '#/components/schemas/CustomField' defaultBillSplitAccountId: type: integer format: int64 description: Default bill split id defaultMarkupDiscountPercentage: type: number format: double description: Default markup discount description: type: string description: Description. eligible1099: type: boolean example: false description: Indicates if the vendor is eligible for a 1099 form. email: type: string description: Email address. fax: type: string description: Fax number. id: type: integer format: int64 description: Unique identifier. includeCompanyNameOn1099: type: boolean example: false description: Include company name on 1099 lastModifiedBy: type: string description: User who last modified the record. lastModifiedDateTime: type: string format: date-time description: 'Date and time the record was last modified. (Timezone: UTC)' markupAccountId: type: integer format: int64 description: Markup account id name: type: string description: Name. nameOnCheck: type: string description: Name to be used on checks. otherPhone: type: string description: Other phone number. paymentTermDaysToPay: type: integer format: int32 description: The number of days within payments are due. paymentTerms: type: string description: Payment terms. phone: type: string description: Phone number. searchTag: type: string description: Search Tag state: type: string description: State. syncToVMM: type: boolean example: false description: Vendor Sync To Maintenance. taxId: type: string description: Tax identification number. taxPayerName: type: string description: Tax Payer Name timeTracking: type: string description: Time Tracking, is enabled or disabled type: type: string description: The type of vendor. website: type: string description: Website URL. zip: type: string description: ZIP or postal code. description: Vendor CustomField: type: object properties: dataType: type: string description: Data type of the custom field. definitionID: type: integer format: int64 description: Id of the custom field definition. fieldName: type: string description: Name of the custom field. value: type: string description: Value of the custom field. description: Custom field. Comment: type: object properties: createdBy: type: string description: User who created the record. createdDateTime: type: string format: date-time description: 'Date and time the record was created. (Timezone: UTC)' id: type: integer format: int64 description: Unique identifier. lastModifiedBy: type: string description: User who last modified the record. lastModifiedDateTime: type: string format: date-time description: 'Date and time the record was last modified. (Timezone: UTC)' text: type: string description: Comment text. description: Comment requestBodies: SaveCustomField: content: application/json: schema: $ref: '#/components/schemas/SaveCustomField' description: saveCustomField required: true securitySchemes: clientId: type: apiKey in: header name: x-propertyware-client-id clientSecret: type: apiKey in: header name: x-propertyware-client-secret organizationId: type: apiKey in: header name: x-propertyware-system-id