API Reference

Fields

Fields

findFields

Find fields based on their name

Parameters

ParameterTypeDescription
LoginLoginObjectStandard login object with username, password, and application key
NameStringString to search for

Returns

ReturnTypeDescription
FieldsField[]Array of all fields (name and external id) matching the search criteria

Example

Request

<tns:name>Na</tns:name>

getFields

Get field names by external id

Parameters

ParameterTypeDescription
LoginLoginObjectStandard login object with username, password, and application key
FieldsString[]Array of external ids for the fields to get

Returns

ReturnTypeDescription
FieldsField[]Array of all fields matching the external ids provided

Example

Request

<tns:fields>
  <field>person.name</field>
</tns:fields>

getFieldDefs

Get field defintions by external id

Parameters

ParameterTypeDescription
LoginLoginObjectStandard login object with username, password, and application key
FieldsString[]Array of external ids for the fields to get definitions for

Returns

ReturnTypeDescription
FieldsFieldDefs[]Array of all field definitions (including field type and field properties) matching the external ids provided

Example

Request

<tns:fields>
  <field>person.name</field>
</tns:fields>

getFieldKinds

Get field defintions by external id

Parameters

ParameterTypeDescription
LoginLoginObjectStandard login object with username, password, and application key

Returns

ReturnTypeDescription
FieldKindsString[]Array of all field types available

Example

Request

-

getPrimaryFields

Get primary fields for a type

Parameters

ParameterTypeDescription
LoginLoginObjectStandard login object with username, password, and application key
TypeStringExternal id of the type for which to get primary fields

Returns

ReturnTypeDescription
FieldsString[]Array of all primary fields on the type

Example

Request

<tns:type>room</tns:type>

getAllFields

Get all fields for a given type, including fields on sub types

Parameters

ParameterTypeDescription
LoginLoginObjectStandard login object with username, password, and application key
TypeStringExternal id of the type for which to get the fields

Returns

ReturnTypeDescription
FieldsString[]Array of all fields on the type and its sub types

Example

Request

<tns:type>room</tns:type>