# Propertyware

> Manage contacts, prospects, leases, units, buildings and work orders in Propertyware.

App · 30 actions. Web page: https://docs.lodol.com/docs/integrations/propertyware

## Actions

### Create a contact

Create a contact. Propertyware makes them a tenant, owner or vendor contact once linked to a lease, portfolio or vendor.

**Inputs**

- First name (`first_name`, text, required): The contact's first name.
- Last name (`last_name`, text, required): The contact's last name.
- Middle name (`middle_name`, text): The contact's middle name.
- Email (`email`, text): The contact's email address.
- Alternate email (`alt_email`, text): Another email address for the contact.
- Mobile phone (`mobile_phone`, text): The contact's mobile phone number.
- Home phone (`home_phone`, text): The contact's home phone number.
- Work phone (`work_phone`, text): The contact's work phone number.
- Company (`company`, text): The company the contact works for.
- Job title (`job_title`, text): The contact's job title.
- Birth date (`birth_date`, date): The contact's date of birth.
- Notes (`notes`, text): Notes about the contact.
- Search tag (`search_tag`, text): A word to find the contact by in Propertyware.
- Category (`category`, text): The contact's category. Only used when the contact is created.
- Street (`street`, text): The street address.
- Street line 2 (`street_line_2`, text): The second address line, such as a suite.
- City (`city`, text): The city.
- State (`state`, text): The state or region.
- Postal code (`postal_code`, text): The ZIP or postal code.
- Country (`country`, text): The full country name, such as United States.

**Outputs**

- `data` (object): Contact Response.

**Example output**

```json
{
  "data": {
    "address": {
      "address": "example",
      "addressCont": "example",
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "stateRegion": "example"
    },
    "allowESignature": false,
    "altEmail": "example",
    "attachedLeases": [],
    "attachedPortfolios": [],
    "attachedProspects": [],
    "attachedVendors": [],
    "birthDate": "example",
    "category": "example",
    "comments": "example",
    "company": "example",
    "copyToAltEmailOnCommunication": false,
    "createdBy": "example",
    "createdDateTime": "example",
    "customFields": [],
    "drawPaymentMethod": "CHECK",
    "email": "example",
    "emailAlerts": false,
    "fax": "example",
    "firstName": "example",
    "gender": "UNKNOWN",
    "homePhone": "example",
    "id": 1,
    "jobTitle": "example",
    "lastModifiedBy": "example",
    "lastModifiedDateTime": "example",
    "lastName": "example",
    "middleName": "example",
    "mobilePhone": "example",
    "nameOnCheck": "example",
    "namedOnLease": false,
    "otherPhone": "example",
    "ownerEligible1099": false,
    "ownerEmailStatement": false,
    "ownerIncludeCompanyNameOn1099": false,
    "ownerPrintStatement": false,
    "ownerPublishStatements": false,
    "ownerTaxpayerName": "example",
    "salutation": "example",
    "suffix": "example",
    "type": "TENANT",
    "workPhone": "example"
  }
}
```

### Create a prospect

Add a prospective tenant, with the person's name and contact details.

**Inputs**

- First name (`first_name`, text, required): The prospect's first name.
- Last name (`last_name`, text, required): The prospect's last name.
- Email (`email`, text): The prospect's email address.
- Mobile phone (`mobile_phone`, text): The prospect's mobile phone number.
- Building (`building_id`, number): The building the prospect is interested in.
- Unit (`unit_id`, number): The unit the prospect is interested in.
- Status (`status`, text): The prospect's status.
- Source (`source`, text): Where the prospect came from. One of: `Website`, `Telephone`, `Walk In`, `Mobile Leasing for the iPad`, `Propertyware Marketplace`, `Email`, `Contact Center`.
- Move-in date (`move_in_date`, date): When the prospect wants to move in.
- Lowest rent (`rent_min`, number): The least rent the prospect is looking at. At least 0.
- Highest rent (`rent_max`, number): The most rent the prospect will pay. At least 0.
- Bedrooms (`number_bedrooms`, number): How many bedrooms the prospect wants. At least 0.
- Bathrooms (`number_bathrooms`, number): How many bathrooms the prospect wants. At least 0.
- Has pets (`has_pets`, true/false): Whether the prospect has pets.
- Pet type (`pet_type`, text): What pets the prospect has. One of: `None`, `Dog`, `Cat`, `Dog & Cat`, `Bird`, `Hamster`, `Other`.
- Preferred contact method (`preferred_contact_method`, text): How the prospect likes to be contacted. One of: `Work Phone`, `Home Phone`, `Mobile Phone`, `Other Phone`, `Email`.
- Notes (`notes`, text): Notes about the prospect.
- Reason for moving (`reason_for_moving`, text): Why the prospect is moving.

**Outputs**

- `data` (object): Prospect.

**Example output**

```json
{
  "data": {
    "applicationFeePaid": false,
    "assignedToFullName": "example",
    "buildingID": 1,
    "cityDesired": "example",
    "comments": "example",
    "contacts": [],
    "createdBy": "example",
    "createdDateTime": "example",
    "currentHomeType": "example",
    "currentRentMortgage": 1.0,
    "customFields": [],
    "hasPets": false,
    "id": 1,
    "lastModifiedBy": "example",
    "lastModifiedDateTime": "example",
    "leaseEndDate": "example",
    "leaseStartDate": "example",
    "moveInDate": "example",
    "neighborhoodDesired": "example",
    "numberBathrooms": 1.0,
    "numberBedrooms": 1,
    "numberOfPets": 1,
    "petType": "example",
    "petWeights": "example",
    "portfolioID": 1,
    "preferredContactMethod": "example",
    "propertyAddress": "example",
    "propertyAddress2": "example",
    "propertyArea": 1.0,
    "propertyAreaUnits": "example",
    "propertyCity": "example",
    "propertyCountry": "example",
    "propertyNumberBathrooms": 1.0,
    "propertyNumberBedrooms": 1,
    "propertyState": "example",
    "propertyZip": "example",
    "reasonForMoving": "example",
    "rent": 1.0,
    "rentMax": 1.0,
    "rentMin": 1.0,
    "securityDeposit": 1.0,
    "source": "example",
    "stateDesired": "example",
    "status": "example",
    "timeAtCurrentResidence": "example",
    "type": "example",
    "typeOfInquiry": "example",
    "unitDesired": "example",
    "unitID": 1,
    "unitTypeDesired": "example",
    "zipDesired": "example"
  }
}
```

### Create a work order

Create a work order for a building or some of its units.

**Inputs**

