Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Import Status Output

Represents the details of the ingest promotions import status.
JSON example
1{
2    "txid": "201d590c-6cbd-4705-8bc6-acbdec5f9bb1",
3    "details:[
4        {
5            "status": "Calculated",
6            "nrOfItems": 25
7        },
8        {
9            "status": "ToBeCalculated",
10            "nrOfItems": 50
11        },
12        {
13            "status": "Written",
14            "nrOfItems": 50
15        },
16        {
17            "status": "Error",
18            "error": "ValidationError",
19            "nrOfItems": 25
20            "sample": ["aX01000000000001", "aX01000000000002", "aX01000000000005", "aX01000000000006", "aX01000000000007", "aX01000000000008", "aX01000000000009", "aX01000000000010", "aX01000000000011", "aX01000000000012"]
21        },
22        {
23            "status": "Error",
24            "error": "TransformationError",
25            "nrOfItems": 5,
26            "sample": ["aX01000000000003", "aX01000000000004", "aX01000000000013", "aX01000000000014", "aX01000000000015" ]
27        },
28        {
29            "status": "Initial",
30            "nrOfItems": 325
31        }
32    ]
33}
Property Name Type Description Available Version
txid String The transaction ID of the import workflow. 55
details List<ImportStatus> Indicates the state of the promotions. 55
status String Indicates the import status.
Possible values are:
  • Calculated
  • ToBeCalculated
  • Written
  • Initial
  • Error
55
nrOfItems Integer Indicates the number of promotions that exist in the given status. 55
sample List<String> The list of the first 10 CUD records IDs. 55
error String Indicates the type of error if any, that occurs during the import. 55