Sample structure/docs for Batch Import


#1

Where can we see sample structure or clear documentation for the Import Batch Data JSON?

I’ve managed to find some simple examples which have led me to this:

{
“BatchData”: [
{
“rowIndex”: 0,
“columnIndex”: 0,
“type”: “String”,
“value”: “sport”,
“style”: null
},
{
“rowIndex”: 0,
“columnIndex”: 1,
“type”: “String”,
“value”: “ultra”,
“style”: null
},
{
“rowIndex”: 0,
“columnIndex”: 2,
“type”: “String”,
“value”: “20/01/2018”,
“style”: null
},
{
“rowIndex”: 1,
“columnIndex”: 0,
“type”: “String”,
“value”: “$10,000.00”,
“style”: null
},
{
“rowIndex”: 1,
“columnIndex”: 1,
“type”: “String”,
“value”: “27”,
“style”: null
},
{
“rowIndex”: 1,
“columnIndex”: 2,
“type”: “Int”,
“value”: 10,
“style”: “Number”
}
],
“DestinationWorksheet”: “Sheet1”,
“IsInsert”: false,
“ImportDataType”: “BatchData”
}

But I want clearer docs. What is the ‘style’ property and how can we set it?