- Building (`building_id`, number, required): The building the work is for.
- Units (`unit_ids`, list): The units of the building the work is for.
- Description (`description`, text): What needs doing.
- Priority (`priority`, text): How urgent the work is. One of: `HIGH`, `MEDIUM`, `LOW`.
- Type (`work_order_type`, text): The kind of work order, such as General, Service Request, Turnover, Inspection or Estimate.
- Category (`category`, text): The work order's category, as set up in Propertyware.
- Source (`source`, text): How the request came in, such as Telephone, Email, Website or Tenant Portal.
- Requested by (contact ID) (`requested_by_contact_id`, number): The ID of the contact who reported the problem, usually the tenant or owner.
- Cost estimate (`cost_estimate`, number): The estimated cost. At least 0.
- Hour estimate (`hour_estimate`, number): The estimated hours of work. At least 0.
- Start date (`start_date`, date): When the work started.
- Scheduled end date (`scheduled_end_date`, date): When the work is scheduled to be finished.
- Permission to enter (`authorized_to_enter`, text): Whether the tenant lets maintenance staff in. One of: `NO`, `ANYTIME`, `SPECIFIEDTIME`.
- Date to enter (`date_to_enter`, date): The day staff may enter, when permission is for a set time.
- Location (`specific_location`, text): Where in the unit the problem is.
- Required materials (`required_materials`, text): Materials the work needs.
- Show in tenant portal (`publish_to_tenant_portal`, true/false): Show the work order in the tenant portal.
- Show in owner portal (`publish_to_owner_portal`, true/false): Show the work order in the owner portal.
- Search tag (`search_tag`, text): A word to find the work order by in Propertyware.

**Outputs**

- `data` (object): Work Order.

**Example output**

```json
{
  "data": {
    "actualCost": 1.0,
    "age": 1,
    "approved": false,
    "approvedDate": "example",
    "assignedVendors": [],
    "authorizedToEnter": "NO",
    "buildingID": 1,
    "category": "example",
    "completedDate": "example",
    "contractNumber": "example",
    "costEstimate": 1.0,
    "createdBy": "example",
    "createdDateTime": "example",
    "customFields": [],
    "dateToEnter": "example",
    "description": "example",
    "hourEstimate": 1.0,
    "id": 1,
    "lastModifiedBy": "example",
    "lastModifiedDateTime": "example",
    "lease": "example",
    "location": "example",
    "maintenanceNotice": "example",
    "managedBy": "example",
    "number": 1,
    "ownerCost": 1.0,
    "portfolioID": 1,
    "priority": "HIGH",
    "publishToOwnerPortal": false,
    "publishToTenantPortal": false,
    "requestedBy": "example",
    "requiredMaterials": "example",
    "scheduledEndDate": "example",
    "searchTag": "example",
    "source": "example",
    "specificLocation": "example",
    "startDate": "example",
    "status": "example",
    "type": "example",
    "unitID": 1,
    "unitIDs": {}
  }
}
```

### Delete a contact

Delete a contact. Propertyware marks this call beta.

**Inputs**

- Contact ID (`contact_id`, number, required): The ID of the contact to delete.

**Outputs**

- `data` (object): The response from Propertyware.

**Example output**

```json
{
  "data": {}
}
```

### Delete a work order

Delete a work order. Propertyware marks this call beta.

**Inputs**

- Work order ID (`work_order_id`, number, required): The ID of the work order to delete.

**Outputs**

- `data` (object): The response from Propertyware.

**Example output**

```json
{
  "data": {}
}
```

### Get a building

Get one building by ID.

**Inputs**

- Building (`building_id`, number, required): The building to get.

**Outputs**

- `data` (object): Building.

**Example output**

```json
{
  "data": {
    "abbreviation": "example",
    "active": false,
    "address": {
      "address": "example",
      "addressCont": "example",
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "stateRegion": "example"
    },
    "amenities": [],
    "applicationFeeRule": "example",
    "areaUnits": "Sq Ft",
    "category": "RESIDENTIAL",
    "countUnit": 1,
    "county": "example",
    "createdBy": "example",
    "createdDateTime": "example",
    "customFields": [],
    "defaultBankAccID": 1,
    "defaultSecDepAccID": 1,
    "floorNumber": 1,
    "ftbDeductable": 1.0,
    "ftbWithholdingPercentage": 1.0,
    "ftbWithholdingType": "example",
    "id": 1,
    "idNumber": 1,
    "lastModifiedBy": "example",
    "lastModifiedDateTime": "example",
    "leaseID": 1,
    "leasingFee": 1.0,
    "leasingFeeType": "LEASING_FEE_NONE",
    "leasingRenewalFee": 1.0,
    "leasingRenewalFeeType": "LEASING_RENEWAL_FEE_NONE",
    "maintenanceLaborSurchargeAmount": 1.0,
    "maintenanceLaborSurchargeType": "example",
    "maintenanceNotice": "example",
    "maintenanceSpendingLimitAmount": 1.0,
    "maintenanceSpendingLimitTime": "NO_LIMIT",
    "management": {
      "managementContractEndDate": "example",
      "managementContractStartDate": "example",
      "managementFeeType": "example",
      "managementFees": [],
      "managementFeesType": "MANAGE_FEE_NONE",
      "managementFlatFee": 1.0
    },
    "managementFeesType": "MANAGE_FEE_NONE",
    "managementFlatFee": 1.0,
    "marketing": {
      "availableDate": "example",
      "comments": "example",
      "featured": false,
      "featuredForRent": false,
      "featuredForSale": false,
      "forSale": false,
      "latitude": 1.0,
      "leaseTerms": 1,
      "leaseTermsUnits": "example",
      "longitude": 1.0,
      "marketingName": "example",
      "mlsLeaseNumber": "example",
      "mlsNumber": "example",
      "moveInDays": 1,
      "otherTenantCharges": "example",
      "parcelNumber": "example",
      "petCatAllowed": false,
      "petDogAllowed": false,
      "petOtherAllowed": false,
      "petsAllowed": false,
      "postingTitle": "example",
      "publishedForRent": false,
      "publishedForSale": false,
      "salePrice": 1.0,
      "saleTerms": "example",
      "shortDescription": "example",
      "smokingAllowed": false,
      "specials": "example",
      "syndicate": false
    },
    "multiUnit": "example",
    "name": "example",
    "neighborhood": "example",
    "numberFloors": 1,
    "numberOfBathrooms": 1.0,
    "numberOfBedrooms": 1,
    "portfolioID": 1,
    "propertyManagerList": [],
    "propertyType": "Apartment",
    "ready": false,
    "reasonForPropertyLost": "example",
    "rentable": false,
    "searchTag": "example",
    "status": "example",
    "syndicate": false,
    "targetDeposit": "example",
    "targetDepositAmount": 1.0,
    "targetRent": 1.0,
    "targetRentUnits": "DOLLAR_PER_SQ_FT_MONTH",
    "totalArea": 1.0,
    "type": "example",
    "website": "example",
    "yearBuilt": 1
  }
}
```

