# Track

> Manage reservations, contacts, leads, tasks and maintenance work orders, and read units and owners in Track.

App · 28 actions. Web page: https://docs.lodol.com/docs/integrations/track-hs

## Actions

### Cancel a reservation

Cancel a reservation. A charge is taken under the cancellation policy when one is given.

**Inputs**

- Reservation ID (`reservation_id`, number, required): The ID of the reservation to cancel.
- Cancellation charge (`charge`, number): An amount to charge under the cancellation policy. Leave blank for none. At least 0.
- Cancel work orders (`cancel_work_orders`, true/false): Also cancel the reservation's work orders.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "_embedded": {
      "_embedded": {
        "parentRate": {
          "_links": {}
        }
      },
      "cancellationPolicy": {
        "_links": {
          "self": {}
        },
        "airbnbType": "example",
        "breakpoints": [],
        "canExceedBalance": false,
        "cancelTime": "example",
        "cancelTimezone": "example",
        "chargeAs": "fee",
        "code": "example",
        "createdAt": "example",
        "createdBy": "example",
        "dateGroupId": 1,
        "dateRangeType": "example",
        "endDate": "example",
        "homeawayType": "example",
        "id": 1,
        "isActive": false,
        "isDefault": false,
        "marriottType": "example",
        "name": "example",
        "postDate": "now",
        "priority": 1,
        "startDate": "example",
        "updatedAt": "example",
        "updatedBy": "example"
      },
      "contact": {
        "_links": {
          "self": {}
        },
        "anniversary": "example",
        "birthdate": "example",
        "cellPhone": "example",
        "country": "example",
        "createdAt": "example",
        "createdBy": "example",
        "custom": {
          "custom_n": "example"
        },
        "extendedAddress": "example",
        "fax": "example",
        "firstName": "example",
        "homePhone": "example",
        "id": 1,
        "isBlacklist": false,
        "isDNR": false,
        "isOwnerContact": false,
        "isVip": false,
        "lastName": "example",
        "locality": "example",
        "name": "example",
        "noIdentity": false,
        "notes": "example",
        "otherPhone": "example",
        "postalCode": "example",
        "primaryEmail": "example",
        "references": [],
        "region": "example",
        "secondaryEmail": "example",
        "streetAddress": "example",
        "tags": [],
        "updatedAt": "example",
        "updatedBy": "example",
        "workPhone": "example"
      },
      "guaranteePolicy": {
        "_links": {
          "self": {}
        },
        "amount": "example",
        "beforeArrivalEnd": 1,
        "beforeArrivalStart": 1,
        "breakpoints": [],
        "depositType": "example",
        "description": "example",
        "hasPaymentSchedule": false,
        "holdLimit": 1,
        "id": 1,
        "includeFees": false,
        "includeFolioCharges": false,
        "includeTax": false,
        "includeTravelInsurance": false,
        "isActive": false,
        "isAutomaticCancel": false,
        "isDefault": false,
        "name": "example",
        "priority": 1,
        "travelInsuranceWithFirstPayment": false,
        "type": "Hold"
      },
      "rateType": {
        "channelIds": [],
        "code": "example",
        "createdAt": "example",
        "createdBy": "example",
        "cta": {
          "friday": false,
          "monday": false,
          "saturday": false,
          "sunday": false,
          "thursday": false,
          "tuesday": false,
          "wednesday": false
        },
        "ctaOverride": false,
        "ctd": {
          "friday": false,
          "monday": false,
          "saturday": false,
          "sunday": false,
          "thursday": false,
          "tuesday": false,
          "wednesday": false
        },
        "ctdOverride": false,
        "id": 1,
        "isActive": false,
        "isAllChannels": false,
        "isAutoSelect": false,
        "maxLosAmount": 1.0,
        "maxLosType": "example",
        "minLosAmount": 1.0,
        "minLosType": "example",
        "name": "example",
        "occupancyPricingByType": false,
        "parentRateId": 1,
        "rentAmount": "example",
        "rentType": "example",
        "type": "example",
        "updatedAt": "example",
        "updatedBy": "example"
      },
      "type": {
        "_links": {
          "self": {}
        },
        "autoSelect": false,
        "automaticLoginMode": "on",
        "chargeGroup": {
          "description": "example",
          "id": 1,
          "isActive": false,
          "name": "example"
        },
        "chargeGroupId": 1,
        "chargeRates": false,
        "chargeRent": "owner",
        "cleaningOptionsId": 1,
        "code": "example",
        "createdAt": "example",
        "createdBy": "example",
        "deferDisbursement": false,
        "deferDisbursementDate": "example",
        "description": "example",
        "id": 1,
        "isActive": false,
        "isCommissionable": false,
        "isDefault": false,
        "isLocked": false,
        "isOwner": false,
        "midStayServiceScheduleId": 1,
        "name": "example",
        "ownerStay": false,
        "personalUse": false,
        "portalReservationBreakdown": false,
        "posDefaultAllow": false,
        "posDefaultLimit": "example",
        "publicName": "example",
        "realizeRates": "nightly",
        "rentEarned": "owner",
        "requirePayment": false,
        "requiresAgreement": false,
        "schedulePercentage1": 1,
        "schedulePercentage2": 1,
        "scheduleType1": "example",
        "scheduleType2": "example",
        "securityDepositType": "example",
        "sendPortalInvites": false,
        "showFolioTransactions": false,
        "typeColor": "example",
        "updatedAt": "example",
        "updatedBy": "example"
      },
      "unit": {
        "_links": {
          "self": {}
        },
        "amenities": [],
        "amenityDescription": "example",
        "area": 1.0,
        "bedTypes": [],
        "bedrooms": 1,
        "checkinDetails": "example",
        "checkinTime": "example",
        "checkoutTime": "example",
        "childrenAllowed": false,
        "country": "example",
        "coverImage": "example",
        "createdAt": "example",
        "directions": "example",
        "earlyCheckinTime": "example",
        "eventsAllowed": false,
        "extendedAddress": "example",
        "floors": 1.0,
        "fullBathrooms": 1,
        "halfBathrooms": 1,
        "hasEarlyCheckin": false,
        "hasLateCheckout": false,
        "headline": "example",
        "houseRules": "example",
        "id": 1,
        "isAccessible": false,
        "isActive": false,
        "lateCheckoutTime": "example",
        "latitude": 1.0,
        "localOffice": {
          "country": "example",
          "directions": "example",
          "email": "example",
          "extendedAddress": "example",
          "latitude": "example",
          "locality": "example",
          "longitude": "example",
          "name": "example",
          "phone": "example",
          "postalCode": "example",
          "region": "example",
          "streetAddress": "example"
        },
        "locality": "example",
        "lodgingType": {
          "id": 1,
          "name": "example"
        },
        "longDescription": "example",
        "longitude": 1.0,
        "maxBookingWindow": 1,
        "maxOccupancy": 1,
        "maxPets": 1,
        "minBookingWindow": 1,
        "minimumAgeLimit": 1,
        "name": "example",
        "nodeId": 1,
        "petsFriendly": false,
        "phone": "example",
        "postalCode": "example",
        "region": "example",
        "regulations": [],
        "rooms": [],
        "securityDeposit": "example",
        "shortDescription": "example",
        "shortName": "example",
        "smokingAllowed": false,
        "streetAddress": "example",
        "taxId": 1,
        "threeQuarterBathrooms": 1,
        "timezone": "example",
        "unitCode": "example",
        "unitType": {
          "id": 1,
          "name": "example"
        },
        "updated": {
          "availability": "example",
          "content": "example",
          "pricing": "example"
        },
        "updatedAt": "example",
        "website": "example"
      },
      "user": {
        "_embedded": {
          "vendor": {}
        },
        "_links": {
          "self": {}
        },
        "assignable": [],
        "createdAt": "example",
        "createdBy": "example",
        "email": "example",
        "id": 1,
        "isActive": false,
        "name": "example",
        "phone": "example",
        "roleId": 1,
        "teamId": 1,
        "updatedAt": "example",
        "updatedBy": "example",
        "username": "example",
        "vendorId": 1
      }
    },
    "_links": {
      "cancel": {
        "href": "example"
      },
      "checkin": {
        "href": "example"
      },
      "discount": {
        "href": "example"
      },
      "fees": {
        "href": "example"
      },
      "logs": {
        "href": "example"
      },
      "notes": {
        "href": "example"
      },
      "rates": {
        "href": "example"
      },
      "self": {
        "href": "example"
      },
      "tags": {
        "href": "example"
      }
    },
    "agreementStatus": "not-needed",
    "alternates": [],
    "arrivalDate": "example",
    "arrivalTime": "example",
    "autoCheckinAttempts": 1,
    "automatePayment": false,
    "bookedAt": "example",
    "campaignId": 1,
    "cancellationPolicyId": 1,
    "cancellationReasonId": 1,
    "cancelledAt": "example",
    "cancelledById": 1,
    "channelId": 1,
    "contactId": 1,
    "createdAt": "example",
    "createdBy": "example",
    "currency": "example",
    "departureDate": "example",
    "departureTime": "example",
    "discountNotes": "example",
    "discountReason": {},
    "discountReasonId": 1,
    "earlyArrival": false,
    "esignDocCount": 1,
    "esignDocCountByAgreementStatus": 1,
    "folioId": 1,
    "groupId": 1,
    "guaranteePolicyId": 1,
    "guestBreakdown": {
      "actualAdr": "example",
      "balance": "example",
      "discount": "example",
      "discountTotal": 1.0,
      "folioCharges": "example",
      "grandTotal": "example",
      "grossRent": "example",
      "guestAdr": "example",
      "guestFees": [],
      "guestGrossDisplayRent": "example",
      "guestNetDisplayRent": "example",
      "guestSubtotal": "example",
      "netPayments": "example",
      "netRent": "example",
      "netTransfers": "example",
      "payments": "example",
      "promoValue": "example",
      "rates": [],
      "refunds": "example",
      "subtotal": "example",
      "taxes": [],
      "total": "example",
      "totalGuestFees": "example",
      "totalGuestTaxes": "example",
      "totalItemizedFees": "example",
      "totalRentFees": "example",
      "totalServiceFees": "example",
      "totalTaxFees": "example",
      "totalTaxes": "example"
    },
    "holdExpiresAt": "example",
    "id": 1,
    "insuranceProducts": [],
    "inviteUuid": "example",
    "isChannelLocked": false,
    "isTaxable": false,
    "isUnitAssigned": false,
    "isUnitLocked": false,
    "isUnitTypeLocked": false,
    "lateDeparture": false,
    "nights": 1.0,
    "occupants": [],
    "ownerBreakdown": {
      "agentCommission": "example",
      "feeRevenue": "example",
      "grossRent": "example",
      "grossRevenue": "example",
      "managerCommission": "example",
      "netRevenue": "example",
      "ownerFees": []
    },
    "paymentMethodId": 1,
    "paymentPlan": [],
    "promoCodeId": 1,
    "quoteId": 1,
    "rateType": {
      "code": "example",
      "id": 1,
      "name": "example"
    },
    "rateTypeId": 1,
    "revenueRealizedMethod": "example",
    "schedulePercentage1": 1.0,
    "schedulePercentage2": 1.0,
    "scheduleType1": "example",
    "scheduleType2": "example",
    "securityDeposit": {
      "remaining": 1.0,
      "required": "example"
    },
    "source": "example",
    "status": "Hold",
    "subChannel": "example",
    "travelAgentId": 1,
    "travelInsuranceProducts": [],
    "typeId": 1,
    "unitCodeId": 1,
    "unitId": 1,
    "unitTypeId": 1,
    "updatedAt": "example",
    "updatedBy": "example",
    "userId": 1,
    "uuid": "example"
  }
}
```

### Complete a maintenance work order

Mark a maintenance work order completed.

**Inputs**

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

**Outputs**

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

**Example output**

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

### Create a contact

Create a guest or other contact.

**Inputs**

- First name (`first_name`, text, required): The contact's first name.
- Last name (`last_name`, text, required): The contact's last name.
- Email (`primary_email`, text): The contact's email address. No two contacts can share one.
- Other email (`secondary_email`, text): Another email address for the contact.
- Mobile phone (`cell_phone`, text): The contact's mobile number, such as +15555550123.
- Home phone (`home_phone`, text): The contact's home number, such as +15555550123.
- Work phone (`work_phone`, text): The contact's work number, such as +15555550123.
- Street (`street_address`, text): The street address.
- Street line 2 (`extended_address`, text): The second address line.
- 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 two-letter country code, such as US.
- Notes (`notes`, text): Notes about the contact.
- VIP (`is_vip`, true/false): Mark the contact as a VIP.
- Do not rent (`do_not_rent`, true/false): Flag the contact as someone not to rent to.

**Outputs**

- `data` (object): A CRM contact (guest, owner, or vendor employee). The set of populated fields varies by:.

**Example output**

```json
{
  "data": {
    "_links": {
      "self": {
        "href": "example"
      }
    },
    "achAccountNumber": "example",
    "achAccountType": "business-checking",
    "achDebitAuthorization": false,
    "achRoutingNumber": "example",
    "achVerifiedAt": "example",
    "anniversary": "example",
    "birthdate": "example",
    "cellPhone": "example",
    "country": "example",
    "createdAt": "example",
    "createdBy": "example",
    "custom": {},
    "extendedAddress": "example",
    "fax": "example",
    "firstName": "example",
    "homePhone": "example",
    "id": 1,
    "isBlacklist": false,
    "isDNR": false,
    "isOwnerContact": false,
    "isVip": false,
    "lastName": "example",
    "locality": "example",
    "name": "example",
    "noIdentity": false,
    "notes": "example",
    "notifyViaEmail": false,
    "notifyViaText": false,
    "optOutMarketing": false,
    "otherPhone": "example",
    "paymentType": "print",
    "portalInviteDate": "example",
    "portalInviteStatus": "example",
    "portalLastLogin": "example",
    "postalCode": "example",
    "primaryEmail": "example",
    "quoteCount": 1,
    "references": [],
    "region": "example",
    "secondaryEmail": "example",
    "streetAddress": "example",
    "tags": [],
    "taxId": "example",
    "taxIdMasked": "example",
    "underage": false,
    "updatedAt": "example",
    "updatedBy": "example",
    "workPhone": "example"
  }
}
```

### Create a lead

Create a sales lead for a contact.

**Inputs**

- Contact ID (`contact_id`, number, required): The ID of the contact the lead is for, from List contacts.
- Subject (`subject`, text): A short subject for the lead.
- Source (`lead_source`, text): How the lead came in. One of: `chat`, `email`, `call-in`, `call-out`, `form`, `voicemail`, `user`.
- Arrival date (`arrival_date`, date): The arrival date the guest asked about.
- Departure date (`departure_date`, date): The departure date the guest asked about.
- Follow-up date (`follow_up`, date): When to follow up.
- Lead value (`lead_value`, number): What the lead is worth. At least 0.
- Priority (`priority`, number): The lead's priority, as a number.
- Phone number (`originating_phone_number`, text): The number the lead called from, such as +15555550123.

**Outputs**

- `data` (object): A CRM lead. Mirrors the field set returned by LeadsHydrator::extract().

**Example output**

```json
{
  "data": {
    "_embedded": {
      "agent": {
        "_links": {
          "self": {}
        },
        "email": "example",
        "id": 1,
        "name": "example"
      },
      "autoClose": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "label": "example"
      },
      "brand": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "name": "example"
      },
      "campaign": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "name": "example"
      },
      "closeUser": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "name": "example"
      },
      "contact": {
        "_links": {
          "self": {}
        },
        "firstName": "example",
        "id": 1,
        "lastName": "example",
        "name": "example",
        "primaryEmail": "example"
      },
      "leadType": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "label": "example"
      },
      "lostReason": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "label": "example"
      },
      "mergedInto": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "subject": "example"
      },
      "status": {
        "_links": {
          "self": {}
        },
        "handle": "example",
        "id": 1,
        "label": "example"
      }
    },
    "_links": {
      "self": {
        "href": "example"
      }
    },
    "agentId": 1,
    "archivedAt": "example",
    "arrivalDate": "example",
    "autoCloseId": 1,
    "brandId": 1,
    "campaignId": 1,
    "closeDate": "example",
    "closeUserId": 1,
    "contactId": 1,
    "createdAt": "example",
    "createdBy": "example",
    "custom": {},
    "departureDate": "example",
    "followUp": "example",
    "id": 1,
    "isArchived": false,
    "leadSource": "chat",
    "leadTypeId": 1,
    "leadValue": 1.0,
    "lostReasonId": 1,
    "mergedIntoId": 1,
    "nights": 1,
    "oneConversationClose": false,
    "originatingPhoneNumber": "example",
    "priority": 1,
    "replyToEmail": "example",
    "sales": [],
    "statusId": 1,
    "subject": "example",
    "tags": [],
    "token": "example",
    "updatedAt": "example",
    "updatedBy": "example"
  }
}
```

### Create a maintenance work order

Create a maintenance work order for a unit.

**Inputs**

- Summary (`summary`, text, required): A short summary of the problem.
- Description (`description`, text): The problem in full.
- Priority (`priority`, number, required): How urgent the work is. One of: `5` (High), `3` (Medium), `1` (Low).
- Date received (`date_received`, date, required): When the problem was reported.
- Date scheduled (`date_scheduled`, date): When the work is scheduled.
- Estimated cost (`estimated_cost`, number, required): The estimated cost. At least 0.
- Estimated minutes (`estimated_time`, number, required): The estimated time, in minutes. At least 0.
- Unit (`unit_id`, number): The unit the work is for.
- Reservation ID (`reservation_id`, number): The reservation the work is about, by ID.
- Vendor ID (`vendor_id`, number): The ID of the vendor doing the work.
- Assigned user ID (`assigned_user_id`, number): The ID of the Track user responsible for the work.
- Reference number (`reference_number`, text): Your own reference for the work order.
- Source (`source`, text): How the problem was reported.
- Reported by (`source_name`, text): The name of the person who reported it.
- Reporter's phone (`source_phone`, text): The phone number of the person who reported it.
- Work performed (`work_performed`, text): What was done.
- Minutes spent (`actual_time`, number): The time spent, in minutes. At least 0.
- Block check-in (`block_checkin`, true/false): Stop reservations checking in on the scheduled date.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "_embedded": {
      "owner": {},
      "unit": {},
      "vendor": {}
    },
    "_links": {
      "contacts": {
        "href": "example"
      },
      "licences": {
        "href": "example"
      },
      "self": {
        "href": "example"
      }
    },
    "actualTime": 1,
    "assignees": [],
    "blockCheckin": false,
    "completedById": 1.0,
    "createdAt": "example",
    "createdBy": "example",
    "dateCompleted": "example",
    "dateProcessed": "example",
    "dateReceived": "example",
    "description": "example",
    "estimatedCost": 1.0,
    "estimatedTime": 1,
    "id": 1,
    "ownerId": 1.0,
    "priority": 5,
    "problems": [],
    "processedById": 1.0,
    "referenceNumber": "example",
    "reservationId": 1.0,
    "source": "example",
    "sourceName": "example",
    "sourcePhone": "example",
    "status": "open",
    "summary": "example",
    "unitId": 1.0,
    "updatedAt": "example",
    "updatedBy": "example",
    "userId": 1.0,
    "vendorId": 1.0,
    "workPerformed": "example"
  }
}
```

