Updating value of a custom field for a given computer

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 updates a specified custom field for a particular resource ID by providing the field name and its new value

Request URL

https://{serverurl}/dcapi/customFields/computers/{ColumnID}/update

Scope

DesktopCentralCloud.CustomField.CREATECopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/updateCustomFieldStatus.v1+jsonapplication/updateCustomFieldStatus.v1+jsonCopied!
Content-TypestringMandatory
application/updateCustomField.v1+jsonapplication/updateCustomField.v1+jsonCopied!

- Path Parameters

ColumnIDstringMandatory

Provide the resource ID obtained from this API

- Request Body

application/json
JSON Object
Hide Sub-Attributes
fieldNamestringOptional

The custom field name as the key (e.g., OS Type) with its new value as the string value

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request POST \
  --url https://appdomains/dcapi/customFields/computers/{ColumnID}/update \
  --header 'Accept: application/updateCustomFieldStatus.v1+json' \
  --header 'Authorization: Zoho-oauthtoken  d92d4xxxxxxxxxxxxx15f52' \
  --header 'Content-Type: application/updateCustomField.v1+json' \
  --data '{}'

Sample Request Body

Copied!
  {
    "OS Type": "Windows 10"
  }
                
Show full

Response Parameters

- HTTP code 200

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

Indicates whether the custom field update was successful

messagestring

Confirmation message of the custom field update operation

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Copied!
  {
    "message": "Custom field has been updated successfully",
    "status": "SUCCESS"
  }
                
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.