### Get a contact

Get one contact by ID.

**Inputs**

- Contact ID (`contact_id`, number, required): The ID of the contact, from List contacts.

**Outputs**

- `data` (object): Contact Response.

**Example output**

```json
{
  "data": {
    "address": {
      "address": "example",
      "addressCont": "example",
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "stateRegion": "example"
    },
    "allowESignature": false,
    "altEmail": "example",
    "attachedLeases": [],
    "attachedPortfolios": [],
    "attachedProspects": [],
    "attachedVendors": [],
    "birthDate": "example",
    "category": "example",
    "comments": "example",
    "company": "example",
    "copyToAltEmailOnCommunication": false,
    "createdBy": "example",
    "createdDateTime": "example",
    "customFields": [],
    "drawPaymentMethod": "CHECK",
    "email": "example",
    "emailAlerts": false,
    "fax": "example",
    "firstName": "example",
    "gender": "UNKNOWN",
    "homePhone": "example",
    "id": 1,
    "jobTitle": "example",
    "lastModifiedBy": "example",
    "lastModifiedDateTime": "example",
    "lastName": "example",
    "middleName": "example",
    "mobilePhone": "example",
    "nameOnCheck": "example",
    "namedOnLease": false,
    "otherPhone": "example",
    "ownerEligible1099": false,
    "ownerEmailStatement": false,
    "ownerIncludeCompanyNameOn1099": false,
    "ownerPrintStatement": false,
    "ownerPublishStatements": false,
    "ownerTaxpayerName": "example",
    "salutation": "example",
    "suffix": "example",
    "type": "TENANT",
    "workPhone": "example"
  }
}
```

### Get a lease

Get one lease by ID.

**Inputs**

- Lease ID (`lease_id`, number, required): The ID of the lease, from List leases.

**Outputs**

- `data` (object): Lease.

**Example output**

```json
{
  "data": {
    "active": false,
    "addendums": [],
    "arBalance": 1.0,
    "baseRent": 1.0,
    "buildingID": 1,
    "comments": "example",
    "contacts": [],
    "createdBy": "example",
    "createdDateTime": "example",
    "customFields": [],
    "endDate": "example",
    "id": 1,
    "idNumber": 1,
    "lastModifiedBy": "example",
    "lastModifiedDateTime": "example",
    "lateFeeRule": "example",
    "leaseBalance": 1.0,
    "leaseName": "example",
    "location": "example",
    "moveInDate": "example",
    "moveOutDate": "example",
    "noticeGivenDate": "example",
    "paymentRestriction": "example",
    "portfolioID": 1,
    "prospectIds": [],
    "publicAssistanceProgram": "example",
    "reasonForLeaving": "example",
    "scheduleMoveOutDate": "example",
    "searchTag": "example",
    "signedDate": "example",
    "startDate": "example",
    "status": "example",
    "tenantsOptsIntoAssetProtectionPlan": "example",
    "terminatedDate": "example",
    "unitID": 1
  }
}
```

### Get a portfolio

Get one portfolio by ID.

**Inputs**

- Portfolio (`portfolio_id`, number, required): The portfolio to get.

**Outputs**

- `data` (object): Portfolio.

**Example output**

```json
{
  "data": {
    "abbreviation": "example",
    "active": false,
    "cashAccrual": "COMPANY_DEFAULT",
    "closingDate": "example",
    "createdBy": "example",
    "createdDateTime": "example",
    "customFields": [],
    "defaultBankAccountID": 1,
    "defaultBankAccountNumberAndDescription": "example",
    "defaultSecurityDepositBankAccountID": 1,
    "defaultSecurityDepositBankAccountNumberAndDescription": "example",
    "doNotPayOwnerDraw": false,
    "id": 1,
    "lastModifiedBy": "example",
    "lastModifiedDateTime": "example",
    "maintenanceSpendingLimit": 1.0,
    "maintenanceSpendingLimitTime": "NO_LIMIT",
    "modifiedBy": "example",
    "name": "example",
    "ownerStatementReportID": 1,
    "owners": [],
    "portfolioBalance": 1.0,
    "stickyNote": "example",
    "targetOperatingReserve": 1.0
  }
}
```

### Get a prospect

Get one prospect by ID.

**Inputs**

- Prospect ID (`prospect_id`, number, required): The ID of the prospect, from List prospects.

**Outputs**

- `data` (object): Prospect.

**Example output**

```json
{
  "data": {
    "applicationFeePaid": false,
    "assignedToFullName": "example",
    "buildingID": 1,
    "cityDesired": "example",
    "comments": "example",
    "contacts": [],
    "createdBy": "example",
    "createdDateTime": "example",
    "currentHomeType": "example",
    "currentRentMortgage": 1.0,
    "customFields": [],
    "hasPets": false,
    "id": 1,
    "lastModifiedBy": "example",
    "lastModifiedDateTime": "example",
    "leaseEndDate": "example",
    "leaseStartDate": "example",
    "moveInDate": "example",
    "neighborhoodDesired": "example",
    "numberBathrooms": 1.0,
    "numberBedrooms": 1,
    "numberOfPets": 1,
    "petType": "example",
    "petWeights": "example",
    "portfolioID": 1,
    "preferredContactMethod": "example",
    "propertyAddress": "example",
    "propertyAddress2": "example",
    "propertyArea": 1.0,
    "propertyAreaUnits": "example",
    "propertyCity": "example",
    "propertyCountry": "example",
    "propertyNumberBathrooms": 1.0,
    "propertyNumberBedrooms": 1,
    "propertyState": "example",
    "propertyZip": "example",
    "reasonForMoving": "example",
    "rent": 1.0,
    "rentMax": 1.0,
    "rentMin": 1.0,
    "securityDeposit": 1.0,
    "source": "example",
    "stateDesired": "example",
    "status": "example",
    "timeAtCurrentResidence": "example",
    "type": "example",
    "typeOfInquiry": "example",
    "unitDesired": "example",
    "unitID": 1,
    "unitTypeDesired": "example",
    "zipDesired": "example"
  }
}
```

### Get a unit

Get one unit by ID.

**Inputs**

- Unit (`unit_id`, number, required): The unit to get.

**Outputs**

- `data` (object): Unit.

**Example output**

