Retrieve computer CSV import progress

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Retrieves the current status and progress of a computer CSV import operation including success count, failure count, and empty file detection.

Request URL

https://{server-hostname}:8383/dcapi/som/computers/importStatus

Scope

SOM.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/importComputersStatus.v1+jsonapplication/importComputersStatus.v1+jsonCopied!

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomain/dcapi/som/computers/importStatus \
  --header 'Accept: application/importComputersStatus.v1+json' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
csvImportInProgressboolean

Indicates whether the CSV import is still being processed. Returns false once the import has completed

csvImportSummaryJSON Object

Summary of the completed CSV import operation including success and failure counts. Present only after the import finishes

Show Sub-Attributes
csvImportSuccessCountstring

Number of records from the CSV file that were successfully imported

csvImportFailureCountstring

Number of records from the CSV file that failed validation or could not be imported

isEmptyCSVFileboolean

Indicates whether the uploaded CSV file contained no valid data rows to process

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Import in progress

Copied!
  {
    "csvImportInProgress": true
  }
                
Show full

Import completed with results

Copied!
  {
    "csvImportSummary": {
      "csvImportFailureCount": 3,
      "csvImportSuccessCount": 45
    },
    "csvImportInProgress": false
  }
                
Show full

Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.