Difference between revisions of "FieldsInJavaAPIs"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 3: Line 3:
:::(Use the [[REST API:field Resource]] to get a complete list of fields.)
:::(Use the [[REST API:field Resource]] to get a complete list of fields.)
::* For related-record fields in a [[Composite Object]], specify the alias of the related object and the field name:<br>
::* For related-record fields in a [[Composite Object]], specify the alias of the related object and the field name:<br>
::: <tt>{aliasName}.{fieldName}</tt>.
:::: <tt>{aliasName}.{fieldName}</tt>
:: When fetched, the alias becomes a "field" that contains an ''array'' of records from the related object, where each record contains the specified field(s).
::: When fetched, the alias becomes a "field" that contains an ''array'' of records from the related object, where each record contains the specified field(s).
::<tt>alias.*</tt> specifies all fields in the related object.
::<tt>alias.*</tt> specifies all fields in the related object.

Revision as of 03:19, 18 November 2014

  • A comma-separated list of field names
  • The asterisk ("*") wildcard specifies all fields
(Use the REST API:field Resource to get a complete list of fields.)
  • For related-record fields in a Composite Object, specify the alias of the related object and the field name:
{aliasName}.{fieldName}
When fetched, the alias becomes a "field" that contains an array of records from the related object, where each record contains the specified field(s).
alias.* specifies all fields in the related object.