```json
{
  "data": {
    "abbreviation": "example",
    "active": false,
    "address": {
      "address": "example",
      "addressCont": "example",
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "stateRegion": "example"
    },
    "amenities": [],
    "areaUnits": "Sq Ft",
    "buildingID": 1,
    "category": "RESIDENTIAL",
    "county": "example",
    "createdBy": "example",
    "createdDateTime": "example",
    "customFields": [],
    "floorNumber": 1,
    "id": 1,
    "idNumber": 1,
    "lastModifiedBy": "example",
    "lastModifiedDateTime": "example",
    "leaseID": 1,
    "maintenanceNotice": "example",
    "maintenanceSpendingLimitTime": "NO_LIMIT",
    "management": {
      "managementContractEndDate": "example",
      "managementContractStartDate": "example",
      "managementFeeType": "example",
      "managementFees": [],
      "managementFeesType": "MANAGE_FEE_NONE",
      "managementFlatFee": 1.0
    },
    "marketing": {
      "availableDate": "example",
      "comments": "example",
      "featured": false,
      "featuredForRent": false,
      "featuredForSale": false,
      "forSale": false,
      "latitude": 1.0,
      "leaseTerms": 1,
      "leaseTermsUnits": "example",
      "longitude": 1.0,
      "marketingName": "example",
      "mlsLeaseNumber": "example",
      "mlsNumber": "example",
      "moveInDays": 1,
      "otherTenantCharges": "example",
      "parcelNumber": "example",
      "petCatAllowed": false,
      "petDogAllowed": false,
      "petOtherAllowed": false,
      "petsAllowed": false,
      "postingTitle": "example",
      "publishedForRent": false,
      "publishedForSale": false,
      "salePrice": 1.0,
      "saleTerms": "example",
      "shortDescription": "example",
      "smokingAllowed": false,
      "specials": "example",
      "syndicate": false
    },
    "name": "example",
    "neighborhood": "example",
    "numberFloors": 1,
    "numberOfBathrooms": 1.0,
    "numberOfBedrooms": 1,
    "portfolioID": 1,
    "propertyManagerList": [],
    "ready": false,
    "rentable": false,
    "searchTag": "example",
    "status": "example",
    "syndicate": false,
    "targetDeposit": "example",
    "targetDepositAmount": 1.0,
    "targetRent": 1.0,
    "targetRentUnits": "DOLLAR_PER_SQ_FT_MONTH",
    "totalArea": 1.0,
    "type": "example",
    "website": "example",
    "yearBuilt": 1
  }
}
```

### Get a vendor

Get one vendor by ID.

**Inputs**

- Vendor (`vendor_id`, number, required): The vendor to get.

**Outputs**

- `data` (object): Vendor.

**Example output**

```json
{
  "data": {
    "accountNumber": "example",
    "active": false,
    "address": "example",
    "address2": "example",
    "alertEmail": "example",
    "city": "example",
    "comments": "example",
    "companyName": "example",
    "country": "example",
    "createdBy": "example",
    "createdDateTime": "example",
    "creditLimit": 1.0,
    "customFields": [],
    "defaultBillSplitAccountId": 1,
    "defaultMarkupDiscountPercentage": 1.0,
    "description": "example",
    "eligible1099": false,
    "email": "example",
    "fax": "example",
    "id": 1,
    "includeCompanyNameOn1099": false,
    "lastModifiedBy": "example",
    "lastModifiedDateTime": "example",
    "markupAccountId": 1,
    "name": "example",
    "nameOnCheck": "example",
    "otherPhone": "example",
    "paymentTermDaysToPay": 1,
    "paymentTerms": "example",
    "phone": "example",
    "searchTag": "example",
    "state": "example",
    "syncToVMM": false,
    "taxId": "example",
    "taxPayerName": "example",
    "timeTracking": "example",
    "type": "example",
    "website": "example",
    "zip": "example"
  }
}
```

### Get a work order

Get one work order by ID.

**Inputs**

- Work order ID (`work_order_id`, number, required): The ID of the work order, from List work orders.

**Outputs**

- `data` (object): Work Order.

**Example output**

```json
{
  "data": {
    "actualCost": 1.0,
    "age": 1,
    "approved": false,
    "approvedDate": "example",
    "assignedVendors": [],
    "authorizedToEnter": "NO",
    "buildingID": 1,
    "category": "example",
    "completedDate": "example",
    "contractNumber": "example",
    "costEstimate": 1.0,
    "createdBy": "example",
    "createdDateTime": "example",
    "customFields": [],
    "dateToEnter": "example",
    "description": "example",
    "hourEstimate": 1.0,
    "id": 1,
    "lastModifiedBy": "example",
    "lastModifiedDateTime": "example",
    "lease": "example",
    "location": "example",
    "maintenanceNotice": "example",
    "managedBy": "example",
    "number": 1,
    "ownerCost": 1.0,
    "portfolioID": 1,
    "priority": "HIGH",
    "publishToOwnerPortal": false,
    "publishToTenantPortal": false,
    "requestedBy": "example",
    "requiredMaterials": "example",
    "scheduledEndDate": "example",
    "searchTag": "example",
    "source": "example",
    "specificLocation": "example",
    "startDate": "example",
    "status": "example",
    "type": "example",
    "unitID": 1,
    "unitIDs": {}
  }
}
```

### List buildings

List buildings (properties), filtered by portfolio, vacancy, type or name.

**Inputs**

- Offset (`offset`, number): How many records to skip before the first one returned. Starts at 0. At least 0.
- Limit (`limit`, number): How many records to return, up to 500. Propertyware returns 100 when left blank. From 1 to 500.
- Modified on or after (`modified_after`, date and time): Only records changed on or after this time.
- Modified on or before (`modified_before`, date and time): Only records changed on or before this time.
- Vacant (`vacant`, true/false): Only vacant buildings when on, only occupied ones when off. Leave blank for both.
- Portfolio (`portfolio_id`, number): Only records in this portfolio.
- Include deactivated (`include_deactivated`, true/false): Include deactivated buildings.
- Address (`address`, text): Only buildings at this address.
- Abbreviation (`abbreviation`, text): Only buildings with this abbreviation.
- Category (`category`, text): Only residential or only commercial buildings. One of: `RESIDENTIAL`, `COMMERCIAL`.
- Property type (`property_type`, text): Only buildings of this property type. One of: `NONE`, `APARTMENT`, `CONDO`, `COMMERCIAL`, `DU_FOUR_PLEX` (Du four plex), `HOUSE`, `SECTION_8_AFFORDABLE` (Section 8 affordable), `SENIOR`, `SHORT_TERM_VACATION` (Short term vacation), `STUDENT`, `TOWNHOUSE`, `OTHER`.
- Name (`name`, text): Only buildings with this name.
- Search tag (`search_tag`, text): Only buildings with this search tag.