### Create a task

Create a task, optionally about a unit, reservation, contact or lead.

**Inputs**

- Title (`title`, text, required): What the task is.
- Description (`description`, text): The task in full.
- Priority (`priority`, number, required): How urgent the task is. One of: `5` (High), `3` (Medium), `1` (Low).
- Due date (`due_at`, date): When the task is due.
- Completed on (`completed_at`, date): When the task was completed. Leave blank for an open task.
- Unit (`unit_id`, number): The unit the task is about.
- Assigned user ID (`assigned_user_id`, number): The ID of the Track user the task is assigned to.
- Reservation ID (`reservation_id`, number): The reservation the task is linked to.
- Contact ID (`contact_id`, number): The contact the task is about.
- Lead ID (`lead_id`, number): The lead the task is about.

**Outputs**

- `data` (object): Response contains fields for all tasks.

**Example output**

```json
{
  "data": {
    "_links": {
      "contacts": {
        "href": "example"
      },
      "licences": {
        "href": "example"
      },
      "self": {
        "href": "example"
      }
    },
    "completedAt": "example",
    "contactId": 1,
    "createdAt": "example",
    "createdBy": "example",
    "description": "example",
    "dueAt": "example",
    "id": 1,
    "leadId": 1,
    "priority": 5,
    "reservationId": 1,
    "saleId": 1,
    "surveyQuestionId": 1,
    "surveyResponseId": 1,
    "title": "example",
    "unitId": 1,
    "updatedAt": "example",
    "updatedBy": "example",
    "userId": 1
  }
}
```

