Property Deck

Property Deck

  • Authentication
  • Getting Started

›API

Getting Started

  • Introduction
  • Authentication
  • Rate Limiting
  • Concepts

API

  • Attachments
  • Competencies
  • Custom Fields
  • Contacts
  • Properties
  • Notes
  • Reminders
  • Statuses
  • Types

Properties

// TODO need a description for properties

Object Definition

FieldTypeDescription
uuidstringUnique identifier for the object
created_atstringISO 8601 datetime when the property was originally created
updated_atstringISO 8601 datetime when the property was last updated
addressstringLine 1 of the property address
address2string / nullLine 2 of the property address
citystring / null
countystring / null
postcodestring / null
typestring / nullType of property (e.g House, Appartment, Commercial, etc)
bedroomsintegerNumber of bedrooms the property has
bathroomsintegerNumber of bathrooms the property has
has_garagebooleanIf the property has a garage
has_gardenbooleanIf the property has a garden
has_parkingbooleanIf the property has parking
num_attachmentsintegerNumber of attachments associated with the property
num_notesintegerNumber of notes associated with the property

Embeddable Entities

You may embed the following entities with a property, for more information see our embed docs

  • Status
  • Custom Fields

List all properties

Retrieve a paginated list of all the accounts Properties. GET /properties

Filters

You may filter the results from the list endpoint using the following query parameters

FieldTypeDescription
uuidstringExact match for the property's uuid
created_atDatetimeExact datetime or date range
updated_atDatetimeExact datetime or date range
addressstringFuzzy search for the property's address line 1
address2stringFuzzy search for the property's address line 2
citystringFuzzy search for the property's city
countystringFuzzy search for the property's county
postcodestringFuzzy search for the property's postcode
typestringFuzzy search for the property's type
bedroomsinteger
bathroomsinteger
has_garageboolean
has_gardenboolean
has_parkingboolean

Example Response

{
  "data": [
    {
      "uuid": "01bbd14f-0ee8-4393-ac18-518023574abb",
      "created_at": "2018-08-02T10:50:40+01:00",
      "updated_at": "2018-08-02T10:50:44+01:00",
      "address": "1400 Blueprint",
      "address2": "Dundas Spur",
      "city": "Portsmouth",
      "county": "Hampshire",
      "postcode": "PO3 5RW",
      "type": "Office",
      "bedrooms": 0,
      "bathrooms": 4,
      "has_garage": false,
      "has_garden": false,
      "has_parking": true,
      "num_attachments": 0,
      "num_notes": 0
    }
  ],
  "meta": {
    "pagination": {
      "total": 1,
      "count": 1,
      "per_page": 10,
      "current_page": 1,
      "total_pages": 1
    }
  }
}

Get a single Property

Retrieve a single property by it's uuid. GET /properties/:uuid.

Example Response

{
  "data": {
    "uuid": "01bbd14f-0ee8-4393-ac18-518023574abb",
    "created_at": "2018-08-02T10:50:40+01:00",
    "updated_at": "2018-08-02T10:50:44+01:00",
    "address": "1400 Blueprint",
    "address2": "Dundas Spur",
    "city": "Portsmouth",
    "county": "Hampshire",
    "postcode": "PO3 5RW",
    "type": "Office",
    "bedrooms": 0,
    "bathrooms": 4,
    "has_garage": false,
    "has_garden": false,
    "has_parking": true,
    "num_attachments": 0,
    "num_notes": 0
  }
}

Creating a Property

Perform a POST request to the /properties endpoint. This endpoint will return a HTTP 201 status code on success.

Input

FieldTypeDescription
addressstringLine 1 of the property's address Required
address2string / nullLine 2 of the property's address
citystring / nullCity of the property
countystring / nullCounty of the property
postcodestringPostcode of the property Required
typestring / nullType of property (e.g House, Appartment, Commercial, etc)
bedroomsinteger / nullNumber of bedrooms (Defaults to 0)
bathroomsinteger / nullNumber of bathrooms (Defaults to 0)
has_garageboolean / nullIf the property has a garage (Defaults to false)
has_gardenboolean / nullIf the property has a garden (Defaults to false)
has_parkingboolean / nullIf the property has parking (Defaults to false)
contactRelational FilterFilter using contact attributes
custom_fieldsRelational FilterFilter using custom field attributes

Updating a Property

Perform a PUT request to the /properties/:uuid endpoint. This endpoint will return a HTTP 200 status code on success.

Input

FieldTypeDescription
addressstringLine 1 of the property's address Required
address2string / nullLine 2 of the property's address
citystring / nullCity of the property
countystring / nullCounty of the property
postcodestringPostcode of the property Required
typestring / nullType of property (e.g House, Appartment, Commercial, etc)
bedroomsintegerNumber of bedrooms
bathroomsintegerNumber of bathrooms
has_garagebooleanIf the property has a garage
has_gardenbooleanIf the property has a garden
has_parkingbooleanIf the property has parking

Deleting a Property

Perform a DELETE request to the /properties/:uuid endpoint. This endpoint will return a HTTP 204 status code on success.

← ContactsNotes →
  • Object Definition
  • Embeddable Entities
  • List all properties
    • Filters
    • Example Response
  • Get a single Property
    • Example Response
  • Creating a Property
  • Updating a Property
  • Deleting a Property
Property Deck
Docs
IntroductionAuthenticationRate LimitingConcepts
API
AttachmentsCompetenciesCustom FieldsContactsProperties
 
NotesRemindersStatusesTypes
Copyright © 2018 Radweb Ltd