Property Types
Retrieve all property types
GETpeople/propertyTypes
Retrieves a list of all types of properties that exist in People CRM. The property names use dot notation where a .
represents a property so last.location.coordinates
represent the object below in a returned Person object.
{
"...": "...",
"last": {
"location": {
"coordinates": "..."
}
}
}
Example Request
require 'gosquared'
gs = Gosquared::RubyLibrary.new('demo','GSN-106863-S')
gs.people.propertyTypes
gs.people.fetch
Live Responseundefined undefined
Your API Key is not authorised for this endpoint
Please fill in the required fields in the Query Builder
Retrieve all custom property types
GETpeople/propertyTypes/custom
The same as above but only returning custom properties.
Example Request
require 'gosquared'
gs = Gosquared::RubyLibrary.new('demo','GSN-106863-S')
gs.people.propertyTypes.custom
gs.people.fetch
Live Responseundefined undefined
Your API Key is not authorised for this endpoint
Please fill in the required fields in the Query Builder
Retrieve a property
GETpeople/propertyTypes/{propertyID}
Retrieves a single property by name
Path Parameters
propertyID | StringRequired The ID of the property |
Example Request
require 'gosquared'
gs = Gosquared::RubyLibrary.new('demo','GSN-106863-S')
gs.people.propertyTypes
gs.people.fetch
Live Responseundefined undefined
Your API Key is not authorised for this endpoint
Please fill in the required fields in the Query Builder