**Outputs**

- `data` (list): The response from Propertyware.

**Example output**

```json
{
  "data": []
}
```

### List contact categories

List the contact categories set up in Propertyware.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Propertyware.

**Example output**

```json
{
  "data": []
}
```

### List contacts

List contacts (tenants, owners, prospects, vendors and others), filtered by type, name or email.

**Inputs**

- Offset (`offset`, number): How many records to skip before the first one returned. Starts at 0. At least 0.
- Limit (`limit`, number): How many records to return, up to 500. Propertyware returns 100 when left blank. From 1 to 500.
- Modified on or after (`modified_after`, date and time): Only records changed on or after this time.
- Modified on or before (`modified_before`, date and time): Only records changed on or before this time.
- Contact type (`contact_type`, text): Only contacts of this type. One of: `TENANT`, `PROSPECT`, `OWNER`, `VENDOR`, `OTHER`.
- Email (`email`, text): Only contacts with this email address.
- First name (`first_name`, text): Only contacts with this first name.
- Last name (`last_name`, text): Only contacts with this last name.
- Search tag (`search_tag`, text): Only contacts with this search tag.

**Outputs**

- `data` (list): The response from Propertyware.

**Example output**

```json
{
  "data": []
}
```

### List lease statuses

List the lease statuses set up in Propertyware.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Propertyware.

**Example output**

```json
{
  "data": []
}
```

### List leases

List leases, filtered by building, unit, portfolio, status or dates.

**Inputs**

- Offset (`offset`, number): How many records to skip before the first one returned. Starts at 0. At least 0.
- Limit (`limit`, number): How many records to return, up to 500. Propertyware returns 100 when left blank. From 1 to 500.
- Modified on or after (`modified_after`, date and time): Only records changed on or after this time.
- Modified on or before (`modified_before`, date and time): Only records changed on or before this time.
- Starts on or after (`starts_on_or_after`, date): Only leases starting on or after this date.
- Starts on or before (`starts_on_or_before`, date): Only leases starting on or before this date.
- Ends on or after (`ends_on_or_after`, date): Only leases ending on or after this date.
- Ends on or before (`ends_on_or_before`, date): Only leases ending on or before this date.
- Portfolio (`portfolio_id`, number): Only records in this portfolio.
- Building (`building_id`, number): Only records for this building.
- Unit (`unit_id`, number): Only records for this unit.
- Status (`status`, text): Only leases with this status.

**Outputs**

- `data` (list): The response from Propertyware.

**Example output**

```json
{
  "data": []
}
```

### List portfolios

List portfolios, the owner groupings that buildings belong to.

**Inputs**

- Offset (`offset`, number): How many records to skip before the first one returned. Starts at 0. At least 0.
- Limit (`limit`, number): How many records to return, up to 500. Propertyware returns 100 when left blank. From 1 to 500.
- Modified on or after (`modified_after`, date and time): Only records changed on or after this time.
- Modified on or before (`modified_before`, date and time): Only records changed on or before this time.
- Include deactivated (`include_deactivated`, true/false): Include deactivated portfolios.
- Name (`name`, text): Only portfolios with this name.
- Abbreviation (`abbreviation`, text): Only portfolios with this abbreviation.

**Outputs**

- `data` (list): The response from Propertyware.

**Example output**

```json
{
  "data": []
}
```

### List prospect statuses

List the prospect statuses set up in Propertyware.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Propertyware.

**Example output**

```json
{
  "data": []
}
```

### List prospects

List prospective tenants, filtered by status, building or portfolio.

**Inputs**

- Offset (`offset`, number): How many records to skip before the first one returned. Starts at 0. At least 0.
- Limit (`limit`, number): How many records to return, up to 500. Propertyware returns 100 when left blank. From 1 to 500.
- Modified on or after (`modified_after`, date and time): Only records changed on or after this time.
- Modified on or before (`modified_before`, date and time): Only records changed on or before this time.
- Status (`status`, text): Only prospects with this status.
- Portfolio (`portfolio_id`, number): Only records in this portfolio.
- Building (`building_id`, number): Only records for this building.

**Outputs**

- `data` (list): The response from Propertyware.

**Example output**

```json
{
  "data": []
}
```

### List units

List units, filtered by building, portfolio or vacancy.

**Inputs**

- Offset (`offset`, number): How many records to skip before the first one returned. Starts at 0. At least 0.
- Limit (`limit`, number): How many records to return, up to 500. Propertyware returns 100 when left blank. From 1 to 500.
- Modified on or after (`modified_after`, date and time): Only records changed on or after this time.
- Modified on or before (`modified_before`, date and time): Only records changed on or before this time.
- Vacant (`vacant`, true/false): Only vacant units when on, only occupied ones when off. Leave blank for both.
- Portfolio (`portfolio_id`, number): Only records in this portfolio.
- Building (`building_id`, number): Only units in this building.
- Include deactivated (`include_deactivated`, true/false): Include deactivated units.

**Outputs**

- `data` (list): The response from Propertyware.

**Example output**

```json
{
  "data": []
}
```

### List vendors

List vendors.

**Inputs**

- Offset (`offset`, number): How many records to skip before the first one returned. Starts at 0. At least 0.
- Limit (`limit`, number): How many records to return, up to 500. Propertyware returns 100 when left blank. From 1 to 500.
- Modified on or after (`modified_after`, date and time): Only records changed on or after this time.
- Modified on or before (`modified_before`, date and time): Only records changed on or before this time.
- Active (`active`, true/false): Only active vendors when on, only inactive ones when off. Leave blank for both.

**Outputs**

- `data` (list): The response from Propertyware.

**Example output**

```json
{
  "data": []
}
```

### List work orders

List work orders, filtered by building, portfolio, status, type, priority or completion date.

**Inputs**

- Offset (`offset`, number): How many records to skip before the first one returned. Starts at 0. At least 0.
- Limit (`limit`, number): How many records to return, up to 500. Propertyware returns 100 when left blank. From 1 to 500.
- Modified on or after (`modified_after`, date and time): Only records changed on or after this time.
- Modified on or before (`modified_before`, date and time): Only records changed on or before this time.
- Portfolio (`portfolio_id`, number): Only records in this portfolio.
- Building (`building_id`, number): Only records for this building.
- Status (`status`, text): Only work orders with this status, as named in Propertyware.
- Type (`work_order_type`, text): Only work orders of this type, such as General or Turnover.
- Priority (`priority`, text): Only work orders with this priority. One of: `HIGH`, `MEDIUM`, `LOW`.
- Completed on or after (`completed_on_or_after`, date): Only work orders completed on or after this date.
- Completed on or before (`completed_on_or_before`, date): Only work orders completed on or before this date.

