Salesforce · Schema
Salesforce SObject Record
A Salesforce SObject record as returned by the REST API. Contains an attributes object with type and URL metadata, an Id field with the 18-character record identifier, and dynamic fields specific to the object type (e.g., Name, Email, Phone for Contact).
AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales
Properties
| Name | Type | Description |
|---|---|---|
| attributes | object | |
| Id | string | The globally unique 18-character Salesforce record identifier. The first three characters are the key prefix identifying the object type, followed by a unique alphanumeric string. |
| Name | stringnull | The primary display name field for the record. For most standard objects this is the Name field; for Person Accounts and Contacts it may be a combination of first and last name. |
| CreatedDate | stringnull | The date and time the record was created, in ISO 8601 format with UTC timezone (e.g., 2024-01-15T10:30:00.000+0000). |
| CreatedById | stringnull | The 18-character ID of the Salesforce user who created this record. |
| LastModifiedDate | stringnull | The date and time the record was last modified, in ISO 8601 format with UTC timezone. |
| LastModifiedById | stringnull | The 18-character ID of the Salesforce user who last modified this record. |
| SystemModstamp | stringnull | The date and time of the last system-level modification to the record. This is updated by any change to the record including system changes, unlike LastModifiedDate which reflects user changes only. |
| IsDeleted | booleannull | Whether the record has been moved to the Recycle Bin (soft deleted). Records where IsDeleted is true are not returned by standard SOQL queries but can be retrieved using queryAll. |
| OwnerId | stringnull | The 18-character ID of the user or queue that owns this record. Ownership controls access and assignment rules. |
| RecordTypeId | stringnull | The 18-character ID of the Record Type applied to this record. Record types allow different picklist values, page layouts, and business processes for the same object. |
| BillingAddress | object | The billing address for account records. A structured address object with street, city, state, postal code, country, and optional geolocation fields. |
| ShippingAddress | object | The shipping address for account records. A structured address object with street, city, state, postal code, country, and optional geolocation fields. |
| MailingAddress | object | The mailing address for contact records. A structured address object with street, city, state, postal code, country, and optional geolocation fields. |
| OtherAddress | object | An alternate address for contact records. A structured address object with street, city, state, postal code, country, and optional geolocation fields. |
| Phone | object | The primary phone number for the record. Stored as a string to preserve formatting; no specific format is enforced by Salesforce. |
| Fax | object | The fax number for the record. Stored as a string to preserve formatting. |
| MobilePhone | object | The mobile phone number for contact and lead records. Stored as a string to preserve formatting. |