Newer Version Available

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

Get Field Values from a Standard Object Record

You use the SObject Rows resource to retrieve field values from a record. Specify the fields you want to retrieve in the fields parameter and use the GET method of the resource.

In the following example, the Account Number and Billing Postal Code are retrieved from an Account.

Example for retrieving values from fields on an Account object
1/services/data/v20.0/sobjects/Account/001D000000INjVe​?fields=AccountNumber,BillingPostalCode
Example request body
None required
Example response body
1{
2    "AccountNumber" : "CD656092",
3    "BillingPostalCode" : "27215",
4}