DataManager RT

  1. Home
  2. Docs
  3. DataManager RT
  4. XML Integration Guide
  5. Sample Import Progress JSON return object (/api/Progress)

Sample Import Progress JSON return object (/api/Progress)

{

“isCompleted”: true,

“totalCompletedJobs”: [

“Import Started @ 6/4/2019 23:08:55 and Ended @ 6/4/2019 23:09:08. Total duration: 00:00:12.9664078”

],

“currentStep”: “Import Process Completed Successfully….”,

“currentTask”: null,

“progressTasks”: [

{

“name”: “Parsing XML”,

“statusMessage”: “Complete”,

“completedSteps”: [

“Started Parsing XML”,

” Done Parsing   Divisions….”,

” Done Parsing   Models….”,

” Done Parsing   MasterPartsList….”,

“Done Parsing XML”,

“Done Retrieving File Information ….”

],

“errorCount”: 0,

“batchStatusDetails”: null

},

{

“name”: “Generating Keys”,

“statusMessage”: “Complete”,

“completedSteps”: [

“Generating Normalized Custom Keys”,

“Completed creating dictionary to map xml objects to DMRT keys.”,

“Completed updating xml objects with DMRT keys.”,

“Processing BOM objects to ensure constraints before CSV creation.”

],

“errorCount”: 0,

“batchStatusDetails”: null

},

{

“name”: “Removing Duplicates”,

“statusMessage”: “Complete”,

“completedSteps”: [

“Started Removing Duplicates”,

“Processed File objects to ensure uniqueness before CSV creation.”

],

“errorCount”: 0,

“batchStatusDetails”: null

},

{

“name”: “Creating CSV Files”,

“statusMessage”: “Complete”,

“completedSteps”: [

“Currently Converting Files into CSV format ….”,

“Done Performing CSV Post Processing Task ….”

],

“errorCount”: 0,

“batchStatusDetails”: null

},

{

“name”: “Attributes”,

“statusMessage”: “Complete”,

“completedSteps”: [

“Validating Attribute Lists….”,

“Validated Attribute Lists….”

],

“errorCount”: 0,

“batchStatusDetails”: null

},

{

“name”: “XmlCustomHierarchyType”,

“statusMessage”: “Complete”,

“completedSteps”: [

“Validating XmlCustomHierarchyType….”,

“Loaded data for XmlCustomHierarchyType….”,

“Done Calculating Batches data for XmlCustomHierarchyType….”,

“Validated XmlCustomHierarchyType….”,

“Imported XmlCustomHierarchyType….”

],

“errorCount”: 0,

“batchStatusDetails”: {

“state”: 1,

“stateDescription”: “Running”,

“action”: “Importing data”,

“total”: 1,

“progress”: 1

}

},

{

“name”: “XmlCustomHierarchyType”,

“statusMessage”: “Error”,

“completedSteps”: [

“Validating XmlCustomHierarchyType….”

],

“errorCount”: 0,

“batchStatusDetails”: null

},

{

“name”: “XmlDeleteItems”,

“statusMessage”: “Complete”,

“completedSteps”: [

“Validating XmlDeleteItems….”,

“Loaded data for XmlDeleteItems….”,

“Done Calculating Batches data for XmlDeleteItems….”,

“Validated XmlDeleteItems….”,

“Imported XmlDeleteItems….”

],

“errorCount”: 0,

“batchStatusDetails”: {

“state”: 1,

“stateDescription”: “Running”,

“action”: “Importing data”,

“total”: 1,

“progress”: 1

}

},

{

“name”: “XmlHierarchyImport”,

“statusMessage”: “Complete”,

“completedSteps”: [

“Validating XmlHierarchyImport….”,

“Loaded data for XmlHierarchyImport….”,

“Done Calculating Batches data for XmlHierarchyImport….”,

“Validated XmlHierarchyImport….”,

“Imported XmlHierarchyImport….”

],

“errorCount”: 0,

“batchStatusDetails”: {

“state”: 1,

“stateDescription”: “Running”,

“action”: “Importing data”,

“total”: 1,

“progress”: 1

}

},

{

“name”: “XmlPartBase”,

“statusMessage”: “Complete”,

“completedSteps”: [

“Validating XmlPartBase….”,

“Loaded data for XmlPartBase….”,

“Done Calculating Batches data for XmlPartBase….”,

“Validated XmlPartBase….”,

“Imported XmlPartBase….”

],

“errorCount”: 0,

“batchStatusDetails”: {

“state”: 1,

“stateDescription”: “Running”,

“action”: “Importing data”,

“total”: 8,

“progress”: 8

}

},

{

“name”: “XmlBomImport”,

“statusMessage”: “Complete”,

“completedSteps”: [

“Validating XmlBomImport….”,

“Loaded data for XmlBomImport….”,

“Done Calculating Batches data for XmlBomImport….”,

“Validated XmlBomImport….”,

“Imported XmlBomImport….”

],

“errorCount”: 0,

“batchStatusDetails”: {

“state”: 1,

“stateDescription”: “Running”,

“action”: “Importing data”,

“total”: 1,

“progress”: 1

}

},

{

“name”: “XmlPartPricing”,

“statusMessage”: “Complete”,

“completedSteps”: [

“Validating XmlPartPricing….”,

“Loaded data for XmlPartPricing….”,

“Done Calculating Batches data for XmlPartPricing….”,

“Validated XmlPartPricing….”,

“Imported XmlPartPricing….”

],

“errorCount”: 0,

“batchStatusDetails”: {

“state”: 1,

“stateDescription”: “Running”,

“action”: “Importing data”,

“total”: 2,

“progress”: 2

}

},

{

“name”: “XmlSerialVin”,

“statusMessage”: “Complete”,

“completedSteps”: [

“Validating XmlSerialVin….”,

“Loaded data for XmlSerialVin….”,

“Done Calculating Batches data for XmlSerialVin….”,

“Validated XmlSerialVin….”,

“Imported XmlSerialVin….”

],

“errorCount”: 0,

“batchStatusDetails”: {

“state”: 1,

“stateDescription”: “Running”,

“action”: “Importing data”,

“total”: 1,

“progress”: 1

}

},

{

“name”: “XmlHierarchyTranslations”,

“statusMessage”: “Complete”,

“completedSteps”: [

“Validating XmlHierarchyTranslations….”,

“Loaded data for XmlHierarchyTranslations….”,

“Done Calculating Batches data for XmlHierarchyTranslations….”,

“Validated XmlHierarchyTranslations….”,

“Imported XmlHierarchyTranslations….”

],

“errorCount”: 1,

“batchStatusDetails”: {

“state”: 1,

“stateDescription”: “Running”,

“action”: “Importing data”,

“total”: 1,

“progress”: 1

}

},

{

“name”: “XmlContextNoteTranslations”,

“statusMessage”: “Complete”,

“completedSteps”: [

“Validating XmlContextNoteTranslations….”,

“Loaded data for XmlContextNoteTranslations….”,

“Done Calculating Batches data for XmlContextNoteTranslations….”,

“Validated XmlContextNoteTranslations….”,

“Imported XmlContextNoteTranslations….”

],

“errorCount”: 0,

“batchStatusDetails”: {

“state”: 1,

“stateDescription”: “Running”,

“action”: “Importing data”,

“total”: 1,

“progress”: 1

}

}

]

}

 

 

Print this article
Was this article helpful to you? Yes No

How can we help?