# Retrieve remote office CSV import progress Returns the current status of a remote office CSV import operation. While the import is running, csvImportInProgress is true. Once complete, a summary with success and failure counts is included. ## Endpoints `GET /dcapi/som/remote-offices/importStatus` ## Request URL `https://{server-hostname}:8383/dcapi/som/remote-offices/importStatus` ## Scope `SOM.READ` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` **Mandatory**: `application/importRemoteOfficeStatus.v1+json` ### Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/som/remote-offices/importStatus \ --header 'Accept: application/importRemoteOfficeStatus.v1+json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — application/json `JSON Object` - **csvImportInProgress** `boolean`: true if the remote office CSV import process is currently running, false if completed or not started - **csvImportSummary** `JSON Object`: Summary of the completed import including success and failure counts. Present only when the import has finished ### Possible Response Codes - **200** `HTTP code` ### Sample Response: HTTP 200 #### Import is currently running ```json { "csvImportInProgress": true } ``` #### Import completed with success and failure counts ```json { "csvImportSummary": { "csvImportFailureCount": 1, "csvImportSuccessCount": 5 }, "csvImportInProgress": false } ``` #### Import completed but CSV file had no valid data ```json { "csvImportSummary": { "isEmptyCSVFile": true }, "csvImportInProgress": false } ``` #### No import has been initiated ```json { "csvImportInProgress": false } ``` ## Rate Limit **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.