Retrieve IP scope 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 of a CSV import operation for IP scopes including success count, failure count, and empty file detection.

Request URL

https://{serverurl}/dcapi/som/ip-scopes/importStatus

Scope

DesktopCentralCloud.SOM.READCopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

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

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomains/dcapi/som/ip-scopes/importStatus \
  --header 'Accept: application/importIPScopesStatus.v1+json' \
  --header 'Authorization: Zoho-oauthtoken  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

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

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

csvImportSummaryJSON Object

Summary of the completed IP scope CSV import 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

Copied!
  {
    "csvImportSummary": {
      "csvImportFailureCount": 2,
      "csvImportSuccessCount": 10
    },
    "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.