**Outputs**

- `data` (list): The response from Propertyware.

**Example output**

```json
{
  "data": []
}
```

### Update a building

Change a building's name, marketing details, rent or maintenance limit. Only the fields you fill in are changed.

**Inputs**

- Building (`building_id`, number, required): The building to change.
- Name (`name`, text): The building's name.
- Abbreviation (`abbreviation`, text): The building's short name.
- Marketing name (`marketing_name`, text): Marketing name.
- Marketing description (`description`, text): Marketing description.
- Short description (`short_description`, text): Marketing short description.
- Posting title (`posting_title`, text): Marketing posting title.
- Market rent (`target_rent`, number): The market rent, for a single-family building. At least 0.
- Target deposit (`target_deposit_amount`, number): The security deposit to ask for, for a single-family building. At least 0.
- Available date (`available_date`, date): When the building is available to lease.
- Ready to lease (`ready`, true/false): Whether the building is ready to lease.
- Pets allowed (`pets_allowed`, true/false): Pets allowed.
- Maintenance spending limit (`maintenance_spending_limit`, number): The most maintenance can spend. At least 0.
- Maintenance notes (`maintenance_notice`, text): Maintenance notes for the property.
- Search tag (`search_tag`, text): Search tag name.
- Year built (`year_built`, number): Building built year.
- Neighborhood (`neighborhood`, text): Neighborhood.

**Outputs**

- `data` (object): Building.

**Example output**

```json
{
  "data": {
    "abbreviation": "example",
    "active": false,
    "address": {
      "address": "example",
      "addressCont": "example",
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "stateRegion": "example"
    },
    "amenities": [],
    "applicationFeeRule": "example",
    "areaUnits": "Sq Ft",
    "category": "RESIDENTIAL",
    "countUnit": 1,
    "county": "example",
    "createdBy": "example",
    "createdDateTime": "example",
    "customFields": [],
    "defaultBankAccID": 1,
    "defaultSecDepAccID": 1,
    "floorNumber": 1,
    "ftbDeductable": 1.0,
    "ftbWithholdingPercentage": 1.0,
    "ftbWithholdingType": "example",
    "id": 1,
    "idNumber": 1,
    "lastModifiedBy": "example",
    "lastModifiedDateTime": "example",
    "leaseID": 1,
    "leasingFee": 1.0,
    "leasingFeeType": "LEASING_FEE_NONE",
    "leasingRenewalFee": 1.0,
    "leasingRenewalFeeType": "LEASING_RENEWAL_FEE_NONE",
    "maintenanceLaborSurchargeAmount": 1.0,
    "maintenanceLaborSurchargeType": "example",
    "maintenanceNotice": "example",
    "maintenanceSpendingLimitAmount": 1.0,
    "maintenanceSpendingLimitTime": "NO_LIMIT",
    "management": {
      "managementContractEndDate": "example",
      "managementContractStartDate": "example",
      "managementFeeType": "example",
      "managementFees": [],
      "managementFeesType": "MANAGE_FEE_NONE",
      "managementFlatFee": 1.0
    },
    "managementFeesType": "MANAGE_FEE_NONE",
    "managementFlatFee": 1.0,
    "marketing": {
      "availableDate": "example",
      "comments": "example",
      "featured": false,
      "featuredForRent": false,
      "featuredForSale": false,
      "forSale": false,
      "latitude": 1.0,
      "leaseTerms": 1,
      "leaseTermsUnits": "example",
      "longitude": 1.0,
      "marketingName": "example",
      "mlsLeaseNumber": "example",
      "mlsNumber": "example",
      "moveInDays": 1,
      "otherTenantCharges": "example",
      "parcelNumber": "example",
      "petCatAllowed": false,
      "petDogAllowed": false,
      "petOtherAllowed": false,
      "petsAllowed": false,
      "postingTitle": "example",
      "publishedForRent": false,
      "publishedForSale": false,
      "salePrice": 1.0,
      "saleTerms": "example",
      "shortDescription": "example",
      "smokingAllowed": false,
      "specials": "example",
      "syndicate": false
    },
    "multiUnit": "example",
    "name": "example",
    "neighborhood": "example",
    "numberFloors": 1,
    "numberOfBathrooms": 1.0,
    "numberOfBedrooms": 1,
    "portfolioID": 1,
    "propertyManagerList": [],
    "propertyType": "Apartment",
    "ready": false,
    "reasonForPropertyLost": "example",
    "rentable": false,
    "searchTag": "example",
    "status": "example",
    "syndicate": false,
    "targetDeposit": "example",
    "targetDepositAmount": 1.0,
    "targetRent": 1.0,
    "targetRentUnits": "DOLLAR_PER_SQ_FT_MONTH",
    "totalArea": 1.0,
    "type": "example",
    "website": "example",
    "yearBuilt": 1
  }
}
```

### Update a contact

Change a contact's name, email, phone numbers, address or notes. Only the fields you fill in are changed.

**Inputs**

- Contact ID (`contact_id`, number, required): The ID of the contact to change.
- First name (`first_name`, text): The contact's first name.
- Last name (`last_name`, text): The contact's last name.
- Middle name (`middle_name`, text): The contact's middle name.
- Email (`email`, text): The contact's email address.
- Alternate email (`alt_email`, text): Another email address for the contact.
- Mobile phone (`mobile_phone`, text): The contact's mobile phone number.
- Home phone (`home_phone`, text): The contact's home phone number.
- Work phone (`work_phone`, text): The contact's work phone number.
- Company (`company`, text): The company the contact works for.
- Job title (`job_title`, text): The contact's job title.
- Birth date (`birth_date`, date): The contact's date of birth.
- Notes (`notes`, text): Notes about the contact.
- Search tag (`search_tag`, text): A word to find the contact by in Propertyware.
- Street (`street`, text): The street address.
- Street line 2 (`street_line_2`, text): The second address line, such as a suite.
- City (`city`, text): The city.
- State (`state`, text): The state or region.
- Postal code (`postal_code`, text): The ZIP or postal code.
- Country (`country`, text): The full country name, such as United States.

**Outputs**

- `data` (object): Contact Response.

**Example output**

