The following macros are not currently supported in the header:
  • style

List Profile Values

UNDER DEVELOPMENT

The following endpoint can be used to retrieve an array of profile values for a given object.

GET /:object_type/:object_id/profiles/values

Where object_type and object_id describe the object you wish to get the profile values for. We currently support the following object types:

  1. Company
  2. Contact
  3. Affiliation
  4. Prospect
  5. Issue
  6. Milestone

This endpoint will not load all the profile fields for a given object but merely the saved profile values the object has. For example, Job #100 may have three out of the five profile fields saved, so will only return three profile values here. If the object has no saved profiles, this endpoint will return an empty array.

Parameters

Table of allowed parameters.

_fieldspartial stringAllows you to specify optional fields and linked objects to include in the response.

Handling the response

Below is a table of available response fields and objects that are returned within the response object of the returned object. The optional fields and objects can be requested in the _fields parameter; see included examples. Underlined values are default.

idunsignedThe profile value id. This can be used on other endpoints that accept the profile_value_id. For example, the update profile  value endpoint accepts this as a url path parameter.
field_typestringThe profile structure type for this value. This can be

'text', 'integer', 'decimal', 'date', 'date_time', 'currency', 'lookup', 'structure', 'select', 'multi_select', 'hyperlink

field_namestringThe extension structure's name assigned to it by you. e.g "My awesome custom field".
valuedynamic

Visible for all types except "lookup". If date or date_time this will contain the unix timestamp for the date value.

value_idunsignedWhen lookup types, this will contain the appropriate id.
value_typestringWhen lookup this will contain the lookups type. e.g, "company"
link_idunsignedIf the ID of the object the profile value is against.
link_typestringThe type of object the profile is against. e.g, job, contract, prospect or issue.
date_modifiedunix timestampUnix timestamp of the date this profile was last updated.
structure_idunsignedThe profile structure id the extension value belongs to. DEPRECATED on 16th Oct 2014, please use field_id
field_idunsignedThe profile structure id the extension value belongs to.