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

List Extension Values

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

GET /:object_type/:object_id/extensions/values

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

  1. Contracts
  2. Prospects
  3. Jobs
  4. Issues

This endpoint will not load all the extension structures for a given object but merely the saved extension values the object has. For example, Job #100 may have three out of the five extension structures saved, so will only return three extension values here. If the object has no saved extensions, 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 extension value id. This can be used on other endpoints that accept the extension_value_id. For example, the update extension value endpoint accepts this as a url path parameter.
field_typestringThe extension structure type for this value. This can be 'text', 'textbox', 'int', 'date', 'date_time', 'float', 'certify', 'fixed_select', 'flexible_select', 'multi_select', 'lookup', 'currency', 'hyperlink' or 'contributor'
field_namestringThe extension structure's name assigned to it by you. e.g "My awesome custom field".
valuedynamic

Please refer to the following details on when this type is applied

  1. When field_type is int, this will return an integer
  2. When field type is date or date_time, this value will return a unix timestamp
  3. All other types excluding certify, lookup and contributor will store their textual value in here
value_intint

When type is certify this value will contain an integer

value_idunsignedWhen lookup or contributor types, this will contain the appropriate id.
value_typestringWhen lookup this will contain the lookups type
value_dateunix timestampVisible for date, date_time and certify extension types.
link_idunsignedIf the ID of the object the extension value is against.
link_typestringThe type of object the extension is against. e.g, job, contract, prospect or issue.
date_modifiedunix timestampUnix timestamp of the date this extension was last updated.
structure_idunsignedThe extension structure id the extension value belongs to. DEPRECATED on 16th Oct 2014, please use field_id
field_idunsignedThe extension structure id the extension value belongs to.
is_sensitiveint, 0 for false, 1 for trueOnly accessible to those with view sensitive extension values permission
is_importantint, 0 for false, 1 for true
is_exportedint, 0 for false, 1 for true
default_valuestringThe default value assigned to this extension values structure.
link_type_idunsigned intThis represents the type of the linked object type. For example, if "link_type" is job, this will be the id of the job type that these extensions can appear under.