### Delete a contact

Delete a contact.

**Inputs**

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

**Outputs**

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

**Example output**

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

### Delete a lead

Delete a lead.

**Inputs**

- Lead ID (`lead_id`, number, required): The ID of the lead to delete.

**Outputs**

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

**Example output**

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

### Delete a maintenance work order

Delete a maintenance work order.

**Inputs**

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

**Outputs**

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

**Example output**

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

### 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): A CRM contact (guest, owner, or vendor employee). The set of populated fields varies by:.

**Example output**

```json
{
  "data": {
    "_links": {
      "self": {
        "href": "example"
      }
    },
    "achAccountNumber": "example",
    "achAccountType": "business-checking",
    "achDebitAuthorization": false,
    "achRoutingNumber": "example",
    "achVerifiedAt": "example",
    "anniversary": "example",
    "birthdate": "example",
    "cellPhone": "example",
    "country": "example",
    "createdAt": "example",
    "createdBy": "example",
    "custom": {},
    "extendedAddress": "example",
    "fax": "example",
    "firstName": "example",
    "homePhone": "example",
    "id": 1,
    "isBlacklist": false,
    "isDNR": false,
    "isOwnerContact": false,
    "isVip": false,
    "lastName": "example",
    "locality": "example",
    "name": "example",
    "noIdentity": false,
    "notes": "example",
    "notifyViaEmail": false,
    "notifyViaText": false,
    "optOutMarketing": false,
    "otherPhone": "example",
    "paymentType": "print",
    "portalInviteDate": "example",
    "portalInviteStatus": "example",
    "portalLastLogin": "example",
    "postalCode": "example",
    "primaryEmail": "example",
    "quoteCount": 1,
    "references": [],
    "region": "example",
    "secondaryEmail": "example",
    "streetAddress": "example",
    "tags": [],
    "taxId": "example",
    "taxIdMasked": "example",
    "underage": false,
    "updatedAt": "example",
    "updatedBy": "example",
    "workPhone": "example"
  }
}
```

### Get a lead

Get one lead by ID.

**Inputs**

- Lead ID (`lead_id`, number, required): The ID of the lead, from List leads.

**Outputs**

- `data` (object): A CRM lead. Mirrors the field set returned by LeadsHydrator::extract().

**Example output**

```json
{
  "data": {
    "_embedded": {
      "agent": {
        "_links": {
          "self": {}
        },
        "email": "example",
        "id": 1,
        "name": "example"
      },
      "autoClose": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "label": "example"
      },
      "brand": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "name": "example"
      },
      "campaign": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "name": "example"
      },
      "closeUser": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "name": "example"
      },
      "contact": {
        "_links": {
          "self": {}
        },
        "firstName": "example",
        "id": 1,
        "lastName": "example",
        "name": "example",
        "primaryEmail": "example"
      },
      "leadType": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "label": "example"
      },
      "lostReason": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "label": "example"
      },
      "mergedInto": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "subject": "example"
      },
      "status": {
        "_links": {
          "self": {}
        },
        "handle": "example",
        "id": 1,
        "label": "example"
      }
    },
    "_links": {
      "self": {
        "href": "example"
      }
    },
    "agentId": 1,
    "archivedAt": "example",
    "arrivalDate": "example",
    "autoCloseId": 1,
    "brandId": 1,
    "campaignId": 1,
    "closeDate": "example",
    "closeUserId": 1,
    "contactId": 1,
    "createdAt": "example",
    "createdBy": "example",
    "custom": {},
    "departureDate": "example",
    "followUp": "example",
    "id": 1,
    "isArchived": false,
    "leadSource": "chat",
    "leadTypeId": 1,
    "leadValue": 1.0,
    "lostReasonId": 1,
    "mergedIntoId": 1,
    "nights": 1,
    "oneConversationClose": false,
    "originatingPhoneNumber": "example",
    "priority": 1,
    "replyToEmail": "example",
    "sales": [],
    "statusId": 1,
    "subject": "example",
    "tags": [],
    "token": "example",
    "updatedAt": "example",
    "updatedBy": "example"
  }
}
```

### Get a maintenance work order

Get one maintenance work order by ID.

