Difference between revisions of "REST API:field Resource"
From AgileApps Support Wiki
imported>Aeric m (Text replace - '<tt><nowiki>https://{domain}/networking' to '<tt>{{platformURL}}') |
imported>Aeric |
||
Line 9: | Line 9: | ||
Retrieves metadata about a field in an object | Retrieves metadata about a field in an object | ||
;Method:GET | ;Method:GET | ||
;URI:<tt>{{platformURL}}/rest/field/{objectName}/{fieldName} | ;URI:<tt>{{platformURL}}/rest/field/{objectName}/{fieldName}</tt> | ||
;Response:Metadata structure that defines the field | ;Response:Metadata structure that defines the field | ||
Line 16: | Line 16: | ||
Retrieves an array of metadata for fields within an object | Retrieves an array of metadata for fields within an object | ||
;Method:GET | ;Method:GET | ||
;URI:<tt>{{platformURL}}/rest/field/{objectName} | ;URI:<tt>{{platformURL}}/rest/field/{objectName}</tt> | ||
;Response:An array of metadata structures containing definitions of all the fields in the object. | ;Response:An array of metadata structures containing definitions of all the fields in the object. |
Revision as of 22:10, 30 March 2012
Retrieves Field metadata.
Warning: Information on this page is Provisional.
- Access Permissions
- Field visibility based on a user Role is defined in Role Based Permission Control
Retrieve Field Metadata
Retrieves metadata about a field in an object
- Method
- GET
- URI
- https://{yourDomain}/networking/rest/field/{objectName}/{fieldName}
- Response
- Metadata structure that defines the field
Retrieve an Array of Metadata for Fields in an Object
Retrieves an array of metadata for fields within an object
- Method
- GET
- URI
- https://{yourDomain}/networking/rest/field/{objectName}
- Response
- An array of metadata structures containing definitions of all the fields in the object.
See also: JavaDocs for fields
Payload Examples
Payload examples for the use case: Add Fields of the specified Field Display Types to an Object.
- Auto Number Field
- CheckBox Field
- Currency Field
- Date Field
- DateTime Field
- Dependent Picklist Field
- Email Address
- Email Field
- File Field
- Formula Field (number)
- Formula Field (date)
- Global Picklist Field
- Image File Field
- Lookup Field (System-Generated Object)
- Lookup (to a custom page)
- Multi Checkbox
- Multi Object Lookup
- Picklist
- Radio Button
- Rich Text Area
- Text Area
- Text Field