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

Types

Types belongs to a Contact.

Object Definition

FieldTypeDescription
uuidstringUnique identifier for the object
created_atstringISO 8601 datetime when the competency was originally created
updated_atstringISO 8601 datetime when the attachment was last updated
labelstringName of the type

List all Types

Retrieve a paginated list of all the accounts Types. GET /types.

Filters

FieldTypeDescription
uuidstringExact match for the type's uuid

Example Response

{
  "data": [
    {
      "uuid": "472675ea-18c6-4a89-8331-9c96ccd8c683",
      "created_at": "2018-08-02T16:34:34+01:00",
      "updated_at": "2018-08-02T16:34:42+01:00",
      "label": "Tenant"
    }
  ],
  "meta": {
    "pagination": {
      "total": 1,
      "count": 1,
      "per_page": 10,
      "current_page": 1,
      "total_pages": 1
    }
  }
}

Get a single Type

Retrieve a single type by it's uuid. GET /types/:uuid.

Example Response

{
  "data": {
    "uuid": "472675ea-18c6-4a89-8331-9c96ccd8c683",
    "created_at": "2018-08-02T16:34:34+01:00",
    "updated_at": "2018-08-02T16:34:42+01:00",
    "label": "Tenant"
  }
}

Creating a Type

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

Input

FieldTypeDescription
labelstringName of the type

Updating a Type

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

Input

FieldTypeDescription
labelstringName of the type

Deleting a Type

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

This endpoint will automatically remove the Type from any Contacts.

← Statuses
  • Object Definition
  • List all Types
    • Filters
    • Example Response
  • Get a single Type
    • Example Response
  • Creating a Type
  • Updating a Type
  • Deleting a Type
Property Deck
Docs
IntroductionAuthenticationRate LimitingConcepts
API
AttachmentsCompetenciesCustom FieldsContactsProperties
 
NotesRemindersStatusesTypes
Copyright © 2018 Radweb Ltd