---
schema_version: "1"
id: 79db667ab84a4ecbcdfb14b0c9db40eeb915c398d963c0fa5d2bda6bb0c25a0f
title: Record
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/uiapi/ui_api_responses_record.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_record.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2a5cc12803742ce3e241e193c88d755a375cfeee33a55ed469b1f1d719d02029
description: The field data, API name, child relationship data, and record type information for a record.
---
# Record

The field data, API name, child relationship data, and record type information for a record.

<table class="featureTable sort_table" summary="">
          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d157599e28">Property Name</th>
              <th class="featureTableHeader vertical-align-top " id="d157599e30">Type</th>
              <th class="featureTableHeader vertical-align-top " id="d157599e32">Description</th>
              <th class="featureTableHeader vertical-align-top " id="d157599e34">Filter Group and Version</th>
              <th class="featureTableHeader vertical-align-top " id="d157599e36">Available Version</th>
            </tr>
          </thead>
          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d157599e28" data-title="Property Name"><samp class="codeph nolang">apiName</samp></td>

              <td class="entry" headers="d157599e30" data-title="Type">String</td>

              <td class="entry" headers="d157599e32" data-title="Description">The API name for this record.</td>

              <td class="entry" headers="d157599e34" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d157599e36" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d157599e28" data-title="Property Name"><samp class="codeph nolang">childRelationships</samp></td>

              <td class="entry" headers="d157599e30" data-title="Type">Map&lt;String, <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.264.0.uiapi.meta/uiapi/ui_api_responses_record_collection.htm" target="_blank">Record
                  Collection</a>&gt;</td>

              <td class="entry" headers="d157599e32" data-title="Description">The child relationship data for this record.</td>

              <td class="entry" headers="d157599e34" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d157599e36" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d157599e28" data-title="Property Name"><samp class="codeph nolang">fields</samp></td>

              <td class="entry" headers="d157599e30" data-title="Type">Map&lt;String, <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.264.0.uiapi.meta/uiapi/ui_api_responses_field_value.htm" target="_blank">Field Value</a>&gt;</td>

              <td class="entry" headers="d157599e32" data-title="Description">The field data for this record, matching the requested layout and mode.</td>

              <td class="entry" headers="d157599e34" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d157599e36" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d157599e28" data-title="Property Name"><samp class="codeph nolang">id</samp></td>

              <td class="entry" headers="d157599e30" data-title="Type">String</td>

              <td class="entry" headers="d157599e32" data-title="Description">The ID of this record.</td>

              <td class="entry" headers="d157599e34" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d157599e36" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d157599e28" data-title="Property Name"><samp class="codeph nolang">lastModifiedById</samp></td>

              <td class="entry" headers="d157599e30" data-title="Type">String</td>

              <td class="entry" headers="d157599e32" data-title="Description">The ID of the user who last updated this record.</td>

              <td class="entry" headers="d157599e34" data-title="Filter Group and Version">Small, 44.0</td>

              <td class="entry" headers="d157599e36" data-title="Available Version">44.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d157599e28" data-title="Property Name"><samp class="codeph nolang">lastModifiedDate</samp></td>

              <td class="entry" headers="d157599e30" data-title="Type">String</td>

              <td class="entry" headers="d157599e32" data-title="Description">The date and time when a user last modified this record. Date and time
                information is in ISO 8601 format.</td>

              <td class="entry" headers="d157599e34" data-title="Filter Group and Version">Small, 44.0</td>

              <td class="entry" headers="d157599e36" data-title="Available Version">44.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d157599e28" data-title="Property Name"><samp class="codeph nolang">recordTypeId</samp></td>

              <td class="entry" headers="d157599e30" data-title="Type">String</td>

              <td class="entry" headers="d157599e32" data-title="Description">The record type ID for this record.</td>

              <td class="entry" headers="d157599e34" data-title="Filter Group and Version">Small, 48.0</td>

              <td class="entry" headers="d157599e36" data-title="Available Version">48.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d157599e28" data-title="Property Name"><samp class="codeph nolang">recordTypeInfo</samp></td>

              <td class="entry" headers="d157599e30" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.264.0.uiapi.meta/uiapi/ui_api_responses_record_type_info.htm" target="_blank">Record Type
                  Info</a></td>

              <td class="entry" headers="d157599e32" data-title="Description">The record type info for this record, if any.<p class="p">This property is returned for
                  only two levels of nested records. Instead, use <samp class="codeph nolang">recordTypeId</samp>, which is returned for every record in a
                  response.</p>
              </td>

              <td class="entry" headers="d157599e34" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d157599e36" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d157599e28" data-title="Property Name"><samp class="codeph nolang">systemModstamp</samp></td>

              <td class="entry" headers="d157599e30" data-title="Type">String</td>

              <td class="entry" headers="d157599e32" data-title="Description">The date and time when a user or an automated process (such as a trigger) last
                modified this record. Date and time information is in ISO 8601 format.</td>

              <td class="entry" headers="d157599e34" data-title="Filter Group and Version">Small, 44.0</td>

              <td class="entry" headers="d157599e36" data-title="Available Version">44.0</td>

            </tr>

          </tbody>
        </table>

#### See Also

- [Record UI](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_record_ui.htm "The layout information, field information, and data for a record.")
- [List Record Collection](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_list_record_collection.htm "A collection of list view records.")
- [Record Defaults](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_record_defaults.htm "The default information and data needed to create or clone a record. Use these values in a request to POST /ui-api/records.")
- [Batch Result Item](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_batch_result.htm "The results of one subrequest in a batch request.")
- [Create or Clone a Record](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_resources_records_create.htm "Create or clone a record.")
- [Update a Record](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_resources_record_patch.htm "Update a record's data.")
- [Get a Record](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_resources_record_get.htm "Get a record’s data.")
- [Get Default Values to Clone a Record](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_resources_record_defaults_clone.htm "Get the default layout information, object information, and data for cloning a record. After getting the default values, make a request to POST /ui-api/records to create the record.")
- [Get Default Values to Create a Record](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_resources_record_defaults_create.htm "Get the default values for fields for a new record of a specified object and optional record type. After getting the default values, make a request to POST /ui-api/records to create the record.")