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}

Properties 

Property NameTypeDescriptionAvailable Version
txidStringThe transaction ID of the import workflow.55
detailsList<ImportStatus>Indicates the state of the promotions.55
statusStringIndicates the import status.
Possible values are:
  • Calculated
  • ToBeCalculated
  • Written
  • Initial
  • Error
55
nrOfItemsIntegerIndicates the number of promotions that exist in the given status.55
sampleList<String>The list of the first 10 CUD records IDs.55
errorStringIndicates the type of error if any, that occurs during the import.55