# Import custom fields data for multiple computers This API upload a CSV file to import custom field values for multiple computers ## Endpoints POST `/dcapi/customFields/computers/values/import` ## Request URL `https://{server-hostname}:8383/dcapi/customFields/computers/values/import` ## Scope `SOM.UPDATE` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — **Mandatory** `application/importComputerCustomFields.v1+json` ### Request Body `multipart/form-data` - `computerCSVFile` `string` — Optional The CSV file containing custom field values for computers. Must include Computer Name, Domain Name, Owner, Location, Search Tag, Owner Email, Product Number, Shipping Date, Expiry Date and Notes ## Sample Request ```curl curl --request POST \ --url https://appdomain/dcapi/customFields/computers/values/import \ --header 'Accept: application/importComputerCustomFields.v1+json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'content-type: multipart/form-data' \ -F 'computerCSVFile=CSV File Should be Uploaded' ``` ## Sample Request Body ```text computerCSVFile = CSV File Should be Uploaded ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` - `status` `string` Message indicating the import result, showing how many records out of the total were successfully imported ## Possible Response Codes - **200** — HTTP code ## Sample Response: HTTP 200 ```json { "status": "n out of n record(s) have been imported successfully" } ``` ## Rate Limit ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **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.