```json
{
  "data": {
    "address": {
      "address": "example",
      "addressCont": "example",
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "stateRegion": "example"
    },
    "allowESignature": false,
    "altEmail": "example",
    "attachedLeases": [],
    "attachedPortfolios": [],
    "attachedProspects": [],
    "attachedVendors": [],
    "birthDate": "example",
    "category": "example",
    "comments": "example",
    "company": "example",
    "copyToAltEmailOnCommunication": false,
    "createdBy": "example",
    "createdDateTime": "example",
    "customFields": [],
    "drawPaymentMethod": "CHECK",
    "email": "example",
    "emailAlerts": false,
    "fax": "example",
    "firstName": "example",
    "gender": "UNKNOWN",
    "homePhone": "example",
    "id": 1,
    "jobTitle": "example",
    "lastModifiedBy": "example",
    "lastModifiedDateTime": "example",
    "lastName": "example",
    "middleName": "example",
    "mobilePhone": "example",
    "nameOnCheck": "example",
    "namedOnLease": false,
    "otherPhone": "example",
    "ownerEligible1099": false,
    "ownerEmailStatement": false,
    "ownerIncludeCompanyNameOn1099": false,
    "ownerPrintStatement": false,
    "ownerPublishStatements": false,
    "ownerTaxpayerName": "example",
    "salutation": "example",
    "suffix": "example",
    "type": "TENANT",
    "workPhone": "example"
  }
}
```

### Update a lease

Change a lease's status, dates, base rent or comments. Only the fields you fill in are changed.

**Inputs**

- Lease ID (`lease_id`, number, required): The ID of the lease to change.
- Status (`status`, text): The lease's status.
- Base rent (`base_rent`, number): The lease's base rent. At least 0.
- Start date (`start_date`, date): Start date of the lease term.
- End date (`end_date`, date): End date of the lease term.
- Move in date (`move_in_date`, date): Move In Date.
- Move out date (`move_out_date`, date): Move Out Date.
- Schedule move out date (`schedule_move_out_date`, date): Scheduled move out date.
- Notice given (`notice_given_date`, date): The day the tenants gave notice to move out.
- Signed date (`signed_date`, date): Lease signed date.
- Comments (`comments`, text): Comments on the lease.
- Search tag (`search_tag`, text): Search tag.

**Outputs**

- `data` (object): Lease.

**Example output**

```json
{
  "data": {
    "active": false,
    "addendums": [],
    "arBalance": 1.0,
    "baseRent": 1.0,
    "buildingID": 1,
    "comments": "example",
    "contacts": [],
    "createdBy": "example",
    "createdDateTime": "example",
    "customFields": [],
    "endDate": "example",
    "id": 1,
    "idNumber": 1,
    "lastModifiedBy": "example",
    "lastModifiedDateTime": "example",
    "lateFeeRule": "example",
    "leaseBalance": 1.0,
    "leaseName": "example",
    "location": "example",
    "moveInDate": "example",
    "moveOutDate": "example",
    "noticeGivenDate": "example",
    "paymentRestriction": "example",
    "portfolioID": 1,
    "prospectIds": [],
    "publicAssistanceProgram": "example",
    "reasonForLeaving": "example",
    "scheduleMoveOutDate": "example",
    "searchTag": "example",
    "signedDate": "example",
    "startDate": "example",
    "status": "example",
    "tenantsOptsIntoAssetProtectionPlan": "example",
    "terminatedDate": "example",
    "unitID": 1
  }
}
```

### Update a prospect

Change a prospect's status, wishes or notes. Only the fields you fill in are changed.

**Inputs**

- Prospect ID (`prospect_id`, number, required): The ID of the prospect to change.
- Building (`building_id`, number): The building the prospect is interested in.
- Unit (`unit_id`, number): The unit the prospect is interested in.
- Status (`status`, text): The prospect's status.
- Source (`source`, text): Where the prospect came from. One of: `Website`, `Telephone`, `Walk In`, `Mobile Leasing for the iPad`, `Propertyware Marketplace`, `Email`, `Contact Center`.
- Move-in date (`move_in_date`, date): When the prospect wants to move in.
- Lowest rent (`rent_min`, number): The least rent the prospect is looking at. At least 0.
- Highest rent (`rent_max`, number): The most rent the prospect will pay. At least 0.
- Bedrooms (`number_bedrooms`, number): How many bedrooms the prospect wants. At least 0.
- Bathrooms (`number_bathrooms`, number): How many bathrooms the prospect wants. At least 0.
- Has pets (`has_pets`, true/false): Whether the prospect has pets.
- Pet type (`pet_type`, text): What pets the prospect has. One of: `None`, `Dog`, `Cat`, `Dog & Cat`, `Bird`, `Hamster`, `Other`.
- Preferred contact method (`preferred_contact_method`, text): How the prospect likes to be contacted. One of: `Work Phone`, `Home Phone`, `Mobile Phone`, `Other Phone`, `Email`.
- Notes (`notes`, text): Notes about the prospect.
- Reason for moving (`reason_for_moving`, text): Why the prospect is moving.

**Outputs**

- `data` (object): Prospect.

**Example output**

```json
{
  "data": {
    "applicationFeePaid": false,
    "assignedToFullName": "example",
    "buildingID": 1,
    "cityDesired": "example",
    "comments": "example",
    "contacts": [],
    "createdBy": "example",
    "createdDateTime": "example",
    "currentHomeType": "example",
    "currentRentMortgage": 1.0,
    "customFields": [],
    "hasPets": false,
    "id": 1,
    "lastModifiedBy": "example",
    "lastModifiedDateTime": "example",
    "leaseEndDate": "example",
    "leaseStartDate": "example",
    "moveInDate": "example",
    "neighborhoodDesired": "example",
    "numberBathrooms": 1.0,
    "numberBedrooms": 1,
    "numberOfPets": 1,
    "petType": "example",
    "petWeights": "example",
    "portfolioID": 1,
    "preferredContactMethod": "example",
    "propertyAddress": "example",
    "propertyAddress2": "example",
    "propertyArea": 1.0,
    "propertyAreaUnits": "example",
    "propertyCity": "example",
    "propertyCountry": "example",
    "propertyNumberBathrooms": 1.0,
    "propertyNumberBedrooms": 1,
    "propertyState": "example",
    "propertyZip": "example",
    "reasonForMoving": "example",
    "rent": 1.0,
    "rentMax": 1.0,
    "rentMin": 1.0,
    "securityDeposit": 1.0,
    "source": "example",
    "stateDesired": "example",
    "status": "example",
    "timeAtCurrentResidence": "example",
    "type": "example",
    "typeOfInquiry": "example",
    "unitDesired": "example",
    "unitID": 1,
    "unitTypeDesired": "example",
    "zipDesired": "example"
  }
}
```

### Update a unit

Change a unit's name, rent, size, layout or marketing details. Only the fields you fill in are changed.