**Inputs**

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

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "_embedded": {
      "owner": {},
      "unit": {},
      "vendor": {}
    },
    "_links": {
      "contacts": {
        "href": "example"
      },
      "licences": {
        "href": "example"
      },
      "self": {
        "href": "example"
      }
    },
    "actualTime": 1,
    "assignees": [],
    "blockCheckin": false,
    "completedById": 1.0,
    "createdAt": "example",
    "createdBy": "example",
    "dateCompleted": "example",
    "dateProcessed": "example",
    "dateReceived": "example",
    "description": "example",
    "estimatedCost": 1.0,
    "estimatedTime": 1,
    "id": 1,
    "ownerId": 1.0,
    "priority": 5,
    "problems": [],
    "processedById": 1.0,
    "referenceNumber": "example",
    "reservationId": 1.0,
    "source": "example",
    "sourceName": "example",
    "sourcePhone": "example",
    "status": "open",
    "summary": "example",
    "unitId": 1.0,
    "updatedAt": "example",
    "updatedBy": "example",
    "userId": 1.0,
    "vendorId": 1.0,
    "workPerformed": "example"
  }
}
```

### Get a reservation

Get one reservation by ID.

**Inputs**

- Reservation ID (`reservation_id`, number, required): The ID of the reservation, from List reservations.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "_embedded": {
      "_embedded": {
        "parentRate": {
          "_links": {}
        }
      },
      "cancellationPolicy": {
        "_links": {
          "self": {}
        },
        "airbnbType": "example",
        "breakpoints": [],
        "canExceedBalance": false,
        "cancelTime": "example",
        "cancelTimezone": "example",
        "chargeAs": "fee",
        "code": "example",
        "createdAt": "example",
        "createdBy": "example",
        "dateGroupId": 1,
        "dateRangeType": "example",
        "endDate": "example",
        "homeawayType": "example",
        "id": 1,
        "isActive": false,
        "isDefault": false,
        "marriottType": "example",
        "name": "example",
        "postDate": "now",
        "priority": 1,
        "startDate": "example",
        "updatedAt": "example",
        "updatedBy": "example"
      },
      "contact": {
        "_links": {
          "self": {}
        },
        "anniversary": "example",
        "birthdate": "example",
        "cellPhone": "example",
        "country": "example",
        "createdAt": "example",
        "createdBy": "example",
        "custom": {
          "custom_n": "example"
        },
        "extendedAddress": "example",
        "fax": "example",
        "firstName": "example",
        "homePhone": "example",
        "id": 1,
        "isBlacklist": false,
        "isDNR": false,
        "isOwnerContact": false,
        "isVip": false,
        "lastName": "example",
        "locality": "example",
        "name": "example",
        "noIdentity": false,
        "notes": "example",
        "otherPhone": "example",
        "postalCode": "example",
        "primaryEmail": "example",
        "references": [],
        "region": "example",
        "secondaryEmail": "example",
        "streetAddress": "example",
        "tags": [],
        "updatedAt": "example",
        "updatedBy": "example",
        "workPhone": "example"
      },
      "guaranteePolicy": {
        "_links": {
          "self": {}
        },
        "amount": "example",
        "beforeArrivalEnd": 1,
        "beforeArrivalStart": 1,
        "breakpoints": [],
        "depositType": "example",
        "description": "example",
        "hasPaymentSchedule": false,
        "holdLimit": 1,
        "id": 1,
        "includeFees": false,
        "includeFolioCharges": false,
        "includeTax": false,
        "includeTravelInsurance": false,
        "isActive": false,
        "isAutomaticCancel": false,
        "isDefault": false,
        "name": "example",
        "priority": 1,
        "travelInsuranceWithFirstPayment": false,
        "type": "Hold"
      },
      "rateType": {
        "channelIds": [],
        "code": "example",
        "createdAt": "example",
        "createdBy": "example",
        "cta": {
          "friday": false,
          "monday": false,
          "saturday": false,
          "sunday": false,
          "thursday": false,
          "tuesday": false,
          "wednesday": false
        },
        "ctaOverride": false,
        "ctd": {
          "friday": false,
          "monday": false,
          "saturday": false,
          "sunday": false,
          "thursday": false,
          "tuesday": false,
          "wednesday": false
        },
        "ctdOverride": false,
        "id": 1,
        "isActive": false,
        "isAllChannels": false,
        "isAutoSelect": false,
        "maxLosAmount": 1.0,
        "maxLosType": "example",
        "minLosAmount": 1.0,
        "minLosType": "example",
        "name": "example",
        "occupancyPricingByType": false,
        "parentRateId": 1,
        "rentAmount": "example",
        "rentType": "example",
        "type": "example",
        "updatedAt": "example",
        "updatedBy": "example"
      },
      "type": {
        "_links": {
          "self": {}
        },
        "autoSelect": false,
        "automaticLoginMode": "on",
        "chargeGroup": {
          "description": "example",
          "id": 1,
          "isActive": false,
          "name": "example"
        },
        "chargeGroupId": 1,
        "chargeRates": false,
        "chargeRent": "owner",
        "cleaningOptionsId": 1,
        "code": "example",
        "createdAt": "example",
        "createdBy": "example",
        "deferDisbursement": false,
        "deferDisbursementDate": "example",
        "description": "example",
        "id": 1,
        "isActive": false,
        "isCommissionable": false,
        "isDefault": false,
        "isLocked": false,
        "isOwner": false,
        "midStayServiceScheduleId": 1,
        "name": "example",
        "ownerStay": false,
        "personalUse": false,
        "portalReservationBreakdown": false,
        "posDefaultAllow": false,
        "posDefaultLimit": "example",
        "publicName": "example",
        "realizeRates": "nightly",
        "rentEarned": "owner",
        "requirePayment": false,
        "requiresAgreement": false,
        "schedulePercentage1": 1,
        "schedulePercentage2": 1,
        "scheduleType1": "example",
        "scheduleType2": "example",
        "securityDepositType": "example",
        "sendPortalInvites": false,
        "showFolioTransactions": false,
        "typeColor": "example",
        "updatedAt": "example",
        "updatedBy": "example"
      },
      "unit": {
        "_links": {
          "self": {}
        },
        "amenities": [],
        "amenityDescription": "example",
        "area": 1.0,
        "bedTypes": [],
        "bedrooms": 1,
        "checkinDetails": "example",
        "checkinTime": "example",
        "checkoutTime": "example",
        "childrenAllowed": false,
        "country": "example",
        "coverImage": "example",
        "createdAt": "example",
        "directions": "example",
        "earlyCheckinTime": "example",
        "eventsAllowed": false,
        "extendedAddress": "example",
        "floors": 1.0,
        "fullBathrooms": 1,
        "halfBathrooms": 1,
        "hasEarlyCheckin": false,
        "hasLateCheckout": false,
        "headline": "example",
        "houseRules": "example",
        "id": 1,
        "isAccessible": false,
        "isActive": false,
        "lateCheckoutTime": "example",
        "latitude": 1.0,
        "localOffice": {
          "country": "example",
          "directions": "example",
          "email": "example",
          "extendedAddress": "example",
          "latitude": "example",
          "locality": "example",
          "longitude": "example",
          "name": "example",
          "phone": "example",
          "postalCode": "example",
          "region": "example",
          "streetAddress": "example"
        },
        "locality": "example",
        "lodgingType": {
          "id": 1,
          "name": "example"
        },
        "longDescription": "example",
        "longitude": 1.0,
        "maxBookingWindow": 1,
        "maxOccupancy": 1,
        "maxPets": 1,
        "minBookingWindow": 1,
        "minimumAgeLimit": 1,
        "name": "example",
        "nodeId": 1,
        "petsFriendly": false,
        "phone": "example",
        "postalCode": "example",
        "region": "example",
        "regulations": [],
        "rooms": [],
        "securityDeposit": "example",
        "shortDescription": "example",
        "shortName": "example",
        "smokingAllowed": false,
        "streetAddress": "example",
        "taxId": 1,
        "threeQuarterBathrooms": 1,
        "timezone": "example",
        "unitCode": "example",
        "unitType": {
          "id": 1,
          "name": "example"
        },
        "updated": {
          "availability": "example",
          "content": "example",
          "pricing": "example"
        },
        "updatedAt": "example",
        "website": "example"
      },
      "user": {
        "_embedded": {
          "vendor": {}
        },
        "_links": {
          "self": {}
        },
        "assignable": [],
        "createdAt": "example",
        "createdBy": "example",
        "email": "example",
        "id": 1,
        "isActive": false,
        "name": "example",
        "phone": "example",
        "roleId": 1,
        "teamId": 1,
        "updatedAt": "example",
        "updatedBy": "example",
        "username": "example",
        "vendorId": 1
      }
    },
    "_links": {
      "cancel": {
        "href": "example"
      },
      "checkin": {
        "href": "example"
      },
      "discount": {
        "href": "example"
      },
      "fees": {
        "href": "example"
      },
      "logs": {
        "href": "example"
      },
      "notes": {
        "href": "example"
      },
      "rates": {
        "href": "example"
      },
      "self": {
        "href": "example"
      },
      "tags": {
        "href": "example"
      }
    },
    "agreementStatus": "not-needed",
    "alternates": [],
    "arrivalDate": "example",
    "arrivalTime": "example",
    "autoCheckinAttempts": 1,
    "automatePayment": false,
    "bookedAt": "example",
    "campaignId": 1,
    "cancellationPolicyId": 1,
    "cancellationReasonId": 1,
    "cancelledAt": "example",
    "cancelledById": 1,
    "channelId": 1,
    "contactId": 1,
    "createdAt": "example",
    "createdBy": "example",
    "currency": "example",
    "departureDate": "example",
    "departureTime": "example",
    "discountNotes": "example",
    "discountReason": {},
    "discountReasonId": 1,
    "earlyArrival": false,
    "esignDocCount": 1,
    "esignDocCountByAgreementStatus": 1,
    "folioId": 1,
    "groupId": 1,
    "guaranteePolicyId": 1,
    "guestBreakdown": {
      "actualAdr": "example",
      "balance": "example",
      "discount": "example",
      "discountTotal": 1.0,
      "folioCharges": "example",
      "grandTotal": "example",
      "grossRent": "example",
      "guestAdr": "example",
      "guestFees": [],
      "guestGrossDisplayRent": "example",
      "guestNetDisplayRent": "example",
      "guestSubtotal": "example",
      "netPayments": "example",
      "netRent": "example",
      "netTransfers": "example",
      "payments": "example",
      "promoValue": "example",
      "rates": [],
      "refunds": "example",
      "subtotal": "example",
      "taxes": [],
      "total": "example",
      "totalGuestFees": "example",
      "totalGuestTaxes": "example",
      "totalItemizedFees": "example",
      "totalRentFees": "example",
      "totalServiceFees": "example",
      "totalTaxFees": "example",
      "totalTaxes": "example"
    },
    "holdExpiresAt": "example",
    "id": 1,
    "insuranceProducts": [],
    "inviteUuid": "example",
    "isChannelLocked": false,
    "isTaxable": false,
    "isUnitAssigned": false,
    "isUnitLocked": false,
    "isUnitTypeLocked": false,
    "lateDeparture": false,
    "nights": 1.0,
    "occupants": [],
    "ownerBreakdown": {
      "agentCommission": "example",
      "feeRevenue": "example",
      "grossRent": "example",
      "grossRevenue": "example",
      "managerCommission": "example",
      "netRevenue": "example",
      "ownerFees": []
    },
    "paymentMethodId": 1,
    "paymentPlan": [],
    "promoCodeId": 1,
    "quoteId": 1,
    "rateType": {
      "code": "example",
      "id": 1,
      "name": "example"
    },
    "rateTypeId": 1,
    "revenueRealizedMethod": "example",
    "schedulePercentage1": 1.0,
    "schedulePercentage2": 1.0,
    "scheduleType1": "example",
    "scheduleType2": "example",
    "securityDeposit": {
      "remaining": 1.0,
      "required": "example"
    },
    "source": "example",
    "status": "Hold",
    "subChannel": "example",
    "travelAgentId": 1,
    "travelInsuranceProducts": [],
    "typeId": 1,
    "unitCodeId": 1,
    "unitId": 1,
    "unitTypeId": 1,
    "updatedAt": "example",
    "updatedBy": "example",
    "userId": 1,
    "uuid": "example"
  }
}
```

