Import custom fields data for multiple computers This API upload a CSV file to import custom field values for multiple computers
Request URL https://{server-hostname}:8383/dcapi/customFields/computers/values/import
Scope
Header Authorization: d92d4xxxxxxxxxxxxx15f52
Request Parameters - Request Headers - Request Body multipart/form-data JSON Object
Hide Sub-Attributes 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
Curl
Java
Python
Deluge
PowerShell
Copied!
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'import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.io.IOException;
import java.net.http.HttpTimeoutException;
public class Main {
public static void main(String[] args) {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://appdomain/dcapi/customFields/computers/values/import"))
.header("content-type", "multipart/form-data")
.header("Accept", "application/importComputerCustomFields.v1+json")
.header("Authorization", " d92d4xxxxxxxxxxxxx15f52")
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
import http.client
conn = http.client.HTTPSConnection("appdomain")
headers = {
'content-type': "multipart/form-data",
'Accept': "application/importComputerCustomFields.v1+json",
'Authorization': " d92d4xxxxxxxxxxxxx15f52"
}
conn.request("POST", "/dcapi/customFields/computers/values/import", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
headersMap = Map();
headersMap.put("Accept", "application/importComputerCustomFields.v1+json");
list_of_text=List();
list_of_text.add({"paramName":"computerCSVFile","content":"value","stringPart":"true"});
response = invokeUrl
[
url: "https://appDomain/dcapi/customFields/computers/values/import"
type: POST
headers: headersMap
files: list_of_text
connection: connection_name
]
info response;
$headers=@{}
$headers.Add("content-type", "multipart/form-data")
$headers.Add("Accept", "application/importComputerCustomFields.v1+json")
$headers.Add("Authorization", " d92d4xxxxxxxxxxxxx15f52")
$response = Invoke-WebRequest -Uri 'https://appdomain/dcapi/customFields/computers/values/import' -Method POST -Headers $headersSample Request Body computerCSVFile = CSV File Should be Uploaded▼ Show full
Response Parameters - HTTP code 200 Response Body - application/json JSON Object
Hide Sub-Attributes status string
Message indicating the import result, showing how many records out of the total were successfully imported
Possible Response Codes Sample Response: HTTP 200 {
"status": "n out of n record(s) have been imported successfully"
}
▼ 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.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.