**Inputs**

- Unit (`unit_id`, number, required): The unit to change.
- Name (`name`, text): The unit's name.
- Abbreviation (`abbreviation`, text): The unit's short name.
- Market rent (`target_rent`, number): The unit's market rent. At least 0.
- Target deposit (`target_deposit`, number): The security deposit to ask for. At least 0.
- Bedrooms (`number_bedrooms`, number): The number of bedrooms. At least 0.
- Bathrooms (`number_bathrooms`, number): The number of bathrooms, in steps of a half. From 0 to 10.
- Area (`total_area`, number): The unit's area. At least 0.
- Available date (`available_date`, date): When the unit is available to lease.
- Ready to lease (`ready`, true/false): Whether the unit is ready to lease.
- Pets allowed (`pets_allowed`, true/false): Indicates if pets are allowed in a unit.
- Marketing description (`description`, text): Marketing Description.
- Posting title (`posting_title`, text): Marketing posting title.
- Search tag (`search_tag`, text): Search tag.

**Outputs**

- `data` (object): Unit.

**Example output**

```json
{
  "data": {
    "abbreviation": "example",
    "active": false,
    "address": {
      "address": "example",
      "addressCont": "example",
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "stateRegion": "example"
    },
    "amenities": [],
    "areaUnits": "Sq Ft",
    "buildingID": 1,
    "category": "RESIDENTIAL",
    "county": "example",
    "createdBy": "example",
    "createdDateTime": "example",
    "customFields": [],
    "floorNumber": 1,
    "id": 1,
    "idNumber": 1,
    "lastModifiedBy": "example",
    "lastModifiedDateTime": "example",
    "leaseID": 1,
    "maintenanceNotice": "example",
    "maintenanceSpendingLimitTime": "NO_LIMIT",
    "management": {
      "managementContractEndDate": "example",
      "managementContractStartDate": "example",
      "managementFeeType": "example",
      "managementFees": [],
      "managementFeesType": "MANAGE_FEE_NONE",
      "managementFlatFee": 1.0
    },
    "marketing": {
      "availableDate": "example",
      "comments": "example",
      "featured": false,
      "featuredForRent": false,
      "featuredForSale": false,
      "forSale": false,
      "latitude": 1.0,
      "leaseTerms": 1,
      "leaseTermsUnits": "example",
      "longitude": 1.0,
      "marketingName": "example",
      "mlsLeaseNumber": "example",
      "mlsNumber": "example",
      "moveInDays": 1,
      "otherTenantCharges": "example",
      "parcelNumber": "example",
      "petCatAllowed": false,
      "petDogAllowed": false,
      "petOtherAllowed": false,
      "petsAllowed": false,
      "postingTitle": "example",
      "publishedForRent": false,
      "publishedForSale": false,
      "salePrice": 1.0,
      "saleTerms": "example",
      "shortDescription": "example",
      "smokingAllowed": false,
      "specials": "example",
      "syndicate": false
    },
    "name": "example",
    "neighborhood": "example",
    "numberFloors": 1,
    "numberOfBathrooms": 1.0,
    "numberOfBedrooms": 1,
    "portfolioID": 1,
    "propertyManagerList": [],
    "ready": false,
    "rentable": false,
    "searchTag": "example",
    "status": "example",
    "syndicate": false,
    "targetDeposit": "example",
    "targetDepositAmount": 1.0,
    "targetRent": 1.0,
    "targetRentUnits": "DOLLAR_PER_SQ_FT_MONTH",
    "totalArea": 1.0,
    "type": "example",
    "website": "example",
    "yearBuilt": 1
  }
}
```

### Update a work order

Change a work order's description, priority, schedule or estimates. Only the fields you fill in are changed.

**Inputs**

- Work order ID (`work_order_id`, number, required): The ID of the work order to change.
- Description (`description`, text): What needs doing.
- Priority (`priority`, text): How urgent the work is. One of: `HIGH`, `MEDIUM`, `LOW`.
- Type (`work_order_type`, text): The kind of work order, such as General, Service Request, Turnover, Inspection or Estimate.
- Category (`category`, text): The work order's category, as set up in Propertyware.
- Source (`source`, text): How the request came in, such as Telephone, Email, Website or Tenant Portal.
- Requested by (contact ID) (`requested_by_contact_id`, number): The ID of the contact who reported the problem, usually the tenant or owner.
- Cost estimate (`cost_estimate`, number): The estimated cost. At least 0.
- Hour estimate (`hour_estimate`, number): The estimated hours of work. At least 0.
- Start date (`start_date`, date): When the work started.
- Scheduled end date (`scheduled_end_date`, date): When the work is scheduled to be finished.
- Permission to enter (`authorized_to_enter`, text): Whether the tenant lets maintenance staff in. One of: `NO`, `ANYTIME`, `SPECIFIEDTIME`.
- Date to enter (`date_to_enter`, date): The day staff may enter, when permission is for a set time.
- Location (`specific_location`, text): Where in the unit the problem is.
- Required materials (`required_materials`, text): Materials the work needs.
- Show in tenant portal (`publish_to_tenant_portal`, true/false): Show the work order in the tenant portal.
- Show in owner portal (`publish_to_owner_portal`, true/false): Show the work order in the owner portal.
- Search tag (`search_tag`, text): A word to find the work order by in Propertyware.

**Outputs**

- `data` (object): Work Order.

**Example output**

```json
{
  "data": {
    "actualCost": 1.0,
    "age": 1,
    "approved": false,
    "approvedDate": "example",
    "assignedVendors": [],
    "authorizedToEnter": "NO",
    "buildingID": 1,
    "category": "example",
    "completedDate": "example",
    "contractNumber": "example",
    "costEstimate": 1.0,
    "createdBy": "example",
    "createdDateTime": "example",
    "customFields": [],
    "dateToEnter": "example",
    "description": "example",
    "hourEstimate": 1.0,
    "id": 1,
    "lastModifiedBy": "example",
    "lastModifiedDateTime": "example",
    "lease": "example",
    "location": "example",
    "maintenanceNotice": "example",
    "managedBy": "example",
    "number": 1,
    "ownerCost": 1.0,
    "portfolioID": 1,
    "priority": "HIGH",
    "publishToOwnerPortal": false,
    "publishToTenantPortal": false,
    "requestedBy": "example",
    "requiredMaterials": "example",
    "scheduledEndDate": "example",
    "searchTag": "example",
    "source": "example",
    "specificLocation": "example",
    "startDate": "example",
    "status": "example",
    "type": "example",
    "unitID": 1,
    "unitIDs": {}
  }
}
```