### Get a task

Get one task by ID.

**Inputs**

- Task ID (`task_id`, number, required): The ID of the task, from List tasks.

**Outputs**

- `data` (object): Response contains fields for all tasks.

**Example output**

```json
{
  "data": {
    "_links": {
      "contacts": {
        "href": "example"
      },
      "licences": {
        "href": "example"
      },
      "self": {
        "href": "example"
      }
    },
    "completedAt": "example",
    "contactId": 1,
    "createdAt": "example",
    "createdBy": "example",
    "description": "example",
    "dueAt": "example",
    "id": 1,
    "leadId": 1,
    "priority": 5,
    "reservationId": 1,
    "saleId": 1,
    "surveyQuestionId": 1,
    "surveyResponseId": 1,
    "title": "example",
    "unitId": 1,
    "updatedAt": "example",
    "updatedBy": "example",
    "userId": 1
  }
}
```

### Get a unit

Get one unit by ID.

**Inputs**

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

**Outputs**

- `data` (object): The data will be returned with a collection lookup and with a single entity lookup. Due to planned changes, the following fields should be considered unstable: unitType and customData.

**Example output**

```json
{
  "data": {
    "_embedded": {
      "cancellationPolicy": {
        "_links": {
          "self": {}
        },
        "airbnbType": "example",
        "breakpoints": [],
        "canExceedBalance": false,
        "cancelTime": "example",
        "cancelTimezone": "example",
        "chargeAs": "example",
        "code": "example",
        "createdAt": "example",
        "createdBy": "example",
        "homeawayType": "example",
        "id": 1.0,
        "isActive": false,
        "isDefault": false,
        "name": "example",
        "postDate": "example",
        "updatedAt": "example",
        "updatedBy": "example"
      },
      "cleanStatus": {
        "_links": {
          "self": {}
        },
        "code": "example",
        "createdAt": "example",
        "createdBy": "example",
        "id": 1.0,
        "isActive": false,
        "name": "example",
        "type": "example",
        "updatedAt": "example",
        "updatedBy": "example"
      },
      "lodgingType": {
        "_links": {
          "self": {}
        },
        "airbnbTypeCategory": "example",
        "airbnbTypeGroup": "example",
        "code": "example",
        "createdAt": "example",
        "createdBy": "example",
        "homeawayType": "example",
        "id": 1,
        "isActive": false,
        "name": "example",
        "updatedAt": "example",
        "updatedBy": "example"
      },
      "node": {
        "_embedded": {
          "parent": {}
        },
        "_links": {
          "self": {}
        },
        "amenities": [],
        "checkinDetails": "example",
        "checkinTime": "example",
        "checkoutTime": "example",
        "childrenAllowed": false,
        "country": "example",
        "custom": [],
        "directions": {},
        "earlyCheckinTime": "example",
        "extendedAddress": "example",
        "hasEarlyCheckin": false,
        "hasLateCheckout": false,
        "id": 1.0,
        "isAccessible": false,
        "lateCheckoutTime": "example",
        "latitude": 1.0,
        "locality": "example",
        "longDescription": "example",
        "longitude": 1.0,
        "maxPets": 1.0,
        "minimumAgeLimit": 1.0,
        "name": "example",
        "parent": "example",
        "parentId": 1.0,
        "petsFriendly": false,
        "phone": "example",
        "postal": "example",
        "region": "example",
        "shortDescription": "example",
        "smokingAllowed": false,
        "streetAddress": "example",
        "timezone": "example",
        "type": {
          "id": 1.0,
          "name": "example"
        },
        "updatedAt": "example",
        "website": "example"
      },
      "taxDistrict": {
        "_embedded": {
          "longTermPolicy": {},
          "shortTermPolicy": {}
        },
        "_links": {
          "self": {}
        },
        "breakpoint": 1.0,
        "createdAt": "example",
        "createdBy": "example",
        "hasBreakpoint": false,
        "id": 1.0,
        "isActive": false,
        "longTermPolicyId": 1.0,
        "name": "example",
        "salesTaxPolicy": {},
        "salesTaxPolicyId": 1.0,
        "shortTermPolicyId": 1.0,
        "taxMarkup": 1.0,
        "updatedAt": "example",
        "updatedBy": "example"
      },
      "travelInsuranceProduct": {
        "_links": {
          "self": {}
        },
        "allowCancelOverride": false,
        "allowExternalNotification": false,
        "apiKey": "example",
        "createdAt": "example",
        "createdBy": "example",
        "declineMessage": "example",
        "enableReporting": false,
        "id": 1.0,
        "insuranceType": "example",
        "irmEnabled": false,
        "isActive": false,
        "name": "example",
        "optOutWindow": 1.0,
        "payableAccountId": 1.0,
        "percent": 1.0,
        "producerCode": "example",
        "productClass": "example",
        "provider": "example",
        "realizeAfterWindow": false,
        "revenueAccountId": 1.0,
        "selectedByDefault": false,
        "split": 1.0,
        "termsAndConditions": "example",
        "updatedAt": "example",
        "updatedBy": "example"
      },
      "type": {
        "_links": {
          "self": {}
        },
        "allowOversell": false,
        "allowUnitRates": false,
        "amenitiesIds": [],
        "area": 1.0,
        "bedTypes": [],
        "bedrooms": 1.0,
        "calendarGroupId": 1.0,
        "cancellationPolicyId": 1.0,
        "checkinTime": "example",
        "checkoutTime": "example",
        "childrenAllowed": false,
        "createdAt": "example",
        "createdBy": "example",
        "custom": [],
        "documentsIds": [],
        "earlyCheckinTime": "example",
        "eventsAllowed": false,
        "floors": 1.0,
        "fullBathrooms": 1.0,
        "gatewaysIds": [],
        "guaranteePoliciesIds": [],
        "halfBathrooms": 1.0,
        "hasEarlyCheckin": false,
        "hasLateCheckout": false,
        "housekeepingMessage": "example",
        "housekeepingNotes": "example",
        "housekeepingZoneId": 1.0,
        "id": 1,
        "isAccessible": false,
        "isActive": false,
        "isBookable": false,
        "lateCheckoutTime": "example",
        "lodgingTypeId": 1.0,
        "maintenanceMessage": "example",
        "maintenanceZoneId": 1.0,
        "maxDiscount": 1.0,
        "maxOccupancy": 1.0,
        "maxPets": 1.0,
        "minimumAgeLimit": 1.0,
        "name": "example",
        "oversellLimit": 1.0,
        "petFriendly": false,
        "quickCheckin": false,
        "quickCheckout": false,
        "roles": [],
        "rooms": [],
        "smokingAllowed": false,
        "threeQuarterBathrooms": 1.0,
        "timezone": "example",
        "updatedAt": "example",
        "updatedBy": "example",
        "useRoomConfiguration": false,
        "websiteUrl": "example"
      }
    },
    "_links": {
      "images": {
        "href": "example"
      },
      "policies": {
        "href": "example"
      },
      "rooms": {
        "href": "example"
      },
      "self": {
        "href": "example"
      }
    },
    "amenitiesIds": [],
    "amenityDescription": "example",
    "area": "example",
    "availabilityOrder": "example",
    "bedTypes": [],
    "bedrooms": 1,
    "cancellationPoliciesIds": [],
    "cancellationPolicy": {
      "_links": {
        "self": {
          "href": "example"
        }
      },
      "airbnbType": "example",
      "breakpoints": [],
      "canExceedBalance": false,
      "cancelTime": "example",
      "cancelTimezone": "example",
      "chargeAs": "example",
      "code": "example",
      "createdAt": "example",
      "createdBy": "example",
      "homeawayType": "example",
      "id": 1.0,
      "isActive": false,
      "isDefault": false,
      "name": "example",
      "postDate": "example",
      "updatedAt": "example",
      "updatedBy": "example"
    },
    "cancellationPolicyId": 1,
    "channelDescription": "example",
    "channelHeadline": "example",
    "checkinDetails": "example",
    "checkinTime": "example",
    "checkoutTime": "example",
    "childrenAllowed": false,
    "cleanStatus": {
      "code": "example",
      "createdAt": "example",
      "createdBy": "example",
      "id": 1.0,
      "isActive": false,
      "name": "example",
      "type": "example",
      "updatedAt": "example",
      "updatedBy": "example"
    },
    "cleanStatusId": 1.0,
    "composites": [],
    "country": "example",
    "createdAt": "example",
    "createdBy": "example",
    "custom": [],
    "directions": "example",
    "documentsIds": [],
    "earlyCheckinTime": "example",
    "eventsAllowed": false,
    "extendedAddress": "example",
    "floors": 1.0,
    "fullBathrooms": 1,
    "gatewaysIds": [],
    "guaranteePoliciesIds": [],
    "halfBathrooms": 1,
    "hasEarlyCheckin": false,
    "hasLateCheckout": false,
    "houseRules": "example",
    "housekeepingMessage": "example",
    "housekeepingNotes": "example",
    "housekeepingStop": "example",
    "housekeepingZone": {
      "_links": {
        "self": {
          "href": "example"
        }
      },
      "createdAt": "example",
      "createdBy": "example",
      "id": 1.0,
      "isActive": false,
      "name": "example",
      "type": "example",
      "updatedAt": "example",
      "updatedBy": "example"
    },
    "housekeepingZoneId": 1.0,
    "id": 1,
    "insuranceProductsIds": [],
    "isAccessible": false,
    "isActive": false,
    "isBookable": false,
    "lateCheckoutTime": "example",
    "latitude": 1.0,
    "localOffice": {
      "country": "example",
      "directions": "example",
      "email": "example",
      "extendedAddress": "example",
      "latitude": 1.0,
      "locality": "example",
      "longitude": 1.0,
      "name": "example",
      "phone": "example",
      "postalCode": "example",
      "region": "example"
    },
    "localOfficeId": 1,
    "locality": "example",
    "lodgingTypeId": 1,
    "longDescription": "example",
    "longitude": 1.0,
    "maintenanceMessage": "example",
    "maintenanceStop": "example",
    "maintenanceZone": {
      "_links": {
        "self": {
          "href": "example"
        }
      },
      "createdAt": "example",
      "createdBy": "example",
      "id": 1.0,
      "isActive": false,
      "name": "example",
      "type": "example",
      "updatedAt": "example",
      "updatedBy": "example"
    },
    "maintenanceZoneId": 1.0,
    "maxDiscount": 1.0,
    "maxOccupancy": 1,
    "maxPets": 1.0,
    "minimumAgeLimit": 1,
    "name": "example",
    "nodeId": 1,
    "notes": "example",
    "petFriendly": false,
    "phone": "example",
    "postal": "example",
    "quickCheckin": false,
    "quickCheckout": false,
    "region": "example",
    "roles": [],
    "roomConfigurationSource": "unit",
    "rooms": [],
    "securityDeposit": "example",
    "shortDescription": "example",
    "shortName": "example",
    "smokingAllowed": false,
    "streetAddress": "example",
    "system": {},
    "systemId": 1,
    "taxDistrictId": 1,
    "taxId": "example",
    "threeQuarterBathrooms": 1,
    "timezone": "example",
    "travelInsuranceProduct": {
      "_links": {
        "self": {
          "href": "example"
        }
      },
      "allowCancelOverride": false,
      "allowExternalNotification": false,
      "apiKey": "example",
      "createdAt": "example",
      "createdBy": "example",
      "declineMessage": "example",
      "enableReporting": false,
      "id": 1.0,
      "insuranceType": "example",
      "irmEnabled": false,
      "isActive": false,
      "name": "example",
      "optOutWindow": 1.0,
      "payableAccountId": 1.0,
      "percent": 1.0,
      "producerCode": "example",
      "productClass": "example",
      "provider": "example",
      "realizeAfterWindow": false,
      "revenueAccountId": 1.0,
      "selectedByDefault": false,
      "split": 1.0,
      "termsAndConditions": "example",
      "updatedAt": "example",
      "updatedBy": "example"
    },
    "travelInsuranceProductId": 1,
    "typeId": 1,
    "unitCode": "example",
    "unitTypeId": 1.0,
    "unitTypeInline": {
      "id": 1.0,
      "name": "example"
    },
    "updatedAt": "example",
    "updatedBy": "example",
    "useRoomConfiguration": false,
    "websiteUrl": "example"
  }
}
```

