---
schema_version: "1"
id: 179064d2134a182742cd9a7cc4f2799ed9f6f4ca9e4ae470e2d5c9fb1cfc5a86
title: Import Status Output
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/connect_responses_ingest_promotion_output.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/connect_responses_ingest_promotion_output.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 14927f9391cd3aeeb0e31e35677c27741217e4eea420d755822e9b9dae7a1dc4
description: Represents the details of the ingest promotions import status.
---
# Import Status Output

Represents the details of the ingest promotions import status.

## JSON Example

{
    "txid": "201d590c-6cbd-4705-8bc6-acbdec5f9bb1",
    "details:\[
        {
            "status": "Calculated",
            "nrOfItems": 25
        },
        {
            "status": "ToBeCalculated",
            "nrOfItems": 50
        },
        {
            "status": "Written",
            "nrOfItems": 50
        },
        {
            "status": "Error",
            "error": "ValidationError",
            "nrOfItems": 25
            "sample": \["aX01000000000001", "aX01000000000002", "aX01000000000005", "aX01000000000006", "aX01000000000007", "aX01000000000008", "aX01000000000009", "aX01000000000010", "aX01000000000011", "aX01000000000012"\]
        },
        {
            "status": "Error",
            "error": "TransformationError",
            "nrOfItems": 5,
            "sample": \["aX01000000000003", "aX01000000000004", "aX01000000000013", "aX01000000000014", "aX01000000000015" \]
        },
        {
            "status": "Initial",
            "nrOfItems": 325
        }
    \]
}

## Properties

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




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

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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d148884e58" data-title="Description">The transaction ID of the import workflow.</td>

              <td class="entry" headers="d148884e61" data-title="Available Version">55</td>

            </tr>

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

              <td class="entry" headers="d148884e55" data-title="Type">List&lt;ImportStatus&gt;</td>

              <td class="entry" headers="d148884e58" data-title="Description">Indicates the state of the promotions.</td>

              <td class="entry" headers="d148884e61" data-title="Available Version">55</td>

            </tr>

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

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

              <td class="entry" headers="d148884e58" data-title="Description">Indicates the import status.<div class="p">Possible values are:<ul class="ul bulletList">
                    <li class="li"><samp class="codeph nolang">Calculated</samp></li>

                    <li class="li"><samp class="codeph nolang">ToBeCalculated</samp></li>

                    <li class="li"><samp class="codeph nolang">Written</samp></li>

                    <li class="li"><samp class="codeph nolang">Initial</samp></li>

                    <li class="li"><samp class="codeph nolang">Error</samp></li>

                  </ul>
                </div>
              </td>

              <td class="entry" headers="d148884e61" data-title="Available Version">55</td>

            </tr>

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

              <td class="entry" headers="d148884e55" data-title="Type">Integer</td>

              <td class="entry" headers="d148884e58" data-title="Description"> Indicates the number of promotions that exist in the given status.</td>

              <td class="entry" headers="d148884e61" data-title="Available Version">55</td>

            </tr>

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

              <td class="entry" headers="d148884e55" data-title="Type">List&lt;String&gt;</td>

              <td class="entry" headers="d148884e58" data-title="Description">The list of the first 10 CUD records IDs.</td>

              <td class="entry" headers="d148884e61" data-title="Available Version">55</td>

            </tr>

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

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

              <td class="entry" headers="d148884e58" data-title="Description">Indicates the type of error if any, that occurs during the import. </td>

              <td class="entry" headers="d148884e61" data-title="Available Version">55</td>

            </tr>

          </tbody>

        </table>