Import custom fields data for multiple computers

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

This API upload a CSV file to import custom field values for multiple computers

Request URL

https://{serverurl}/dcapi/customFields/computers/values/import

Scope

DesktopCentralCloud.SOM.UPDATECopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

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

- Request Body

multipart/form-data
JSON Object
Hide Sub-Attributes
computerCSVFilestringOptional

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
Java
Python
Deluge
PowerShell
Copied!
curl --request POST \
  --url https://appdomains/dcapi/customFields/computers/values/import \
  --header 'Accept: application/importComputerCustomFields.v1+json' \
  --header 'Authorization: Zoho-oauthtoken  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: multipart/form-data'

Sample Request Body

Copied!
computerCSVFile = CSV File Should be Uploaded
Show full

Response Parameters

- HTTP code 200

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

Message indicating the import result, showing how many records out of the total were successfully imported

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Copied!
  {
    "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.