### Get an owner

Get one owner by ID.

**Inputs**

- Owner ID (`owner_id`, number, required): The ID of the owner, from List owners.

**Outputs**

- `data` (object): The following properties can be updated via create, patch or put requests.

**Example output**

```json
{
  "data": {
    "_links": {
      "contacts": {
        "href": "example"
      },
      "licences": {
        "href": "example"
      },
      "self": {
        "href": "example"
      }
    },
    "achAccountNumber": "example",
    "achAccountType": "business-checking",
    "achRoutingNumber": "example",
    "achVerifiedAt": "example",
    "agentCommission": "example",
    "alwaysShowInStatements": false,
    "companyId": 1,
    "country": "example",
    "createdAt": "example",
    "createdBy": "example",
    "currentBalance": 1.0,
    "custom": {},
    "email": "example",
    "enableWorkOrderApproval": false,
    "extendedAddress": "example",
    "fax": "example",
    "glExpirationDate": "example",
    "glInsurancePolicy": "example",
    "id": 1,
    "isActive": false,
    "locality": "example",
    "minimumBalance": 1.0,
    "name": "example",
    "notes": "example",
    "openingBalance": 1.0,
    "paymentType": "print",
    "phone": "example",
    "postal": "example",
    "region": "example",
    "splitWithContacts": false,
    "streetAddress": "example",
    "tags": [],
    "taxCountry": "example",
    "taxExtendedAddress": "example",
    "taxId": "example",
    "taxLocality": "example",
    "taxName": "example",
    "taxPhone": "example",
    "taxPostalCode": "example",
    "taxRegion": "example",
    "taxStreetAddress": "example",
    "taxType": "rents",
    "travelAgentCommission": 1.0,
    "travelAgentDeductCommission": false,
    "travelAgentIataNumber": "example",
    "type": "owner",
    "updatedAt": "example",
    "updatedBy": "example",
    "wcExpirationDate": "example",
    "wcInsurancePolicy": "example",
    "website": "example"
  }
}
```

### List contacts

List contacts (guests, owners and vendor staff), found by name, email or phone, or changed since a date.

**Inputs**

- Page (`page`, number): The page to return, starting at 1. At least 1.
- Page size (`size`, number): How many records to return on each page. From 1 to 100.
- Search (`search`, text): Text a contact's name, email or phone starts with.
- Email (`email`, text): Only the contact with this email address.
- Changed since (`updated_since`, date): Only contacts changed since this date.

**Outputs**

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

**Example output**

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

### List leads

List sales leads, found by contact or search, or changed since a time.

**Inputs**

