---
schema_version: "1"
id: 61e63ca4fb38671a946780a56520b64c34a35e57d39df1ac2afbb4dcb023f073
title: Record Template Clone
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/uiapi/ui_api_responses_record_template_clone.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_record_template_clone.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 689721d7723ff02e4b4fba460e6a38b47d2a5ee1a40a833648329c283b833c42
description: A record template containing the default information and data needed to clone a record. Use these values in a request to POST /ui-api/records.
---
# Record Template Clone

A record template containing the default information and data needed to clone a record. Use these values in a request to POST /ui-api/records.

<table class="featureTable sort_table" summary="">





          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d168225e54">Property Name</th>

              <th class="featureTableHeader vertical-align-top " id="d168225e57">Type</th>

              <th class="featureTableHeader vertical-align-top " id="d168225e60">Description</th>

              <th class="featureTableHeader vertical-align-top " id="d168225e63">Filter Group and Version</th>

              <th class="featureTableHeader vertical-align-top " id="d168225e66">Available Version</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d168225e54" data-title="Property Name"><samp class="codeph nolang">apiName</samp></td>

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

              <td class="entry" headers="d168225e60" data-title="Description">The record's object API name.</td>

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

              <td class="entry" headers="d168225e66" data-title="Available Version">49.0</td>

            </tr>

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

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

              <td class="entry" headers="d168225e60" data-title="Description">The ID of the cloned record. This top-level property returns the same result as
                <samp class="codeph nolang">CloneSourceId</samp> in the <samp class="codeph nolang">fields</samp> property.
              </td>

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

              <td class="entry" headers="d168225e66" data-title="Available Version">52.0</td>

            </tr>

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

              <td class="entry" headers="d168225e57" data-title="Type">Map&lt;String, <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_field_value.htm" title="The raw and displayable field values for a field in a record.">Field Value</a>&gt;</td>

              <td class="entry" headers="d168225e60" data-title="Description">A map of field data for the record.<p class="p">The response includes only requested
                  fields and <samp class="codeph nolang">CloneSourceId</samp>. If you don’t pass
                  any fields, the response includes only <samp class="codeph nolang">CloneSourceId</samp>.</p>
              </td>

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

              <td class="entry" headers="d168225e66" data-title="Available Version">49.0</td>

            </tr>

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

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

              <td class="entry" headers="d168225e60" data-title="Description">The RecordType ID of the record.</td>

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

              <td class="entry" headers="d168225e66" data-title="Available Version">49.0</td>

            </tr>

          </tbody>

        </table>

#### See Also

- [Record Defaults Template Clone](https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_record_defaults_template_clone.htm "A record template containing the default information and data needed to clone a record. Use these values in a request to POST /ui-api/records.")