Read Single Record
Last updated
Last updated
Record data is accessible via the , which takes a single record id and optionally a list of fields to fetch. By default, it will fetch all the fields the current user can read, which tends to be a huge amount.
GET /restapi/1.0/object/{object_name}/{id}
Request:
JSON Response:
XML Response:
Query Parameters:
fields – OPTIONAL. list of field names to return (default is all fields).
Request Headers
Response Headers
Status Codes
Conversely, picking only three fields deemed interesting.
Request:
JSON Response:
Note
even if the
id
field is not requested, it is always returned
– the response content type depends on Accept header
– The OAuth protocol parameters to authenticate.
– this depends on Accept header of the request
– no error
– there’s no resource
– authentication failed
– if any error raise