- Page (`page`, number): The page to return, starting at 1. At least 1.
- Page size (`size`, number): How many records to return on each page. From 1 to 100.
- Search (`search`, text): Text the lead's token starts with.
- Contact ID (`contact_id`, number): Only leads of this contact.
- Changed since (`updated_since`, date and time): Only leads changed since this time.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "_embedded": {
      "leads": []
    },
    "_links": {
      "first": {
        "href": "example"
      },
      "last": {
        "href": "example"
      },
      "next": {
        "href": "example"
      },
      "prev": {
        "href": "example"
      },
      "self": {
        "href": "example"
      }
    },
    "page": 1,
    "page_count": 1,
    "page_size": 1,
    "total_items": 1
  }
}
```

### List locations

List nodes, the locations (resorts, buildings, areas) units are grouped under.

**Inputs**

- Page (`page`, number): The page to return, starting at 1. At least 1.
- Page size (`size`, number): How many records to return on each page. From 1 to 100.
- Search (`search`, text): Text to find in the location's name or description.
- Parent location (`parent_id`, number): Only locations directly under this one.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "_embedded": {
      "nodes": []
    },
    "_links": {
      "first": {
        "href": "example"
      },
      "last": {
        "href": "example"
      },
      "next": {
        "href": "example"
      },
      "prev": {
        "href": "example"
      },
      "self": {
        "href": "example"
      }
    },
    "page": 1.0,
    "page_count": 1.0,
    "page_size": 1.0,
    "total_items": 1.0
  }
}
```

### List maintenance work orders

List maintenance work orders, filtered by unit, location, vendor, reservation, dates or changes since a date.

**Inputs**

- Page (`page`, number): The page to return, starting at 1. At least 1.
- Page size (`size`, number): How many records to return on each page. From 1 to 100.
- Search (`search`, text): A work order number, or text in its summary, unit, vendor or user.
- Unit (`unit_id`, text): Only work orders for this unit.
- Location (`node_id`, number): Only work orders in this location.
- Vendor ID (`vendor_id`, number): Only work orders for this vendor.
- Reservation ID (`reservation_id`, number): Only work orders for this reservation.
- Scheduled (`is_scheduled`, true/false): Only scheduled work orders when on, only unscheduled ones when off.
- Date scheduled (`date_scheduled`, date): Only work orders scheduled on this date.
- From (`start_date`, date): Only work orders on or after this date.
- To (`end_date`, date): Only work orders on or before this date.
- Changed since (`updated_since`, date): Only work orders changed since this date.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "_embedded": {
      "workOrders": []
    },
    "_links": {
      "first": {
        "href": "example"
      },
      "last": {
        "href": "example"
      },
      "next": {
        "href": "example"
      },
      "prev": {
        "href": "example"
      },
      "self": {
        "href": "example"
      }
    },
    "page": 1.0,
    "page_count": 1.0,
    "page_size": 1.0,
    "total_items": 1.0
  }
}
```

### List owners

List unit owners, found by search, location or active status, or changed since a date.

**Inputs**

- Page (`page`, number): The page to return, starting at 1. At least 1.
- Page size (`size`, number): How many records to return on each page. From 1 to 100.
- Search (`search`, text): Text to find in the owner's details.
- Active (`is_active`, true/false): Only active owners when on, only inactive ones when off. Leave blank for both.
- Location (`node_id`, number): Only owners of units in this location.
- Changed since (`updated_since`, date): Only owners changed since this date.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "_embedded": {
      "owners": []
    },
    "_links": "example",
    "page": 1.0,
    "page_count": 1.0,
    "page_size": 1.0,
    "total_items": 1.0
  }
}
```

### List reservations

List reservations, filtered by status, unit, guest, dates or changes since a time.

**Inputs**

- Page (`page`, number): The page to return, starting at 1. At least 1.
- Page size (`size`, number): How many records to return on each page. From 1 to 100.
- Search (`search`, text): Text the reservation or guest details start with, such as a guest's last name.
- Status (`status`, text): Only reservations with this status. One of: `Hold`, `Confirmed`, `Checked In`, `Checked Out`, `Cancelled`.
- Unit (`unit_id`, number): Only reservations of this unit.
- Location (`node_id`, number): Only reservations in this location.
- Guest contact ID (`contact_id`, number): Only reservations of this guest, by contact ID.
- Booked on or after (`booked_after`, date and time): Only reservations booked on or after this time.
- Booked on or before (`booked_before`, date and time): Only reservations booked on or before this time.
- Arriving on or after (`arriving_after`, date and time): Only reservations arriving on or after this time.
- Arriving on or before (`arriving_before`, date and time): Only reservations arriving on or before this time.
- Departing on or after (`departing_after`, date and time): Only reservations departing on or after this time.
- Departing on or before (`departing_before`, date and time): Only reservations departing on or before this time.
- Changed since (`updated_since`, date and time): Only reservations changed since this time.
- In house today (`in_house_today`, true/false): Only reservations staying today.
- Exclude cancelled (`exclude_cancelled`, true/false): Leave out cancelled reservations.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "_embedded": {
      "reservations": []
    },
    "_links": {
      "first": {
        "href": "example"
      },
      "last": {
        "href": "example"
      },
      "next": {
        "href": "example"
      },
      "prev": {
        "href": "example"
      },
      "self": {
        "href": "example"
      }
    },
    "page": 1.0,
    "page_count": 1.0,
    "page_size": 1.0,
    "total_items": 1.0
  }
}
```

### List tasks

List tasks, filtered by status, priority, unit, reservation, contact or due date.

**Inputs**

- Page (`page`, number): The page to return, starting at 1. At least 1.
- Page size (`size`, number): How many records to return on each page. From 1 to 100.
- Search (`search`, text): Text to find in the task's title or description.
- Status (`status`, text): Only open or only completed tasks. One of: `open`, `completed`.
- Priority (`priority`, number): Only tasks with this priority. One of: `5` (High), `3` (Medium), `1` (Low).
- Unit (`unit_id`, number): The unit the task is about.
- Reservation ID (`reservation_id`, number): The reservation the task is linked to.
- Contact ID (`contact_id`, number): The contact the task is about.
- Lead ID (`lead_id`, number): The lead the task is about.
- Due on or after (`due_after`, date): Only tasks due on or after this date.
- Due on or before (`due_before`, date): Only tasks due on or before this date.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "_embedded": {
      "tasks": []
    },
    "_links": {
      "first": {
        "href": "example"
      },
      "last": {
        "href": "example"
      },
      "next": {
        "href": "example"
      },
      "prev": {
        "href": "example"
      },
      "self": {
        "href": "example"
      }
    },
    "page": 1.0,
    "page_count": 1.0,
    "page_size": 1.0,
    "total_items": 1.0
  }
}
```

### List units

List rental units, filtered by location, bedrooms, status, availability or changes since a time.

**Inputs**

