Newer Version Available

This content describes an older version of this product. View Latest

SObject Rows

Accesses records based on the specified object ID. Retrieves, updates, or deletes records. This resource can also be used to retrieve field values. Use the GET method to retrieve records or fields, the DELETE method to delete records, and the PATCH method to update records.

To create new records, use the SObject Basic Information resource.

URI
/vXX.X/sobjects/SObjectName/id/
Formats
JSON, XML
HTTP Method
GET, PATCH, DELETE
Authentication
Authorization: Bearer token
Parameters
Parameter Description
fields Optional list of fields used to return values for.
Usage
This resource can be used with external objects in API version 32.0 and later.
  • External objects are read only, so they support only the GET method of this resource.
  • External objects that are associated with non-high-data-volume external data sources use the 18-character Salesforce ID for the id. Otherwise, external objects use the External ID standard field of the external object for the id.
Examples