Difference between revisions of "FieldsInJavaAPIs"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 2: Line 2:
::* The asterisk (<tt>"*"</tt>) wildcard specifies all fields
::* The asterisk (<tt>"*"</tt>) wildcard specifies all fields
:::(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 in that object, using the pattern <tt>{aliasName}.{fieldName}</tt>. When fetched, the alias becomes a "field" that contains an ''array'' of records from the aliased object, where each record contains the specified field(s).
::* For related-record fields in a [[Composite Object]], specify the alias of the related object and the field name:<br>
::: <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).
::<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.