- Page (`page`, number): The page to return, starting at 1. At least 1.
- Page size (`size`, number): How many records to return on each page. From 1 to 100.
- Search (`search`, text): Text to find in the unit's name, code or short name.
- Location (`node_id`, number): Only units in this location (node) or below it.
- Unit code (`unit_code`, text): Only the unit with this code. Add % as a wildcard.
- Bedrooms (`bedrooms`, number): Only units with exactly this many bedrooms. At least 0.
- At least bedrooms (`min_bedrooms`, number): Only units with at least this many bedrooms. At least 0.
- At most bedrooms (`max_bedrooms`, number): Only units with at most this many bedrooms. At least 0.
- Pet friendly (`pets_friendly`, true/false): Only pet-friendly units.
- Active (`is_active`, true/false): Only active units when on, only inactive ones when off. Leave blank for both.
- Bookable (`is_bookable`, true/false): Only units that can be booked.
- Arrival (`arrival`, date): With departure, only units free from this date.
- Departure (`departure`, date): With arrival, only units free until this date.
- Housekeeping status (`unit_status`, text): Only units in this housekeeping status. One of: `clean`, `dirty`, `occupied`, `inspection`, `inprogress`.
- Changed since (`updated_since`, date and time): Only units whose details changed since this time.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "_embedded": {
      "units": []
    },
    "_links": {
      "first": {
        "href": "example"
      },
      "last": {
        "href": "example"
      },
      "next": {
        "href": "example"
      },
      "prev": {
        "href": "example"
      },
      "self": {
        "href": "example"
      }
    },
    "page": 1.0,
    "page_count": 1.0,
    "page_size": 1.0,
    "total_items": 1.0
  }
}
```

### Update a contact

Change a contact's name, email, phone, address or flags. 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.
- Email (`primary_email`, text): The contact's email address. No two contacts can share one.
- Other email (`secondary_email`, text): Another email address for the contact.
- Mobile phone (`cell_phone`, text): The contact's mobile number, such as +15555550123.
- Home phone (`home_phone`, text): The contact's home number, such as +15555550123.
- Work phone (`work_phone`, text): The contact's work number, such as +15555550123.
- Street (`street_address`, text): The street address.
- Street line 2 (`extended_address`, text): The second address line.
- 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 two-letter country code, such as US.
- Notes (`notes`, text): Notes about the contact.
- VIP (`is_vip`, true/false): Mark the contact as a VIP.
- Do not rent (`do_not_rent`, true/false): Flag the contact as someone not to rent to.

**Outputs**

- `data` (object): A CRM contact (guest, owner, or vendor employee). The set of populated fields varies by:.

**Example output**

```json
{
  "data": {
    "_links": {
      "self": {
        "href": "example"
      }
    },
    "achAccountNumber": "example",
    "achAccountType": "business-checking",
    "achDebitAuthorization": false,
    "achRoutingNumber": "example",
    "achVerifiedAt": "example",
    "anniversary": "example",
    "birthdate": "example",
    "cellPhone": "example",
    "country": "example",
    "createdAt": "example",
    "createdBy": "example",
    "custom": {},
    "extendedAddress": "example",
    "fax": "example",
    "firstName": "example",
    "homePhone": "example",
    "id": 1,
    "isBlacklist": false,
    "isDNR": false,
    "isOwnerContact": false,
    "isVip": false,
    "lastName": "example",
    "locality": "example",
    "name": "example",
    "noIdentity": false,
    "notes": "example",
    "notifyViaEmail": false,
    "notifyViaText": false,
    "optOutMarketing": false,
    "otherPhone": "example",
    "paymentType": "print",
    "portalInviteDate": "example",
    "portalInviteStatus": "example",
    "portalLastLogin": "example",
    "postalCode": "example",
    "primaryEmail": "example",
    "quoteCount": 1,
    "references": [],
    "region": "example",
    "secondaryEmail": "example",
    "streetAddress": "example",
    "tags": [],
    "taxId": "example",
    "taxIdMasked": "example",
    "underage": false,
    "updatedAt": "example",
    "updatedBy": "example",
    "workPhone": "example"
  }
}
```

### Update a lead

Change a lead's subject, dates, value or follow-up. Only the fields you fill in are changed.

**Inputs**

- Lead ID (`lead_id`, number, required): The ID of the lead to change.
- Subject (`subject`, text): A short subject for the lead.
- Source (`lead_source`, text): How the lead came in. One of: `chat`, `email`, `call-in`, `call-out`, `form`, `voicemail`, `user`.
- Arrival date (`arrival_date`, date): The arrival date the guest asked about.
- Departure date (`departure_date`, date): The departure date the guest asked about.
- Follow-up date (`follow_up`, date): When to follow up.
- Lead value (`lead_value`, number): What the lead is worth. At least 0.
- Priority (`priority`, number): The lead's priority, as a number.
- Phone number (`originating_phone_number`, text): The number the lead called from, such as +15555550123.

**Outputs**

- `data` (object): A CRM lead. Mirrors the field set returned by LeadsHydrator::extract().

**Example output**

```json
{
  "data": {
    "_embedded": {
      "agent": {
        "_links": {
          "self": {}
        },
        "email": "example",
        "id": 1,
        "name": "example"
      },
      "autoClose": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "label": "example"
      },
      "brand": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "name": "example"
      },
      "campaign": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "name": "example"
      },
      "closeUser": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "name": "example"
      },
      "contact": {
        "_links": {
          "self": {}
        },
        "firstName": "example",
        "id": 1,
        "lastName": "example",
        "name": "example",
        "primaryEmail": "example"
      },
      "leadType": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "label": "example"
      },
      "lostReason": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "label": "example"
      },
      "mergedInto": {
        "_links": {
          "self": {}
        },
        "id": 1,
        "subject": "example"
      },
      "status": {
        "_links": {
          "self": {}
        },
        "handle": "example",
        "id": 1,
        "label": "example"
      }
    },
    "_links": {
      "self": {
        "href": "example"
      }
    },
    "agentId": 1,
    "archivedAt": "example",
    "arrivalDate": "example",
    "autoCloseId": 1,
    "brandId": 1,
    "campaignId": 1,
    "closeDate": "example",
    "closeUserId": 1,
    "contactId": 1,
    "createdAt": "example",
    "createdBy": "example",
    "custom": {},
    "departureDate": "example",
    "followUp": "example",
    "id": 1,
    "isArchived": false,
    "leadSource": "chat",
    "leadTypeId": 1,
    "leadValue": 1.0,
    "lostReasonId": 1,
    "mergedIntoId": 1,
    "nights": 1,
    "oneConversationClose": false,
    "originatingPhoneNumber": "example",
    "priority": 1,
    "replyToEmail": "example",
    "sales": [],
    "statusId": 1,
    "subject": "example",
    "tags": [],
    "token": "example",
    "updatedAt": "example",
    "updatedBy": "example"
  }
}
```

### Update a maintenance work order

Change a maintenance work order. Fields left blank keep their current values.

**Inputs**

- Work order ID (`work_order_id`, number, required): The ID of the work order to change.
- Summary (`summary`, text): A short summary of the problem.
- Description (`description`, text): The problem in full.
- Priority (`priority`, number): How urgent the work is. One of: `5` (High), `3` (Medium), `1` (Low).
- Date received (`date_received`, date): When the problem was reported.
- Date scheduled (`date_scheduled`, date): When the work is scheduled.
- Estimated cost (`estimated_cost`, number): The estimated cost. At least 0.
- Estimated minutes (`estimated_time`, number): The estimated time, in minutes. At least 0.
- Unit (`unit_id`, number): The unit the work is for.
- Reservation ID (`reservation_id`, number): The reservation the work is about, by ID.
- Vendor ID (`vendor_id`, number): The ID of the vendor doing the work.
- Assigned user ID (`assigned_user_id`, number): The ID of the Track user responsible for the work.
- Reference number (`reference_number`, text): Your own reference for the work order.
- Source (`source`, text): How the problem was reported.
- Reported by (`source_name`, text): The name of the person who reported it.
- Reporter's phone (`source_phone`, text): The phone number of the person who reported it.
- Work performed (`work_performed`, text): What was done.
- Minutes spent (`actual_time`, number): The time spent, in minutes. At least 0.
- Block check-in (`block_checkin`, true/false): Stop reservations checking in on the scheduled date.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "_embedded": {
      "owner": {},
      "unit": {},
      "vendor": {}
    },
    "_links": {
      "contacts": {
        "href": "example"
      },
      "licences": {
        "href": "example"
      },
      "self": {
        "href": "example"
      }
    },
    "actualTime": 1,
    "assignees": [],
    "blockCheckin": false,
    "completedById": 1.0,
    "createdAt": "example",
    "createdBy": "example",
    "dateCompleted": "example",
    "dateProcessed": "example",
    "dateReceived": "example",
    "description": "example",
    "estimatedCost": 1.0,
    "estimatedTime": 1,
    "id": 1,
    "ownerId": 1.0,
    "priority": 5,
    "problems": [],
    "processedById": 1.0,
    "referenceNumber": "example",
    "reservationId": 1.0,
    "source": "example",
    "sourceName": "example",
    "sourcePhone": "example",
    "status": "open",
    "summary": "example",
    "unitId": 1.0,
    "updatedAt": "example",
    "updatedBy": "example",
    "userId": 1.0,
    "vendorId": 1.0,
    "workPerformed": "example"
  }
}
```

### Update a task

Change a task's title, priority, due date or completion. Only the fields you fill in are changed.

**Inputs**

- Task ID (`task_id`, number, required): The ID of the task to change.
- Title (`title`, text): What the task is.
- Description (`description`, text): The task in full.
- Priority (`priority`, number): How urgent the task is. One of: `5` (High), `3` (Medium), `1` (Low).
- Due date (`due_at`, date): When the task is due.
- Completed on (`completed_at`, date): When the task was completed. Leave blank for an open task.
- Unit (`unit_id`, number): The unit the task is about.
- Assigned user ID (`assigned_user_id`, number): The ID of the Track user the task is assigned to.
- Reservation ID (`reservation_id`, number): The reservation the task is linked to.
- Contact ID (`contact_id`, number): The contact the task is about.
- Lead ID (`lead_id`, number): The lead the task is about.

**Outputs**

- `data` (object): Response contains fields for all tasks.

**Example output**

```json
{
  "data": {
    "_links": {
      "contacts": {
        "href": "example"
      },
      "licences": {
        "href": "example"
      },
      "self": {
        "href": "example"
      }
    },
    "completedAt": "example",
    "contactId": 1,
    "createdAt": "example",
    "createdBy": "example",
    "description": "example",
    "dueAt": "example",
    "id": 1,
    "leadId": 1,
    "priority": 5,
    "reservationId": 1,
    "saleId": 1,
    "surveyQuestionId": 1,
    "surveyResponseId": 1,
    "title": "example",
    "unitId": 1,
    "updatedAt": "example",
    "updatedBy": "example",
    "userId": 1
  }
}
```
