ApiResponseImportResult
data object
batchTokensstring[]
commitPolicyImportCommitPolicy
Possible values: [ATOMIC, PER_ROW]
dryRunbooleanrequired
errorCountinteger<int32>required
errors object[]required
Array [
fieldstringrequired
messagestringrequired
rowinteger<int32>required
]
missingSuppliers object[]
Array [
displayNamestringrequired
normalizedNamestringrequired
productCountinteger<int32>required
]
previewColumnsstring[]required
previewRows object[]required
Array [
actionstring
afterValues objectrequired
property name*string
beforeValues objectrequired
property name*string
classificationstring
rowinteger<int32>required
validbooleanrequired
values objectrequired
property name*string
]
successCountinteger<int32>required
totalRowsinteger<int32>required
warningCountinteger<int32>
warnings object[]required
Array [
fieldstringrequired
messagestringrequired
rowinteger<int32>required
]
error object
codestring
correlationIdstringnullable
detailstring
details objectnullable
anyOf
- ScheduleErrorDetails
- GatewayErrorDetails
currentVersionstringnullable
datesstring<date>[]required
occurrenceRefsstring[]required
requestIdsstring<uuid>[]required
totalinteger<int32>required
truncatedbooleanrequired
fieldErrors objectnullable
property name*stringnullable
gatewayErrorCodestringnullable
messagestring
retryableboolean
meta object
limitinteger<int32>
nextCursorstring
pageinteger<int32>
scheduleVersionstringnullable
totalinteger<int64>
totalPagesinteger<int32>
successbooleanrequired
ApiResponseImportResult
{
"data": {
"batchTokens": [
"string"
],
"commitPolicy": "ATOMIC",
"dryRun": true,
"errorCount": 0,
"errors": [
{
"field": "string",
"message": "string",
"row": 0
}
],
"missingSuppliers": [
{
"displayName": "string",
"normalizedName": "string",
"productCount": 0
}
],
"previewColumns": [
"string"
],
"previewRows": [
{
"action": "string",
"afterValues": {},
"beforeValues": {},
"classification": "string",
"row": 0,
"valid": true,
"values": {}
}
],
"successCount": 0,
"totalRows": 0,
"warningCount": 0,
"warnings": [
{
"field": "string",
"message": "string",
"row": 0
}
]
},
"error": {
"code": "string",
"correlationId": "string",
"detail": "string",
"details": {
"currentVersion": "string",
"dates": [
"2024-07-29"
],
"occurrenceRefs": [
"string"
],
"requestIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"total": 0,
"truncated": true
},
"fieldErrors": {},
"gatewayErrorCode": "string",
"message": "string",
"retryable": true
},
"meta": {
"limit": 0,
"nextCursor": "string",
"page": 0,
"scheduleVersion": "string",
"total": 0,
"totalPages": 0
},
"success": true
}