Open API Specification (OAS)
API Collection
OAuth Authentication
Inventory
Customer Info
Patch Management
Patch Details
Patch Configuration
Automatic Patch Deployment
Vulnerability Management
Threat Details
Custom Field
SoM
Report
Query Report
Custom Report
BitLocker
Common
The ManageEngine Endpoint Central API provides a comprehensive interface to facilitate seamless integration with third-party tools. By leveraging these APIs, you can automate endpoint management tasks within your IT ecosystem that often require collaboration across multiple tools.
The APIs allow you to fetch and modify data across various Endpoint Central modules, including Inventory, Patch Management, Configurations, MDM, and more.
All APIs follow standard HTTP methods and error codes and support commonly used data formats such as JSON.
You can find the list of supported modules that offer APIs in the left sidebar. If you require additional APIs, please contact us with your requirements..
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.
| Method Name | Method Type | URL | OAuth Scope | Operation |
|---|---|---|---|---|
| Retrieve Computer Inventory Summary | GET | /dcapi/inventory/computers/[0-9]+/summary | DesktopCentralCloud.Inventory | READ |
| Get Inventory Software List | GET | /api/1.4/inventory/software | DesktopCentralCloud.Inventory | READ |
| Get Software Metering Summary | GET | /api/1.4/inventory/swmeteringsummary | DesktopCentralCloud.Inventory | READ |
| Get Prohibited Software List | GET | /api/1.4/inventory/prohibitedsw | DesktopCentralCloud.Inventory | READ |
| Inventory Filter Parameters | GET | /api/1.4/inventory/filterParams | DesktopCentralCloud.Inventory | READ |
| Hardware Computer | GET | /api/1.4/inventory/computers | DesktopCentralCloud.Inventory | READ |
| Software Computer | GET | /api/1.4/inventory/computers | DesktopCentralCloud.Inventory | READ |
| Licensed Software Computers | GET | /api/1.4/inventory/computers | DesktopCentralCloud.Inventory | READ |
| Software metering list | GET | /api/1.4/inventory/computers | DesktopCentralCloud.Inventory | READ |
| Get Hardware Inventory List | GET | /api/1.4/inventory/hardware | DesktopCentralCloud.Inventory | READ |
| Get Inventory Computers and Scan Details | GET | /api/1.4/inventory/scancomputers | DesktopCentralCloud.Inventory | READ |
| Get Installed Software details for a Computer | GET | /api/1.4/inventory/installedsoftware | DesktopCentralCloud.Inventory | READ |
| Prohibited Software Computers | GET | /api/1.4/inventory/computers | DesktopCentralCloud.Inventory | READ |
| License Computers | GET | /api/1.4/inventory/computers | DesktopCentralCloud.Inventory | READ |
| Retrieve Computer General Summary | GET | /dcapi/inventory/computers/[0-9]+/generalSummary | DesktopCentralCloud.Inventory | READ |
| Get Computer Summary Details | GET | /api/1.4/inventory/compdetailssummary | DesktopCentralCloud.Inventory | READ |
| Retrieve Software Summary of a Computer | GET | /dcapi/inventory/computers/[0-9]+/software | DesktopCentralCloud.Inventory | READ |
| Get Summary for Inventory Module | GET | /api/1.4/inventory/allsummary | DesktopCentralCloud.Inventory | READ |
| Get Software License Details by Software | GET | /api/1.4/inventory/licenses | DesktopCentralCloud.Inventory | READ |
| Get All Licenses of a Software | GET | /api/1.4/inventory/licensesoftware | DesktopCentralCloud.Inventory | READ |
| Computers — Network Summary | GET | /dcapi/inventory/computers/[0-9]+/network | DesktopCentralCloud.Inventory | READ |
No APIs found for this search.
| Method Name | Method Type | URL | OAuth Scope | Operation |
|---|---|---|---|---|
| Retrieve Customer Information | GET | /dcapi/customers | DesktopCentralCloud.Common | READ |
No APIs found for this search.
| Method Name | Method Type | URL | OAuth Scope | Operation |
|---|---|---|---|---|
| List Patch Status Across Computers | GET | /api/1.4/patch/allpatchdetails | DesktopCentralCloud.PatchMgmt | READ |
| Initiate Patch Scan on Selected or All Computers | POST | /api/1.4/patch/computers/scan | DesktopCentralCloud.PatchMgmt | UPDATE |
| Fetch System Health Policy | GET | /api/1.4/patch/healthpolicy | DesktopCentralCloud.PatchMgmt | READ |
| List Patch Deployment Policies | GET | /api/1.4/patch/deploymentpolicies | DesktopCentralCloud.PatchMgmt | READ |
| Retrieve the details of all downloaded patches | GET | /api/1.4/patch/downloadedpatches | DesktopCentralCloud.PatchMgmt | READ |
| Initiate Unapprove Patch Action | POST | /api/1.4/patch/unapprovepatch | DesktopCentralCloud.PatchMgmt | UPDATE |
| Patch Database Update Status | GET | /api/1.4/patch/dbupdatestatus | DesktopCentralCloud.PatchMgmt | READ |
| Get Patch Scan System List | GET | /api/1.4/patch/scandetails | DesktopCentralCloud.PatchMgmt | READ |
| Initiate Decline Patch Action | POST | /api/1.4/patch/declinepatch | DesktopCentralCloud.PatchMgmt | UPDATE |
| List All Patches | GET | /api/1.4/patch/allpatches | DesktopCentralCloud.PatchMgmt | READ |
| Initiate Patch Scan for All Computers | POST | /api/1.4/patch/computers/scanall | DesktopCentralCloud.PatchMgmt | UPDATE |
| Patch Summary | GET | /api/1.4/patch/summary | DesktopCentralCloud.PatchMgmt | READ |
| Initiate Approve Patch Action | POST | /api/1.4/patch/approvepatch | DesktopCentralCloud.PatchMgmt | UPDATE |
| List All Systems with Patch Status | GET | /api/1.4/patch/allsystems | DesktopCentralCloud.PatchMgmt | READ |
| Retrieve Systems and Patch Details | GET | /dcapi/threats/systemreport/patches | DesktopCentralCloud.PatchMgmt | READ |
| Retrieves all patches | GET | /dcapi/threats/patches | DesktopCentralCloud.PatchMgmt | READ |
| Retrieve Patch Report for a System | GET | /api/1.4/patch/systemreport | DesktopCentralCloud.PatchMgmt | READ |
| Retrieve Patch Deployment Configurations | GET | /api/1.4/patch/viewconfig | DesktopCentralCloud.PatchMgmt | READ |
| Patch Approval Settings | GET | /api/1.4/patch/approvalsettings | DesktopCentralCloud.PatchMgmt | READ |
| Retrieve Supported Patches | GET | /api/1.4/patch/supportedpatches | DesktopCentralCloud.PatchMgmt | READ |
No APIs found for this search.
| Method Name | Method Type | URL | OAuth Scope | Operation |
|---|---|---|---|---|
| Uninstall specific patches in all systems | POST | /api/1.4/patch/uninstallpatch | DesktopCentralCloud.PatchMgmt | UPDATE |
| Install all missing patches in specific systems | POST | /api/1.4/patch/installpatch | DesktopCentralCloud.PatchMgmt | UPDATE |
| Install specific patches in specific systems | POST | /api/1.4/patch/installpatch | DesktopCentralCloud.PatchMgmt | UPDATE |
| Install specific patches in all systems | POST | /api/1.4/patch/installpatch | DesktopCentralCloud.PatchMgmt | UPDATE |
No APIs found for this search.
| Method Name | Method Type | URL | OAuth Scope | Operation |
|---|---|---|---|---|
| Creating a APD task. | POST | /api/1.4/patch/createAPDTask | DesktopCentralCloud.PatchMgmt | UPDATE |
| Modifying a APD task. | POST | /api/1.4/patch/modifyAPDTask | DesktopCentralCloud.PatchMgmt | UPDATE |
| Deleting a APD task. | POST | /api/1.4/patch/deleteAPDTask | DesktopCentralCloud.PatchMgmt | UPDATE |
| Suspending a APD task. | POST | /api/1.4/patch/suspendAPDTask | DesktopCentralCloud.PatchMgmt | UPDATE |
| Resuming a APD task. | POST | /api/1.4/patch/resumeAPDTask | DesktopCentralCloud.PatchMgmt | UPDATE |
No APIs found for this search.
| Method Name | Method Type | URL | OAuth Scope | Operation |
|---|---|---|---|---|
| Retrieve Vulnerabilities List | GET | /dcapi/threats/vulnerabilities | DesktopCentralCloud.VulnerabilityMgmt | READ |
| Get Vulnerability-Computer Details | GET | /dcapi/threats/detailedinfo/vulnerabilities | DesktopCentralCloud.VulnerabilityMgmt | READ |
| Retrieve Computers with Server Misconfigurations | GET | /dcapi/threats/servermisconfigurations | DesktopCentralCloud.VulnerabilityMgmt | READ |
| Retrieve Vulnerable Computers | GET | /dcapi/threats/systemreport/vulnerabilities | DesktopCentralCloud.VulnerabilityMgmt | READ |
| Retrieve Server Misconfigurations | GET | /dcapi/threats/systemreport/servermisconfigurations | DesktopCentralCloud.VulnerabilityMgmt | READ |
| Retrieve Threat and Patch Summary for All Computers | GET | /dcapi/threats/systemreport | DesktopCentralCloud.VulnerabilityMgmt | READ |
| Retrieve System Misconfigurations | GET | /dcapi/threats/systemreport/systemmisconfigurations | DesktopCentralCloud.VulnerabilityMgmt | READ |
| System Misconfigurations | GET | /dcapi/threats/systemmisconfigurations | DesktopCentralCloud.VulnerabilityMgmt | READ |
No APIs found for this search.
| Method Name | Method Type | URL | OAuth Scope | Operation |
|---|---|---|---|---|
| To fetch udtLength | GET | /dcapi/customColumn/udtLength | DesktopCentralCloud.CustomField | READ |
| Get Custom Data Types | GET | /dcapi/customColumn/customColumnPage | DesktopCentralCloud.CustomField | READ |
| Delete CustomField | DELETE | /dcapi/customColumn/removeCustomColumn | DesktopCentralCloud.CustomField | DELETE |
| Create Custom Data Type | POST | /dcapi/customColumn/customDataType | DesktopCentralCloud.CustomField | CREATE |
| Update CustomField | PUT | /dcapi/customColumn/modifyCustomColumn | DesktopCentralCloud.CustomField | UPDATE |
| Upload File to Custom Field | PUT | /dcapi/customFields/computers/[0-9]+/file | DesktopCentralCloud.CustomField | CREATE |
| Import Custom Fields for Computers | POST | /dcapi/customFields/computers/values/import | DesktopCentralCloud.SOM | UPDATE |
| Update Custom Column Value | PUT | /dcapi/customColumn/modifyCustomColumnValue | DesktopCentralCloud.CustomField | CREATE |
| Add CustomField | POST | /dcapi/customColumn/addCustomColumn | DesktopCentralCloud.CustomField | CREATE |
| Upload File to Custom Field in Computer | PUT | /dcapi/customFields/values/file | DesktopCentralCloud.CustomField | CREATE |
| Check UDT Name Existence API | GET | /dcapi/customColumn/udtNameExists | DesktopCentralCloud.CustomField | READ |
| Get Custom Field | GET | /dcapi/customFields/computers/[0-9]+ | DesktopCentralCloud.CustomField | READ |
| Get Custom Data Values | GET | /dcapi/customColumn/[0-9]+/customFields | DesktopCentralCloud.CustomField | READ |
| Update Custom Field Value | POST | /dcapi/customFields/computers/[0-9]+/update | DesktopCentralCloud.CustomField | CREATE |
No APIs found for this search.
| Method Name | Method Type | URL | OAuth Scope | Operation |
|---|---|---|---|---|
| Get Remote Office List | GET | /api/1.4/som/remoteoffice | DesktopCentralCloud.SOM | READ |
| Get Summary for SoM Computers | GET | /api/1.4/som/summary | DesktopCentralCloud.Common | READ |
| Install Endpoint Central Agent | POST | /api/1.4/som/computers/installagent | DesktopCentralCloud.SOM | UPDATE |
| Remove Managed Computer | POST | /api/1.4/som/computers/removecomputer | DesktopCentralCloud.SOM | UPDATE |
| Get Computers | GET | /api/1.4/som/computers | DesktopCentralCloud.Common | READ |
| Uninstall Endpoint Central Agent | POST | /api/1.4/som/computers/uninstallagent | DesktopCentralCloud.SOM | UPDATE |
| List Computers | GET | /dcapi/som/computersInfo | DesktopCentralCloud.SOM | READ |
No APIs found for this search.
| Method Name | Method Type | URL | OAuth Scope | Operation |
|---|---|---|---|---|
| Retrieve All Query Reports | GET | /dcapi/reports/queryReports | DesktopCentralCloud.QueryReport | READ |
| Retrieve Query Report Data by ID | GET | /dcapi/reports/queryReports/{dc_longvalue_pathparam}/data | DesktopCentralCloud.QueryReport | READ |
No APIs found for this search.
| Method Name | Method Type | URL | OAuth Scope | Operation |
|---|---|---|---|---|
| Custom Report View API | POST | /CRVIEW_{crview_prefix}.ec | DesktopCentralCloud.CustomReport | READ |
| Get All Custom Reports | GET | /dcapi/reports/customReports | DesktopCentralCloud.CustomReport | READ |
No APIs found for this search.
| Method Name | Method Type | URL | OAuth Scope | Operation |
|---|---|---|---|---|
| TPM Report | GET | /api/1.4/bitlocker/tpmreport | DesktopCentralCloud.DataEncryption | READ |
| Retrieve BitLocker Drive Report | GET | /api/1.4/bitlocker/bitlockerreports | DesktopCentralCloud.DataEncryption | READ |
| Recovery Key Details | GET | /api/1.4/bitlocker/recoverykeydetails | DesktopCentralCloud.DataEncryption | READ |
No APIs found for this search.
| Method Name | Method Type | URL | OAuth Scope | Operation |
|---|---|---|---|---|
| Retrieve All Custom Groups | GET | /api/1.4/customgroup/getCGList | DesktopCentralCloud.Common | READ |
| Server Properties | GET | /api/1.4/desktop/serverproperties | DesktopCentralCloud.Common | READ |
No APIs found for this search.
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.
| Operation Type | Description |
|---|---|
| ALL | Full access to the resource |
| READ | Allow access to read data from the resource |
| CREATE | Allow access to create data in the resource |
| UPDATE | Allow access to update an existing data in the resource |
| WRITE | Allow access to edit data in the resource (Alias for CREATE, UPDATE, and DELETE) |
| DELETE | Allow access to delete data in the resource |
| CUSTOM | Custom Operation Type |
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.
The Zoho Product's API uses the OAuth 2.0 protocol for authentication. OAuth 2.0 is an industry-standard protocol specification that enables third-party applications (clients) to gain delegated access to protected resources in Zoho via an API.

The following are some terms you need to know before you start using the Zoho Product's APIs.
Any end-user of your account, who can grant access to the protected resources.
An application that sends requests to the resource server to access the protected resources on behalf of the end-user.
The consumer key generated from the connected application.
The consumer secret generated from the connected application.
Authorization server provides the necessary credentials (such as Access and Refresh tokens) to the client.
The authorization server creates a temporary token and sends it to the client via the browser. The client will send this code to the authorization server to obtain access and refresh tokens.
A token that is sent to the resource server to access the protected resources of the user. The Access token provides secure and temporary access to the protected resources and is used by the applications to make requests to the connected app. Each access token will be valid only for an hour and can be used only for the set of operations that are described in the scope.
A token that can be used to obtain new access tokens. This token has an unlimited lifetime until it is revoked by the end-user.
Important
User Access Token must be kept confidential since it provides access to protected resources. Do NOT expose your Access Token anywhere in public forums, public repositories or on your website's client-side code like HTML or JavaScript. Exposing it to the public may lead to data theft, loss or corruption.
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.
Scopes limit the level of access given to a client for protected resources. It enables a user to provide delegated access to a client. Zoho Service APIs use selected scopes, which control the type of resource that the client application can access. Tokens are usually created with various scopes to ensure improved security. For example, you can generate a scope to create or view a lead, or to view metadata and so on.
Scopes contain three parameters — service name, scope name, and operation type. The format to define a scope is scope=service_name.scope_name.operation_type
For example, ZService.modules.ALL
Here, ZService is the service API name, modules is the scope name, and ALL is the operation type.
Group scope provide complete access to all functions the user can perform on the record. For instance, a group scope can allow a user to read, create, update, and delete records in all modules.
Example:
https://accounts.zoho.com/oauth/v2/auth?scope=ZService.modules.ALL,ZService.settings.ALL&client_id={client_id}&response_type=code&access_type={"offline"or"online"}&redirect_uri={redirect_uri}
In the above example, the user has access to all modules in the client ZService account.
Other examples are
Separate scopes are used to provide access to data in a particular module without access to other modules.
https://accounts.zoho.com/oauth/v2/auth?scope=ZService.modules.leads.ALL,ZService.modules.deals.ALL,ZService.settings.ALL&client_id={client_id}&response_type=code&access_type={"offline"or"online"}&redirect_uri={redirect_uri}
The above scope gives the user access to only the leads and deals modules from the client Zoho Service account.
Additionally, you can set specific permissions, like read, create, update or delete, for each module. For examples:
Access tokens can also be generated with multiple scopes. In such cases, the scopes should be separated by commas. The format to provide multiple scope is service_name.scope_name.OPERATION_TYPE,service_name.scope_name.OPERATION_TYPE. For example, ZService.modules.READ,ZService.settings.READ.
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.
Before you get started with authorization and make any calls using the Zoho Service APIs, you need to register your application with Zoho Service.
To register,
Go to Zoho Developer Console and click on GET STARTED.

Choose a client type and click CREATE NOW:

Applications that run exclusively on a browser and are independent of web servers.
Applications that are intended for use by multiple Zoho accounts. This app could be solving a special use case for all Zoho accounts and should have both a dedicated backend server and web UI to handle the authorization process and the app's logic. The app redirects users to Zoho for the authorization process using a web browser. Users grant permission for the app to access their Zoho data on their behalf. The app will consume data for its intended purposes on behalf of the user who authorized the app.
Applications that are built to run on smart phones and tablets.
Applications that run on devices without browsers such as smart TVs and printers.
Applications that does not have a redirect URL or a web UI, operating solely in the backend without requiring user interaction. A self-client is commonly employed when both the application and Zoho services are managed by the same person, aiming to establish secure communication between them.
For more details, refer to OAuth Overview.
Note
If you don't have a domain name and a redirect URL, you can use dummy values in their place and register your client.
Enter mandatory entries for corresponding client type and click on CREATE.
The following are the mandatory entries for different client types.
| Client Type | Client Name | Homepage URL | Redirect URIs | JS Domains |
|---|---|---|---|---|
| Java Script | Y | Y | Y | Y |
| Web-based | Y | Y | Y | NA |
| Mobile | Y | Y | Y | NA |
| Self Client | N | N | N | NA |
| Device | Y | Y | N | NA |
Server-based applications

Client-based applications

Self client

You will receive the client credentials such as Client ID and Client Secret in the Client Secret tab.
Enter a valid client name
Resolution: The client name has a special character. The client name must not contain any special characters except "_" and "&".
Enter a valid JavaScript Domain URI
Resolution: The JavaScript domain is incorrect. Specify valid JavaScript domains, separated by commas, and they must start with 'http'.
Enter a valid redirect URI
Resolution: The redirect URI is incorrect. Specify a valid redirect URI in the format "https://www.your-domain.com/callback".
Enter a valid homepage URL
Resolution: The homepage URL is invalid. Specify a valid homepage URL in the format "https://www.yourdomain.com".
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.
To use the Zoho Service APIs, the users must authenticate the application to make API calls on their behalf with an access token.
The access token, in return, must be obtained from a grant token (authorization code). The Zoho Service APIs use the authorization code grant type to provide access to protected resources.
Note
There are three ways in which you can generate the grant token based on the client type.
* Web-based application * Self-client - Authorization code flow * Self-client - Client Credentials Flow
Web-based applications are chosen when your application is used by multiple users and requires user intervention during authorization. For this client type, you must use redirection-based code generation. In this authorization flow,
The user clicks the Login with Zoho button on any third-party web-based application.
The application redirects the user to the Zoho Login page, and the user enters the Zoho credentials.

A new pop-up, similar to the one below, appears to ask the user to choose the environment-specific organization, such as Production, Sandbox, or Developer, whose data the application can access. This applies only to applications with more than one organization.

The user selects the organization for which the grant token has to be generated, and clicks Submit.
The web application redirects the user to the Zoho OAuth server with the required scope in the Accounts URL:
"https://accounts.zoho.com/oauth/v2/auth?scope=DesktopCentralCloud.admin.READ&client_id={client_id}&response_type=code&access_type={"offline"or"online"}&redirect_uri={redirect_uri}"

The page displays the chosen organization and the data (scope) that the application wants to access. Also, the request URL has the following parameters:
scope: Scope limits the level of access the application has to access protected resources.Refer to Scopes for more details.
client_id: Client ID(consumer key) that you obtained during client registration.
response_type: This parameter is sent with value code
access_type: Enter access_type as online or offline. If you want to generate the refresh token, set this value as offline.
redirect_uri: The URI to which the authorization server will redirect the browser back with the authorization code. It must be the same URI provided when registering the app in the API console. It should start with http:// or https://. For example: https://www.zylker.com/oauthredirect
Based on the user's login details, the system automatically detects the user's domain and uses the domain-specific authentication URL to obtain the organization-specific grant token (code).
When the user clicks Accept: The application gets authorized. The organization-specific grant token is sent as a parameter in the redirect_uri.

A back-end script from your end needs to store the following details from the above URL.
code={grant_token} - This is used to generate access and refresh tokens.
location={domain} - This tells you the domain of the user from which you have to make API calls.
accounts-server={accounts_URL} - This is your accounts URL which you have to use to generate access and refresh tokens.
The application exchanges the grant token for an access token.
When the user clicks Reject: The browser redirects to the redirect URI with the parameter error=access_denied, and your application is denied access to the user's data in Zoho Service.
Note
ERROR_invalid_response_type
Resolution: The value of the "response_type" key is not "code". Update the value as "code". (or) You have not passed the mandatory keys in the request. Pass all the mandatory keys in the request to generate the organization-specific grant token.
ERROR_invalid_client
Resolution: The client ID is wrong or empty. Pass the right client ID. You can check your client ID from the developer console.
ERROR_invalid_redirect_uri
Resolution: The redirect URI value passed, and the one registered in the developer console mismatches. Pass the right redirect URI.
ERROR_invalid_scope
Resolution: The scope is invalid. Pass valid scopes. You can refer to the list of scopes here.
Use this method to generate the organization-specific grant token if your application does not have a domain and a redirect URL. You can also use this option when your application is a standalone server-side application performing a back-end job.
Go to Zoho Developer Console and log in with your Zoho Service username and password.
Choose Self Client from the list of client types, and click Create Now.
Click OK in the pop up to enable a self client for your account.
Now, your client ID and client secret are displayed under the Client Secret tab.

Click the Generate Code tab and enter the required scope separated by commas. Refer to our list of Scopes, for more details. The system throws an 'Enter a valid scope' error when you enter one or more incorrect scopes.
Select the Time Duration for which the grant token is valid. Please note that after this time, the grant token expires.
Enter a description and click Create.

A pop up displays the list of portals as shown below. Choose your portal. Further, the pop-up displays the list of environments and different organizations under each environment.

Select the organization in an environment you want to generate the grant token for, and click Create.
The organization-specific grant token code for the specified scope is displayed. Copy the grant token.

Note
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.
OAuth2.0 requests are usually authenticated with an access token, which is passed as bearer token. To use this access token, you need to construct a normal HTTP request and include it in an Authorization header along with the value of Bearer.
Note
Make a POST request with the following URL. Replace {accounts_URL} with your domain-specific Zoho accounts URL when you make the request.
{accounts_URL}/oauth/v2/token
Note: For security reasons, pass the below parameters in the body of your request as form-data.
grant_type
Enter the value as "authorization_code".
client_id
Specify client-id obtained from the connected app.
client_secret
Specify client-secret obtained from the connected app.
redirect_uri
Specify the Callback URL that you registered during the app registration.
code
Enter the grant token you received after you made the authorization code request.
If the request is successful, you would receive the following:
{
"access_token": "{access_token}",
"refresh_token": "{refresh_token}",
"api_domain": "https://www.zohoapis.com",
"token_type": "Bearer",
"expires_in": 3600
}
access_token
Access token to access ZService APIs.
refresh_token
Refresh token to obtain new access tokens.
expires_in
Time in seconds after which the access token expires.
api_domain
Domain name of the API. Use this domain in your requests to make API calls to ZServices.
token_type
Type of token obtained. "Bearer" indicates this is an access token.
This completes the authentication. Once your app receives the access token, send the token in your HTTP authorization header to ZService API with the value "Zoho-oauthtoken {access_token}" for each endpoint (for each request).
Note
invalid_client
Resolution: You have passed an invalid Client ID or secret. Specify the correct client ID and secret.
(or)
There is a domain mismatch. You have registered the client and generated the grant token in a certain domain (US), but generating the tokens from a different domain (EU). Ensure that you generate the grant, access, and refresh tokens from the same domain using the same domain URL or Enable Multi-DC for your client to generate tokens from any domain.
(or)
You have passed the wrong client secret when multi-DC is enabled. Each DC holds a unique client secret. Ensure to pass the right client secret for that DC.
invalid_code
Resolution: The grant token has expired. The grant token is valid only for one minute in the redirection-based flow. Generate the access and refresh tokens before the grant token expires.
(or)
You have already used the grant token. You can use the grant token only once.
(or)
The refresh token to generate a new access token is wrong or revoked. Specify the correct refresh token value while refreshing an access token.
invalid_redirect_uri
Resolution: The redirect URI in the request mismatches the one registered in the developer console. Specify the correct redirect URI in the request.
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.
Access tokens expire after an hour of generation. To generate a new access token, use the refresh token you generated earlier.
Make a POST request with the following URL:
{Accounts_URL}/oauth/v2/token?refresh_token={refresh_token}&client_id={client_id}&client_secret={client_secret}&grant_type=refresh_token
Note
You must use your domain-specific Zoho Accounts URL to refresh your access token.
If the request is successful, you will receive the following output:
{
"access_token": "{new_access_token}",
"expires_in": 3600,
"api_domain": "https://www.zohoapis.com",
"token_type": "Bearer"
}
Note
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.
If you want to revoke your refresh token,
Make a POST request with the following URL:
{Accounts_URL}/oauth/v2/token/revoke?token={refresh_token}
Note
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.
Compared to the flow of creating access tokens in the self-client flow, the client credentials flow can be used to perform one-time tasks like one-time data migration or testing ZService API calls, etc. We recommend using self client or server-based authorization for integration purposes. The main benefit of the client credentials flow is the simplicity in creating an access token, requiring only your client ID, client secret, scope, and soid.
To generate an access token using the client credentials flow, make an API call to the following endpoint with the mandatory parameters as discussed in the following "Parameters" section. The accounts-url is specific to the location (i.e., datacenter) where the client is registered. See all the server-specific URLs.
{accounts-url}/oauth/v2/token?client_id={client_id}&client_secret={client_secret}&grant_type=client_credentials&scope={scope}&soid={soid}
client_idstring, mandatory
Client ID (consumer key) that you obtained during client registration.
client_secretstring, mandatory
Client secret that you obtained during client registration.
grant_typestring, mandatory
Specify the value as "client_credentials".
scopestring, mandatory
The corresponding scope for the resource you want to access from the user's account. Multiple scopes can be given in comma separated format. Refer to the Scopes page for more details.
soidstring, mandatory
This parameter is derived from the unique ServiceOrg or organization or portal ID (zsoid).
Syntax: ZService.{zsoid}. Example: ZService.600xxx46

You can obtain zsoid from the UI by clicking on your profile picture where you will see the name of your organization. Click on the dropdown to view the name of the organization and the Org ID.
{
"access_token": "1000.b2caxxxxx3c6",
"scope": "ZService.org.ALL ZService.settings.ALL ZService.users.ALL ZService.templates.email.READ ZService.templates.inventory.READ ZService.modules.ALL",
"api_domain": "https://www.zohoapis.com",
"token_type": "Bearer",
"expires_in": 3600
}
access_token
Use this access token in the header of the API calls to access data in ZService. Note that the response does not contain a refresh token. When an access token expires, make an API call to the same endpoint to get a new access token (if required).
scope
The scope for the resource you want to access from the user's account that was provided in the parameters.
api_domain
Domain name of the API. Use this domain in your requests to make API calls to ZService.
token_type
Type of token obtained. "Bearer" indicates this is an access token.
expires_in
Time in seconds after which the access token expires.
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.
Incremental Authorization is an OAuth strategy that allows a client to request specific authorization scopes as and when needed. This means that the client does not have to request every possible scope that might be needed upfront, which might result in a bad user experience. Incremental Authorization is considered a best practice in Oauth Authorization Request as:
For detailed information on implementing incremental authorization in your application, refer to the Zoho Accounts Incremental Authorization page.
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.
Each access token is valid for one hour.
A maximum of 15 active access tokens can be stored per refresh token. When the 16th token is requested, the oldest token is invalidated. When an invalid access token is used, "INVALID_OAUTHTOKEN" exception will be thrown.
You can generate a maximum of 10 access tokens from a refresh token in a span of 10 minutes.
If the 10-minute throttle limit is reached, "Access Denied" error will be thrown. Reuse valid tokens to avoid this exception.
{
"error_description":"You have made too many requests continuously. Please try again after some time.",
"error":"Access Denied",
"status":"failure"
}
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.
The REST API Postman collection is a set of all the API requests. Using these boilerplate requests, you can test and explore the APIs in various environments for multiple organizations.
Going through the entire API documentation to set up environments, variables, authorization, and so on every time you need to test an API can be tedious. Using the API Postman collection can make the process of exploring APIs swift and effortless. It also significantly reduces the risk of errors.
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.
An OpenAPI Specification (OAS) is a standardized way to describe RESTful APIs. It defines API structure, authentication methods, endpoints, request and response formats, in JSON or YAML.
The Open API Specification is designed to provide:
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.
get /dcapi/inventory/computers/[0-9]+/summary
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/dcapi/inventory/computers/[0-9]+/summary' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' {
"osSummary": {
"registeredTO": "Sysadmin",
"installedSystemDrive": "C:",
"licenseType": "OEM:DM",
"productID": "00330-53108-77008-XXX",
"osVersion": "10.0.19041",
"osCDKey": "M9YXX-NCJDX-TXXXJ-MXXXF-VMX2",
"operatingSystem": "Windows 10 Professional Edition (x64)"
},
"hardwareSummary": {
"computerManufacturer": "Dell Inc.",
"computerType": "NoteBook",
"shippingDate": "--",
"warrantyExpiryDate": "--",
"ramMemory": 16384,
"serviceTag": "F8JZXX",
"manufacturerShortName": "Dell",
"processorNames": "Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz",
"productNumber": "--",
"computerModel": "Precision 3551"
},
"generalSummary": {
"isClosedNetwork": "No",
"lastScanInitiatedTime": "--",
"operatingSystemID": 1,
"isServerOS": "No",
"isProxyDefined": "Yes",
"osLanguage": "English",
"primaryOwnerName": "Sysadmin",
"resourceID": "605",
"showModernManagementInfo": "No",
"isHPMachine": "No",
"isWarrantyExpired": "Not Available",
"ipAddress": "10.59.3.213",
"metroAppScanStatus": 0,
"resourceName": "xyz",
"isVMEnabled": "No",
"lastSuccessfulScanTime": "Jun 15, 2021 11:22 AM",
"macAddress": "00:09:0f:aa:00:01,2c:aa:68:aa:aa",
"currentLoggedUser": "xyz",
"licenseStatus": "Licensed",
"domainName": "ADC",
"customerID": "1",
"lastBootTime": "Jun 14, 2021 04:58 PM",
"isScanned": "Yes",
"resourceType": 1,
"lastLoggedUser": "--"
},
"assetSummary": {
"totalHardwaresCount": 34,
"totalSoftwaresCount": 140,
"noncommercialSoftwaresCount": 0,
"desktopAppsCount": 98,
"missingPatchesCount": 13,
"commercialSoftwaresCount": 14,
"windowsStoreAppsCount": 42,
"prohibitedSoftwaresCount": 0
},
"diskUsageSummary": {
"diskFreePercentage": 41.56118,
"diskSize": 474,
"diskUsedPercentage": 58.43882,
"diskUsedSize": 277,
"diskFreeSize": 197
}
}
curl --request GET \
--url 'https:///{serverurl}/dcapi/customers?fetchAllDetails=SOME_BOOLEAN_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' [
{
"country": "--",
"computerLimit": 0,
"website": "--",
"address": [
"5/247-2 Committiyar colony"
],
"city": "Avinashi",
"companyName": "--",
"postalCode": "641654",
"timeZone": {
"offset": "GMT-12:00",
"displayName": "(GMT-12:00) GMT-12:00 (Etc/GMT+12)",
"name": "GMT-12:00",
"id": "Etc/GMT+12"
},
"description": "--",
"rebrandedAgentLogo": "/images/rebrand_agent_uems.png",
"mobileDeviceLimit": 0,
"associatedUser": {
"associatedUserList": []
},
"customerName": "1",
"phoneNo": "7708184667",
"customerLogo": "/images/sdp-blue/dc-logo.gif",
"customerEmail": "sh@gmail.com",
"customerID": "5703",
"state": "Tamil Nadu",
"fax": "--"
},
{
"country": "--",
"computerLimit": 0,
"website": "--",
"address": [
"--"
],
"city": "--",
"companyName": "a",
"postalCode": "--",
"timeZone": {
"offset": "GMT-11:00",
"displayName": "(GMT-11:00) Niue Time (Pacific/Niue)",
"name": "Niue Time",
"id": "Pacific/Niue"
},
"description": "a",
"rebrandedAgentLogo": "/images/rebrand_agent_uems.png",
"mobileDeviceLimit": 1,
"associatedUser": {
"associatedUserList": [
{
"onlyCustomer": false,
"userRole": "Technician",
"userName": "aravtech",
"userID": "8404"
}
]
},
"customerName": "a",
"phoneNo": "--",
"customerLogo": "/images/sdp-blue/dc-logo.gif",
"customerEmail": "test@gmail.com",
"customerID": "5104",
"state": "--",
"fax": "--"
}
]
get /api/1.4/patch/allpatchdetails
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/patch/allpatchdetails?branchofficefilter=SOME_STRING_VALUE&patchid=SOME_STRING_VALUE&patchstatusfilter=SOME_INTEGER_VALUE&customerid=SOME_STRING_VALUE&customgroupfilter=SOME_STRING_VALUE&severityfilter=SOME_INTEGER_VALUE&domainfilter=SOME_STRING_VALUE&platformfilter=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code": 200,
"message_type": "allpatchdetails",
"message_response": {
"total": 5,
"allpatchdetails": [
{
"branch_office_name": "Local Office",
"patch_updated_time": 1552563514708,
"resource.name": "patch-abc-12-1",
"installstatusdefn.label": "--",
"sqnumber": "4057116",
"os_language": 1,
"install_error_code": "--",
"bulletin_id": "MS18-JAN9",
"update_name": "Security Updates",
"deploy_remarks": "--",
"patch_released_time": 1515715200000,
"patch_size": 0,
"patch_uninstall_status": 0,
"resource.domain_netbios_name": "DCPATCH",
"service_pack": "Windows Server 2012 R2 Gold (x64)",
"approvestatusdefn.image_name": "/images/approved_icon.gif",
"affectedpatchstatusdefn.image_name": "/images/success.gif",
"patch_type": 0,
"resource.resource_id": 50924,
"first_name": "DC-SYSTEM-USER",
"pmseverity.name": "Important",
"patch_status": 211,
"severity": 3,
"patch_id": 23956,
"patch_name": "SQLPreReqHandler_KB4057116_x64.exe",
"collection.collection_name": "--",
"patch_description": "Security update for SQL Server 2012 Service Pack 4 x64 (KB4057116)",
"approvestatusdefn.label": "dc.common.APPROVED",
"oslanguage.i18n": "dc.patch.patchinfo.English",
"deployment_status": "--",
"vendor_name": "Microsoft",
"superceded_by": "NA",
"severity_name": "dc.common.IMPORTANT",
"resourcemacip.resource_id": 50924,
"ip_address": "172.24.143.191",
"deployer.first_name": "--",
"installstatusdefn.image_name": "--",
"patch_supported_time": 1518615106000,
"affectedpatchstatusdefn.label": "dc.common.INSTALLED",
"agent_version": "10.0.267.W",
"user_id": 2,
"resource_id": 50924,
"os_name": "Windows Server 2012 R2 Standard Edition (x64)",
"deploy_remarks_args": "--",
"installed_time": "--"
}
],
"limit": 25,
"page": 1
},
"message_version": "1.0",
"status": "success"
}
post /api/1.4/patch/computers/scan
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/api/1.4/patch/computers/scan?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"resourceids":[112,113]}' {
"resourceids": [
112,
113
]
}
{
"message_type": "computers",
"message_response": {
"computers": {
"status": "Scan initiated successfully"
}
},
"message_version": "1.4",
"status": "success"
}
get /api/1.4/patch/healthpolicy
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/patch/healthpolicy?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code": 200,
"message_type": "healthpolicy",
"message_response": {
"healthpolicy": {
"vulnerable": {
"important": 49,
"critical": 0,
"low": 99,
"moderate": 74
},
"highly_vulnerable": {
"important": 50,
"critical": 1,
"low": 100,
"moderate": 75
},
"advanced_settings": {
"exclude_tp_apps": false,
"consider_only_approved": false
}
}
},
"message_version": "1.0",
"status": "success"
}
get /api/1.4/inventory/software
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/inventory/software?accesstypefilter=SOME_INTEGER_VALUE&customerid=SOME_STRING_VALUE&licensetypefilter=SOME_INTEGER_VALUE&domainfilter=SOME_STRING_VALUE&compliancestatusfilter=SOME_INTEGER_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code": 200,
"message_type": "software",
"message_response": {
"total": 1,
"software": [
{
"manufacturer_id": 17,
"detected_time": 1758011443604,
"comments": "--",
"total_copies": "--",
"manufacturer_name": "Microsoft Corporation",
"display_name": "Windows Subsystem for Linux Update",
"sw_family": 1,
"managed_installations": 1,
"remaining_copies": "--",
"software_id": 25,
"sw_category_name": "--",
"software_compliance_description": "--",
"installed_format": "MSI",
"compliant_status": "--",
"software_name": "Windows Subsystem for Linux Update",
"software_version": "5.10.16",
"sw_type": 0,
"is_usage_prohibited": 0,
"network_installations": 1,
"managed_sw_id": 25
},
{
"manufacturer_id": 100,
"detected_time": 1757310835858,
"comments": "--",
"total_copies": "--",
"manufacturer_name": "DC-Inventory",
"display_name": "DC-Inventory-Software",
"sw_family": 1,
"managed_installations": 1,
"remaining_copies": "--",
"software_id": 1,
"sw_category_name": "--",
"software_compliance_description": "--",
"installed_format": "EXE",
"compliant_status": "--",
"software_name": "DC-Inventory-Software",
"software_version": "1.0.0",
"sw_type": 0,
"is_usage_prohibited": 0,
"network_installations": 1,
"managed_sw_id": 1
}
],
"limit": 25,
"page": 1
},
"message_version": "1.4",
"status": "success"
}
get /dcapi/threats/vulnerabilities
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/dcapi/threats/vulnerabilities?severity=SOME_STRING_VALUE&publishedtime=SOME_STRING_VALUE&cvss_2_score=SOME_NUMBER_VALUE&os_platform=SOME_STRING_VALUE&supportedtime=SOME_STRING_VALUE&exploit_status=SOME_STRING_VALUE&updatedtime=SOME_STRING_VALUE&pageLimit=SOME_STRING_VALUE&patchid=SOME_STRING_VALUE&vulnerabilityid=SOME_STRING_VALUE&vulnerabilityname=SOME_STRING_VALUE&solution=SOME_STRING_VALUE&reboot_required=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE&cveids=SOME_STRING_VALUE&page=SOME_STRING_VALUE&cvss_3_score=SOME_NUMBER_VALUE&patch_availability=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"metadata": {
"pageLimit": 30,
"totalRecords": "2",
"totalPages": 1,
"links": {
"next": null,
"prev": null
},
"page": 1
},
"response_code": 200,
"message_type": "vulnerabilities",
"message_response": {
"vulnerabilities": [
{
"severity": "Important",
"publishedtime": "1557810000000",
"cvss_2_0_score": 5,
"os_platform": "Windows",
"supportedtime": "1557810000000",
"exploit_status": "not available",
"updatedtime": "1557858929000",
"affected_systems": 1,
"patchid": "37634",
"vulnerabilityid": "24480",
"vulnerabilityname": "KB4499405 2019-05 Cumulative Update for .NET Framework 3.5 and 4.8 for Windows Server 2019 for x64 (KB4495618)",
"solution": "Windows10.0-kb5031990-x64-ndp48-2019.msu",
"reboot_required": "may require",
"cveids": "CVE-2019-0981,CVE-2019-0820,CVE-2019-0980,CVE-2019-0864",
"cvss_3_0_score": 7.5,
"patch_availability": "available"
},
{
"severity": "Critical",
"publishedtime": "1562524200000",
"cvss_2_0_score": 7.5,
"os_platform": "Windows",
"supportedtime": "1562700356687",
"exploit_status": "not available",
"updatedtime": "1562707959273",
"affected_systems": 1,
"patchid": "37634",
"vulnerabilityid": "25109",
"vulnerabilityname": ".NET Framework Remote Code Execution Vulnerability for .NET Framework 3.5, 4.8 on Windows Server 2019 for x64 (KB4506990)",
"solution": "Windows10.0-kb5031990-x64-ndp48-2019.msu",
"reboot_required": "may require",
"cveids": "CVE-2019-1113,CVE-2019-1006,CVE-2019-1083",
"cvss_3_0_score": 9.8,
"patch_availability": "available"
}
]
},
"status": "success"
}
get /dcapi/threats/detailedinfo/vulnerabilities
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/dcapi/threats/detailedinfo/vulnerabilities?pageLimit=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE&page=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"cursor":"cmVzb3VyY2VfaWQ9NjAxO3Z1bG5lcmFiaWxpdHlpZD0yOTk1MDc7"}'The request body is not required for the first hit, but it will be needed for the second and subsequent hits
{
"cursor": "cmVzb3VyY2VfaWQ9NjAxO3Z1bG5lcmFiaWxpdHlpZD0yOTk1MDc7"
}
If you need to get data greater than updatedTime, then modify the request body as,
{
"cursor": "cmVzb3VyY2VfaWQ9NjAxO3Z1bG5lcmFiaWxpdHlpZD0yOTk1MDc7",
"updatedTime": "12345678910"
}
Step 1:
First hit:/dcapi/threats/detailedinfo/vulnerabilities
Sample Request Body: No request body in the first hit.
Since in the below response, 'isNextPageAvailable' is 'true', we have to hit the same API with 'cursor' in the payload. -> In every API Hit you'll receive 'cursor' and 'isNextPageAvailable' values.
If 'isNextPageAvailable' is 'true' in an API response, then we hit the API again with 'cursor' value in payload until, 'isNextPageAvailable' value is 'false'
{
"metadata": {
"cursor": "cmVzb3VyY2VfaWQ9NjAxO3Z1bG5lcmFiaWxpdHlpZD0yOTk1MDc7",
"pageLimit": 1,
"totalRecords": 1,
"isNextPageAvailable": true
},
"message_response": {
"data": [
{
"severity": "Critical",
"cvss_2_score": "--",
"patch_description": "Security Update for SQL Server 2022 RTM (KB5046861)",
"reference_links": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2023-21528,https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2023-21529",
"exploitscount": 0,
"ip_address": "172.23.192.1,172.19.176.1,172.21.239.42",
"vulnerability_status": "open",
"fqdn_name": "PURRY-031.DOMAIN.COM",
"updatedtime": 1733906647275,
"patchid": 40226,
"vulnerabilityid": 174340,
"vulnerabilityname": "Microsoft SQL Server Remote Code Execution Vulnerability for SQL Server 2022 RTM GDR (KB5021522)",
"cveids": "CVE-2023-21528,CVE-2023-21568,CVE-2023-21704,CVE-2023-21705,CVE-2023-21713,CVE-2023-21718,CVE-2023-23384",
"resource_id": 301,
"resource_name": "PURRY-031",
"cvss_3_score": 9.8
}
]
}
}
Step:2
Second API hit:/dcapi/threats/detailedinfo/vulnerabilities
Sample Request Body: In second hit we need to add cursor in the request body to get next set of data. Refer the request body from the request body field for payload of second hit. If 'isNextPageAvailable' is 'false', there's no need to call the API again, as it indicates there is no more data available
{
"metadata": {
"cursor": "cmVzb3VyY2VfaWQ9NjAxO3Z1bG5lcmFiaWxpdHlpZD0yOTk1MDc7",
"pageLimit": 1,
"totalRecords": 1,
"isNextPageAvailable": false
},
"message_response": {
"data": [
{
"severity": "Important",
"cvss_2_score": "--",
"patch_description": "Security Update for SQL Server 2022 RTM CU (KB5046862)",
"reference_links": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2023-29349",
"exploitscount": 0,
"ip_address": "172.23.192.1,172.19.176.1,172.21.239.42",
"vulnerability_status": "open",
"fqdn_name": "PURRY-031.DOMAIN.COM",
"updatedtime": 1733906647275,
"patchid": 40226,
"vulnerabilityid": 181871,
"vulnerabilityname": "Microsoft ODBC and OLE DB Remote Code Execution Vulnerability for SQL Server 2022 - KB5026806",
"cveids": "CVE-2023-29349,CVE-2023-29356,CVE-2023-32025,CVE-2023-32026,CVE-2023-32027,CVE-2023-32028,CVE-2023-38169",
"resource_id": 301,
"resource_name": "PURRY-031",
"cvss_3_score": 7.7
}
]
}
}
get /dcapi/customColumn/udtLength
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/dcapi/customColumn/udtLength?actualColumnName=SOME_STRING_VALUE&tableName=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' {
"lengthOfUDT": "20"
}
curl --request GET \
--url 'https:///{serverurl}/api/1.4/som/remoteoffice?customerid=SOME_STRING_VALUE&page=SOME_STRING_VALUE&pagelimit=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"message_type": "remoteoffice",
"message_response": {
"total": 3,
"limit": 25,
"page": 1,
"remoteoffice": [
{
"updated_time": 1756445282837,
"ds_status": 29,
"is_https": true,
"branch_office_name": "DS RemoteOffice",
"agent_arc_loc": "",
"compression_type": 1,
"replicationpolicydetails.policy_name": "Policy_1",
"branch_office_id": 301,
"proxy_details_branch_office_id": 301,
"resource_id_string": "309",
"policytobranchofficerel.policy_id": 1,
"agent_comm_branch_office_id": 301,
"ds_dns_name": "ds.mycomp.com",
"branch_office_desc": "--",
"ds_version": "11.4.2522.01",
"policytobranchofficerel.branch_office_id": 301,
"proxy_port_number": 80,
"last_contact_time": -1,
"is_proxy": true,
"colorquality_type": 16,
"ds_https_port": "8384",
"proxy_username": "Alex",
"adgroupremoteofficemapping.branch_office_id": 301,
"has_masteragent": true,
"managed_computers": 1,
"replicationpolicydetails.policy_id": 1,
"error_code_kb_url": "--",
"ds_sync_status": 1,
"error_kb_url": "$(dcUrl)/agent_installation_logon_failure.html?",
"ds_ipaddress": "10.92.8.98",
"branch_office_customer_id": 1,
"proxy_server_name": "Proxy - Server",
"resource_id": 309,
"disserverdetails.branch_office_id": 301,
"error_code": 60006,
"customer_name": "DC_CUSTOMER",
"customer_id": 1,
"resource_name": "Alex",
"remarks": "[i18n]dc.som.agentinstall.remarks.unknown_credential[/i18n]"
}
]
},
"message_version": "1.4",
"status": "success"
}
post /api/1.4/patch/uninstallpatch
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/api/1.4/patch/uninstallpatch?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"PatchIDs":[27170],"ConfigName":"API install patch test1","actionToPerform":"Deploy","ConfigDescription":"API test","DeploymentPolicyTemplateID":"1"}' {
"PatchIDs": [
27170
],
"ConfigName": "API install patch test1",
"actionToPerform": "Deploy",
"ConfigDescription": "API test",
"DeploymentPolicyTemplateID": "1"
}
{
"message_type": "uninstallpatch",
"message_response": {
"uninstallpatch": {}
},
"message_version": "1.4",
"status": "success"
}
get /api/1.4/patch/deploymentpolicies
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/patch/deploymentpolicies?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code": 200,
"message_type": "deploymentpolicies",
"message_response": {
"total": 44,
"deploymentpolicies": [
{
"creation_time": 1552544237529,
"usertodefaultdeploytemplaterel.dc_user_id": "--",
"usertodeploytemplaterel.template_id": 8103,
"usertodeploytemplaterel.modified_by": 1,
"template_name": "My Policy 939",
"is_template_alive": true,
"usertodefaultdeploytemplaterel.template_id": "--",
"modified_time": 1552544237529,
"set_as_default": false,
"user_id": 1,
"template_id": 8103,
"modifieduser.user_id": 1,
"customer_id": 1,
"modifieduser.first_name": "admin",
"first_name": "admin",
"dc_user_id": 1
}
],
"limit": 25,
"page": 1
},
"message_version": "1.0",
"status": "success"
}
get /api/1.4/patch/downloadedpatches
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/patch/downloadedpatches?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"message_type": "downloadedpatches",
"message_response": {
"total": 2,
"limit": 25,
"page": 1,
"downloadedpatches": [
{
"patch_download_status_label": "dc.common.SUCCESS",
"download_time": 1757340476320,
"patch.patchid": 1419469,
"patch_lang": 0,
"patch_language": 0,
"patch_updated": 1757055628000,
"download_remarks_args": "--",
"os_language": 0,
"bulletin_id": "BI-001",
"platform": 1,
"patch_download_status_image": "images/download_success.png",
"patch_released_time": 1755541800000,
"patch_size": 28887288,
"download_status": 221,
"platform_name": "Windows",
"patch_type": 12,
"patch_status": "--",
"how_to_url": "--",
"patch_id": 1419469,
"patch_name": "sp162871.exe",
"patch_description": "HP Firmware update - 8D8A System (01.02.04)",
"oslanguage.i18n": "Multilingual",
"superceded_by": "NA",
"patch_supported_time": 1757054914810,
"patchdetails.patchid": 1419469,
"error_kb_url": "--",
"patch_location_id": 3632425,
"download_remarks": "desktopcentral.server.patchmgmt.patch_download_success",
"pmpatchlocation.patchid": 1419469
},
{
"patch_download_status_label": "dc.common.SUCCESS",
"download_time": 1757340472509,
"patch.patchid": 1419470,
"patch_lang": 0,
"patch_language": 0,
"patch_updated": 1757055628000,
"download_remarks_args": "--",
"os_language": 0,
"bulletin_id": "BI-001",
"platform": 1,
"patch_download_status_image": "images/download_success.png",
"patch_released_time": 1755455400000,
"patch_size": 33507056,
"download_status": 221,
"platform_name": "Windows",
"patch_type": 12,
"patch_status": "--",
"how_to_url": "--",
"patch_id": 1419470,
"patch_name": "sp162858.exe",
"patch_description": "HP Firmware update - 8D94 System (01.02.04)",
"oslanguage.i18n": "Multilingual",
"superceded_by": "NA",
"patch_supported_time": 1757054915059,
"patchdetails.patchid": 1419470,
"error_kb_url": "--",
"patch_location_id": 3632426,
"download_remarks": "desktopcentral.server.patchmgmt.patch_download_success",
"pmpatchlocation.patchid": 1419470
}
]
},
"message_version": "1.4",
"status": "success"
}
get /api/1.4/inventory/swmeteringsummary
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/inventory/swmeteringsummary?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code ": 200,
"message_type": "swmeteringsummary",
"message_response": {
"total": 1,
"swmeteringsummary": [
{
"file_version": "",
"rules_summary_app_definition_id": 1,
"added_time": 1449640432608,
"comments": "",
"file_name": "DC-Inventory-App.exe",
"total_run_time": 1059712,
"product_name": "",
"swm_discovered_count": 2,
"app_definition_status": true,
"modified_time": 1449640432608,
"added_by": "DC-Inventory-User",
"total_run_count": 12,
"definition_name": "DC-Inventory-App",
"modified_by": "DC-Inventory-User",
"app_definition_id": 1,
"appdefinitiondetails.os_platform": 1,
"original_file_name": "",
"customer_id": 1
}
],
"limit": 25,
"page": 1
},
"message_version": "1.0",
"status": "success"
}
get /dcapi/customColumn/customColumnPage
Copy full URLcurl --request GET \
--url https:///{serverurl}/dcapi/customColumn/customColumnPage \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' {
"customDataTypeList": [
"CHAR"
],
"containsCustomDataType": "false"
}
post /api/1.4/patch/unapprovepatch
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/api/1.4/patch/unapprovepatch?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"patchids":[112,113]}' {
"patchids": [
112,
113
]
}
{
"message_type": "unapprovepatch",
"message_response": {
"unapprovepatch": {
"status": "Initiated Successfully"
}
},
"message_version": "1.4",
"status": "success"
}
get /api/1.4/inventory/prohibitedsw
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/inventory/prohibitedsw?uninstallsupportfilter=SOME_STRING_VALUE&installerformatfilter=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code ": 200,
"message_type": "prohibitedsw",
"message_response": {
"prohibitedsw": [
{
"manufacturer_id": 42,
"display_name": "Google Chrome",
"managed_installations": 2,
"software_id": 107,
"is_uninstallable": "No",
"installed_format": "EXE",
"silent_switch": "--",
"sw_type": 0,
"software_version": "2.0.2",
"software_name": "Google Chrome",
"is_usage_prohibited": 2,
"network_installations": 10,
"managed_sw_id": 107
}
],
"total": 1,
"limit": 1,
"page": 1
},
"message_version": "1.0",
"status": "success"
}
delete /dcapi/customColumn/removeCustomColumn
Copy full URLcurl --request DELETE \
--url 'https:///{serverurl}/dcapi/customColumn/removeCustomColumn?forceDelete=SOME_BOOLEAN_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' \
--header 'accept: application/editCustomColumnStatus.v1+json' \
--header 'content-type: application/json' \
--data '{"actualColumnName":"COL2","tableName":"ManagedComputerCustomFields"}' {
"actualColumnName": "COL2",
"tableName": "ManagedComputerCustomFields"
}
curl --request GET \
--url 'https:///{serverurl}/api/1.4/som/summary?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"message_type": "summary",
"message_response": {
"summary": {
"last_contact_time_summary": {
"equal_3_day": 2,
"8_day_to_15_day": 0,
"16_day_to_30_day": 0,
"greater_30_day": 0,
"4_day_to_7_day": 1
},
"installation_status_summary": {
"uninstallation_failed": 1,
"installed": 1,
"total": 3,
"installation_failed": 0,
"yet_to_install": 1,
"uninstalled": 0
},
"live_status_summary": {
"down": 0,
"live": 3,
"unknown": 0
}
}
},
"message_version": "1.4",
"status": "success"
}
get /api/1.4/inventory/filterParams
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/inventory/filterParams?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code ": 200,
"message_type": "filterparams",
"message_response": {
"filterparams": {
"os_filter_params": {
"params": [
"DC-Inventory-OS-1",
"DC-Inventory-OS-2",
"DC-Inventory-OS-3"
]
},
"category_filter_params": {
"params": [
"Accounting",
"Database",
"Development",
"Driver",
"Game",
"Graphics",
"Internet",
"Multimedia",
"Others"
]
},
"software_manufacturer_filter_params": {
"params": [
"DC-Inventory-SW-Vendor-1",
"DC-Inventory-SW-Vendor-2",
"DC-Inventory-SW-Vendor-3",
"DC-Inventory-SW-Vendor-4",
"DC-Inventory-SW-Vendor-5"
]
},
"hardware_type_filter_params": {
"params": [
"Operating System",
"Bios",
"Processor",
"Logical Disk",
"Keyboard",
"Sound Device",
"Video Controller",
"Pointing Device",
"POTS Modem",
"IDE Controller",
"PCMCIA Controller",
"CDROM Drive",
"Disk Drive",
"USB Controller",
"USB Hub",
"Serial Port",
"Desktop Monitor",
"Computer System",
"Network Adapter",
"Printer",
"Battery",
"Physical Memory",
"Memory Slots",
"Parallel Port",
"Mother Board",
"Mapped Logical Disk"
]
},
"hardware_manufacturer_filter_params": {
"params": [
"DC-Inventory-HW-Vendor-1",
"DC-Inventory-HW-Vendor-2",
"DC-Inventory-HW-Vendor-3",
"DC-Inventory-HW-Vendor-4",
"DC-Inventory-HW-Vendor-5",
"DC-Inventory-HW-Vendor-6"
]
},
"computer_manufacturer_filter_params": {
"params": [
"DC-Inventory-Computer-Vendor-1",
"DC-Inventory-Computer-Vendor-2"
]
}
}
},
"message_version": "1.0",
"status": "success"
}
post /dcapi/customColumn/customDataType
Copy full URLcurl --request POST \
--url https:///{serverurl}/dcapi/customColumn/customDataType \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' \
--header 'content-type: application/json' \
--data '{"allowedValues":"Mac","defaultValue":"Mac","dataType":"Chartype","size ":50,"baseType":"CHAR"}' {
"allowedValues": "Mac",
"defaultValue": "Mac",
"dataType": "Chartype",
"size ": 50,
"baseType": "CHAR"
}
{
"dataType": "Chartype",
"message": "Custom Format <b>Chartype</b> has been added successfully",
"status": "SUCCESS"
}
get /dcapi/threats/servermisconfigurations
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/dcapi/threats/servermisconfigurations?os_platform_name=SOME_STRING_VALUE&severity=SOME_STRING_VALUE&updated_time=SOME_STRING_VALUE&pageLimit=SOME_STRING_VALUE&published_time=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE&hardeningid=SOME_STRING_VALUE&description=SOME_STRING_VALUE&page=SOME_STRING_VALUE&hardeningname=SOME_STRING_VALUE&category=SOME_STRING_VALUE&resolution=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"metadata": {
"pageLimit": 30,
"totalRecords": "2",
"totalPages": 1,
"links": {
"next": null,
"prev": null
},
"page": 1
},
"response_code": 200,
"message_type": "servermisconfigurations",
"message_response": {
"servermisconfigurations": [
{
"os_platform_name": "Windows",
"severity": "Moderate",
"updated_time": "1540475593000",
"affected_systems": 1,
"published_time": "1540475595000",
"hardeningid": "55",
"description": "You can mitigate most of the common Cross Site Scripting attack using HttpOnly and Secure flag in a cookie. Without having HttpOnly and Secure, it is possible to steal or manipulate web application session and cookies and it s dangerous.",
"hardeningname": "Set cookie with HttpOnly and Secure flag",
"category": "Session hijacking",
"resolution": "Check the HTTP header if the cookies contain HTTPOnly and Secure flag"
},
{
"os_platform_name": "Windows",
"severity": "Info",
"updated_time": "1540475593000",
"affected_systems": 1,
"published_time": "1540475595000",
"hardeningid": "111",
"description": "The default installation of Tomcat includes connectors with default settings. These are traditionally set up for convenience, but may lead to security exposure. If you're using an application bundled with this web server, contact the application vendor to obtain the details of necessary connectors, and remove the connectors that are unused",
"hardeningname": "Verify TomCat XML for unused connectors",
"category": "Default Contents",
"resolution": "Remove or comment each unused Connector in $CATALINA_HOME/conf/server.xml."
}
]
},
"status": "success"
}
get /api/1.4/patch/dbupdatestatus
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/patch/dbupdatestatus?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"message_type": "dbupdatestatus",
"message_response": {
"dbupdatestatus": {
"last_db_update_status": "Success",
"next_db_update_scheduled_time": 1757397540000,
"is_auto_db_update_disabled": false,
"last_db_update_time": 1757311200000
}
},
"message_version": "1.4",
"status": "success"
}
get /api/1.4/inventory/computers
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/inventory/computers?branchofficefilter=SOME_STRING_VALUE&customgroupfilter=SOME_STRING_VALUE&domainfilter=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE&hwid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'Retrieves the list of computers that have a specified hardware component
{
"response_code ": 200,
"message_type": "computers",
"message_response": {
"total": 1,
"limit": 25,
"page": 1,
"computers": [
{
"computer_status": "OK",
"shipping_date": 1417199400000,
"branch_office_name": "Local Office",
"agent_last_contact_time": 1758021919000,
"domain_netbios_name": "ZOHOCORP",
"branch_office_id": 1,
"invoslicensestatus.license_status": "Licensed",
"fqdn_name": "DC-inventory.fqdn",
"product_number": "",
"primary_owner_name": "admin",
"resource_id_string": "601",
"copies": 1,
"boot_up_state": "Normal boot",
"mac_address": "80:19:34:b1:c7:e0",
"model": "Latitude E7440",
"live_status_resource_id": 301,
"warranty_expiry_date": 1575055799000,
"asset_tag": "-",
"managedcomputer.friendly_name": "DC-Inventory-Test",
"agent_logged_on_users": "xyz",
"ip_address": "172.24.8.156",
"computer_description": "-",
"no_of_processors": 1,
"system_type": "x64-based PC",
"agent_last_bootup_time": 1753687573000,
"servicetag": "68YFG32",
"total_ram_memory": 17080729600,
"resource_id": 301,
"computer_live_status": 1,
"resource_name": "computer1",
"computer_status_update_time": 1450766136090
}
]
},
"message_version": "1.4",
"status": "success"
}
get /api/1.4/inventory/computers
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/inventory/computers?branchofficefilter=SOME_STRING_VALUE&swid=SOME_STRING_VALUE&customgroupfilter=SOME_STRING_VALUE&oscompatibilityfilter=SOME_STRING_VALUE&livestatusfilter=SOME_INTEGER_VALUE&domainfilter=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'Retrieves the list of computers that have a specified Software component installed
{
"response_code ": 200,
"message_type": "computers",
"message_response": {
"total": 1,
"limit": 25,
"page": 1,
"computers": [
{
"computer_status": "OK",
"uninstall_remarks": "--",
"branch_office_name": "Local Office",
"user_name": "--",
"sw_usage_type": 0,
"domain_netbios_name": "ZOHOCORP",
"branch_office_id": 1,
"user_component_id": "--",
"processorarchtype.processor_arch_name": "x64-based PC",
"primary_owner_name": "admin",
"resource_id_string": "301",
"boot_up_state": "Normal boot",
"mac_address": "80:19:34:b1:c7:e0",
"model": "Latitude E7440",
"installed_date": 0,
"software_version": "15.0.0.239",
"software_name": "Adobe Flash Player 15 Plugin",
"computer_resource_id": 301,
"architecture": "32-bit",
"asset_tag": "-",
"managedcomputer.friendly_name": "-",
"os_platform": 1,
"agent_logged_on_users": "admin",
"last_sync_time": 1450767897942,
"ip_address": "172.24.8.156",
"display_name": "Adobe Flash Player 15 Plugin",
"osflavor_id": "0",
"sw_family": "1",
"computer_description": "-",
"no_of_processors": 1,
"system_type": "x64-based PC",
"domain": "--",
"servicetag": "68YFG32",
"total_ram_memory": 17080729600,
"resource_id": 301,
"os_name": "Windows 11 Professional Edition (x64)",
"computer_live_status": 1,
"location": "Not known",
"uninstall_status": "--",
"resource_name": "computer1",
"customer_id": "-",
"last_successful_scan": 1450766154943,
"computer_status_update_time": 1450766136090
}
]
},
"message_version": "1.0",
"status": "success"
}
get /api/1.4/inventory/computers
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/inventory/computers?licensefilter=SOME_STRING_VALUE&domainfilter=SOME_STRING_VALUE&licswid=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'Retrieves the list of computers associated with the specified licensed software,along with license-related details when provided with the licensed software ID
{
"response_code ": 200,
"message_type": "computers",
"message_response": {
"total": 1,
"limit": 25,
"page": 1,
"computers": [
{
"computer_status": "OK",
"branch_office_name": "Intern Ds Remote",
"domain_netbios_name": "DESKTOPCENTRAL",
"branch_office_id": 301,
"fqdn_name": "dc-inventory.zoho.com",
"primary_owner_name": "sysadmin",
"resource_id_string": "313",
"license_name": "LicenseName_247",
"boot_up_state": "Normal boot",
"mac_address": "e8:9a:8f:3f:60:c8",
"service_pack": "Service Pack 1",
"model": "7597RD5",
"live_status_resource_id": 313,
"software_name": "Windows 7 Professional Edition (x64)",
"asset_tag": "-",
"managedcomputer.friendly_name": "dc-inventory-test",
"os_version": "Windows 7 SP1 (x64)",
"agent_logged_on_users": "Administrator",
"manufacturer_name": "LENOVO",
"ip_address": "172.21.109.234",
"computer_description": "-",
"no_of_processors": 1,
"system_type": "x64-based PC",
"servicetag": "S601TLP",
"total_ram_memory": 6096744448,
"resource_id": 313,
"os_name": "Windows 11 Professional Edition (x64)",
"computer_live_status": 1,
"resource_name": "DC-W7-5",
"computer_status_update_time": 1450768293359
}
]
},
"message_version": "1.0",
"status": "success"
}
get /dcapi/reports/queryReports
Copy full URLcurl --request GET \
--url https:///{serverurl}/dcapi/reports/queryReports \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' \
--header 'accept: application/allQueryReports.v1+json' {
"parent": null,
"children": [
{
"parent": "queryReports",
"children": null,
"root": false,
"id": "9504000000142241",
"label": "sample",
"leaf": true,
"properties": {
"owner": "mani",
"viewName": "SAMPLE",
"expandable": false,
"selectable": true,
"description": "Test Description",
"lastModified": "Sep 3, 2024 01:05 PM"
}
}
],
"root": true,
"id": "queryReports",
"label": "Query Reports",
"leaf": false,
"properties": {
"reportType": "3",
"expandable": true,
"selectable": true
}
}
get /api/1.4/inventory/computers
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/inventory/computers?branchofficefilter=SOME_STRING_VALUE&customgroupfilter=SOME_STRING_VALUE&domainfilter=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE&swmeruleID=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'Retrieves the list of computers that have a specified Metering Software component,including usage details such as total run time
{
"response_code ": 200,
"message_type": "computers",
"message_response": {
"total": 1,
"limit": 25,
"page": 1,
"computers": [
{
"invsoftwaremeteringusagesummary.resource_id": 301,
"branch_office_name": "Local Office",
"managedcomputer.friendly_name": "computer1",
"invsoftwaremeteringusagesummary.total_run_time": 759515,
"domain_netbios_name": "ZOHOCORP",
"branch_office_id": 1,
"invsoftwaremeteringusagesummary.app_definition_id": 1,
"fqdn_name": "computer1.zohocorp.com",
"resource_id_string": "301",
"invsoftwaremeteringusagesummary.file_version": "42.0",
"invsoftwaremeteringusagesummary.product_name": "Firefox",
"invsoftwaremeteringusagesummary.updated_time": 1450760977000,
"invsoftwaremeteringusagesummary.last_used": 1450176904000,
"invsoftwaremeteringusagesummary.product_version": "42.0",
"resource_id": 301,
"computer_live_status": 1,
"live_status_resource_id": 301,
"invsoftwaremeteringusagesummary.total_run_count": 5,
"resource_name": "computer1",
"customer_id": 1,
"computer_status_update_time": 1450766136090
}
]
},
"message_version": "1.0",
"status": "success"
}
get /api/1.4/inventory/hardware
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/inventory/hardware?branchofficefilter=SOME_STRING_VALUE&manufacturerFilter=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE&hardwareTypeFilter=SOME_STRING_VALUE&domainfilter=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code": 200,
"message_response": {
"total": 1,
"limit": 1,
"page": 1,
"hardware": [
{
"hardware_name": "DC-Inventory-BIOS",
"manufacturer_name": "DC-Inventory-Manufacturer",
"hw_type_description": "Bios",
"network_installations": 1,
"hardware_id": 1,
"managed_installations": 1
}
]
},
"message_type": "hardware",
"message_version": "1.4",
"status": "success"
}
post /api/1.4/som/computers/installagent
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/api/1.4/som/computers/installagent?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"resourceids":[301]}' {
"resourceids": [
301
]
}
{
"message_type": "computers",
"message_response": {
"computers": {
"Status": "Installation initiated successfully"
}
},
"message_version": "1.4",
"status": "success"
}
get /api/1.4/bitlocker/tpmreport
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/bitlocker/tpmreport?residfilter=SOME_STRING_VALUE&domainfilter=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' {
"response_code": 200,
"message_type": "tpmreport",
"message_response": {
"total": 1,
"limit": 25,
"page": 1,
"tpmreport": [
{
"blmtpmvendor.manufacturer_name": "ST Microelectronics",
"manufacturer_version": "1.258.0.0",
"spec_version": "2.0, 0, 1.38",
"managedcomputer.friendly_name": "John",
"is_owned": true,
"domain_netbios_name": "WORKGROUP",
"is_enabled": true,
"resource_id_string": "111301",
"is_activated": true,
"resource_id": 111301,
"resource_name": "John",
"customer_id": 1,
"manufacturer_id_txt": "STM "
}
]
},
"message_version": "1.4",
"status": "success"
}
post /api/1.4/patch/createAPDTask
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/api/1.4/patch/createAPDTask?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"settings":{"include_os_app_type":"Patch All Applications Except","NeedFailureAttachment":"true","attachmentFormatForFailure":"xls","description":"task for windows","thirdparty_update":"true","platform":"Windows","rollups":"true","failure_notify_duration":"1","report_notify_enable":"false","NeedReportAttachment":"true","os_applications":"Windows Defender x64","email":"xx@yy.com","servicepack_update":"true","attachmentFormatForReport":"pdf","EXPIRY_TIME":"08/29/2018, 00:00","optional_updates":"true","definition_update":"true","delay_deployment_by_approved_time/delay_deployment_by_released_time":"5","target_type":"REMOTE_OFFICE","non_security_update":"true","security_update":"true","report_notify_duration":"3","featurepack_update":"true","target_list":"Local Office","include_tp_app_type":"Patch Specific Applications","templateName":"Force reboot excluding servers","tp_applications":"Notepad++","failure_notify_enable":"false","taskName":"windows create task"}}' {
"settings": {
"include_os_app_type": "Patch All Applications Except",
"NeedFailureAttachment": "true",
"attachmentFormatForFailure": "xls",
"description": "task for windows",
"thirdparty_update": "true",
"platform": "Windows",
"rollups": "true",
"failure_notify_duration": "1",
"report_notify_enable": "false",
"NeedReportAttachment": "true",
"os_applications": "Windows Defender x64",
"email": "xx@yy.com",
"servicepack_update": "true",
"attachmentFormatForReport": "pdf",
"EXPIRY_TIME": "08/29/2018, 00:00",
"optional_updates": "true",
"definition_update": "true",
"delay_deployment_by_approved_time/delay_deployment_by_released_time": "5",
"target_type": "REMOTE_OFFICE",
"non_security_update": "true",
"security_update": "true",
"report_notify_duration": "3",
"featurepack_update": "true",
"target_list": "Local Office",
"include_tp_app_type": "Patch Specific Applications",
"templateName": "Force reboot excluding servers",
"tp_applications": "Notepad++",
"failure_notify_enable": "false",
"taskName": "windows create task"
}
}
{
"message_type": "createAPDTask",
"message_response": {
"createapdtask": {
"status": "windows create task task created successfully"
}
},
"message_version": "1.4",
"status": "success"
}
put /dcapi/customColumn/modifyCustomColumn
Copy full URLcurl --request PUT \
--url 'https:///{serverurl}/dcapi/customColumn/modifyCustomColumn?forceUpdate=SOME_BOOLEAN_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' \
--header 'accept: application/editCustomColumnStatus.v1+json' \
--header 'content-type: application/json' \
--data '{"actualColumnName":"COL3","size":100,"defaultValue":50,"dataType":"CHAR","description":"Custom Column to Store OS type","isPII":false,"columnName":"OS Type","tableName":"ManagedComputerCustomFields"}' {
"actualColumnName": "COL3",
"size": 100,
"defaultValue": 50,
"dataType": "CHAR",
"description": "Custom Column to Store OS type",
"isPII": false,
"columnName": "OS Type",
"tableName": "ManagedComputerCustomFields"
}
{
"message": "Field <b>OS Type</b> has been modified successfully",
"status": "SUCCESS"
}
get /api/1.4/inventory/scancomputers
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/inventory/scancomputers?branchofficefilter=SOME_STRING_VALUE&residfilter=SOME_INTEGER_VALUE&installstatusfilter=SOME_INTEGER_VALUE&customerid=SOME_STRING_VALUE&scanstatusfilter=SOME_INTEGER_VALUE&domainfilter=SOME_STRING_VALUE&livestatusfilter=SOME_INTEGER_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code": 200,
"message_type": "scancomputers",
"message_response": {
"scancomputers": [
{
"branch_office_name": "Local Office",
"agent_last_contact_time": 1757324657000,
"description": "--",
"domain_netbios_name": "DC-INVENTORY",
"agent_installed_on": 1757042496353,
"process_start_time": -1,
"fqdn_name": "dc-inventory.example.com",
"resource_id_string": "601",
"agent_installed_dir": "C:\\Program Files\\dc-inventory\\Agent\\",
"mac_address": "00:11:22:33:44:55,66:77:88:99:AA:BB",
"scan_remarks_en": "Scanning Completed",
"service_pack": "Windows 11 Version 23H2 (x64)",
"software_name": "Windows 11 Professional Edition (x64)",
"invclientscanstatus.mdm_last_successful_scan": -1,
"service_pack_minor_version": 0,
"modernappdetails.last_contact_time": "--",
"scan_status": 2,
"scan_remarks": "dc.common.SCANNING_COMPLETED",
"managedcomputer.friendly_name": "dc-inventory",
"os_platform": 1,
"os_version": "10.0.22631",
"agent_logged_on_users": "dc-inventory",
"last_sync_time": 1757328880758,
"process_end_time": 1757311697290,
"ip_address": "192.168.1.10,10.0.0.5",
"osflavor_id": 0,
"agent_version": "11.4.2528.01.W",
"status_label": "dc.db.som.status.installed_successfully",
"error_kb_url": "--",
"servicetag": "DC123456",
"installation_status": 22,
"resource_id": 601,
"build_number": "22631.5624",
"service_pack_major_version": 0,
"os_name": "Windows 11 Professional Edition (x64)",
"computer_live_status": 1,
"resource_name": "dc-inventory",
"customer_id": 1,
"last_successful_scan": 1757311697290,
"computer_status_update_time": 1757324670912
}
],
"total": 1,
"limit": 25,
"page": 1
},
"message_version": "1.4",
"status": "success"
}
get /dcapi/threats/systemreport/vulnerabilities
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/dcapi/threats/systemreport/vulnerabilities?updatedtime=SOME_STRING_VALUE&severity=SOME_STRING_VALUE&pageLimit=SOME_STRING_VALUE&vulnerabilityid=SOME_STRING_VALUE&vulnerabilityname=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE&resource_id=SOME_STRING_VALUE&page=SOME_STRING_VALUE&vulnerability_status=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"metadata": {
"pageLimit": 30,
"totalRecords": "1",
"totalPages": 1,
"links": {
"next": null,
"prev": null
},
"page": 1
},
"response_code": 200,
"message_type": "systemreport",
"message_response": {
"systemreport": [
{
"resource_id": "304",
"vulnerabilities": [
{
"updatedtime": "1704365176820",
"severity": "Moderate",
"vulnerabilityid": "148376",
"vulnerabilityname": "Vulnerabilities CVE-2022- 23181,CVE-2020-9484 are fixed in 20 January 2022 Fixed in Apache Tomcat 8.5.75",
"vulnerability_status": "open"
},
{
"updatedtime": "1704365176820",
"severity": "Important",
"vulnerabilityid": "154557",
"vulnerabilityname": "Vulnerabilities CVE-2022- 25762 are fixed in 28 February 2022 Fixed in Apache Tomcat 8.5.76",
"vulnerability_status": "open"
}
]
}
]
},
"status": "success"
}
get /dcapi/threats/systemreport/servermisconfigurations
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/dcapi/threats/systemreport/servermisconfigurations?updatedtime=SOME_STRING_VALUE&pageLimit=SOME_STRING_VALUE&hardening_status=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE&hardeningid=SOME_STRING_VALUE&resource_id=SOME_STRING_VALUE&page=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"metadata": {
"pageLimit": 30,
"totalRecords": "1",
"totalPages": 1,
"links": {
"next": null,
"prev": null
},
"page": 1
},
"response_code": 200,
"message_type": "systemreport",
"message_response": {
"systemreport": [
{
"servermisconfigurations": [
{
"updatedtime": "1704451505960",
"hardening_status": "open",
"filepath": "C:\\Program Files\\ManageEngine\\PatchConnectPlus",
"hardeningid": "55"
},
{
"updatedtime": "1704451505960",
"hardening_status": "open",
"filepath": "C:\\Program Files\\ManageEngine\\PatchConnectPlus",
"hardeningid": "111"
}
],
"resource_id": "304"
}
]
},
"status": "success"
}
get /api/1.4/patch/scandetails
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/patch/scandetails?branchofficefilter=SOME_STRING_VALUE&healthfilter=SOME_INTEGER_VALUE&customerid=SOME_STRING_VALUE&customgroupfilter=SOME_STRING_VALUE&agentinstallationstatusfilter=SOME_INTEGER_VALUE&resid=SOME_STRING_VALUE&domainfilter=SOME_STRING_VALUE&livestatusfilter=SOME_INTEGER_VALUE&platformfilter=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code": 200,
"message_type": "scandetails",
"message_response": {
"total": 94,
"limit": 25,
"page": 1,
"scandetails": [
{
"branch_office_name": "Local Office",
"resource.name": "XXXX-YY-ZZ-1",
"resource_health_status": 3,
"description": "--",
"branch_office_id": 1,
"os_language": 1,
"agent_installed_on": 1548677081796,
"os_platform_name": "Windows",
"pmreshealthstatus.resource_id": 47707,
"patchstatusdefn.label": "dc.common.SCANNING_COMPLETED",
"branchofficedetails.branch_office_id": 1,
"agent_installed_dir": "C:\\Program Files (x86)\\DesktopCentral_Agent\\",
"mac_address": "00:0c:29:7e:51:a7,46:15:cf:8f:af:8f,00:15:5d:79:ec:dd,",
"resource.domain_netbios_name": "WORKGROUP",
"service_pack": "Windows 10 Version 1803 (x64)",
"os_language_abbr": "en",
"resource.resource_id": 47707,
"scan_remarks_args": "--",
"os_platform_id": 1,
"owner": "--",
"configstatusdefn.label": "dc.db.som.status.installed_successfully",
"scan_status": 228,
"scan_remarks": "dc.patch.util.Scanning_completedsuccessfully",
"agentcontact.logged_on_users": "Administrator",
"os_platform": 1,
"oslanguage.languageid": 1,
"last_sync_time": 1552904282877,
"oslanguage.i18n": "dc.patch.patchinfo.English",
"ip_address": "XXX.XX.YYY.YYY,XXX.YY.XX.YY,XXX.YY.YY.X,",
"osflavor_id": 0,
"search_tag": "--",
"agent_version": "10.0.267.W",
"owner_email_id": "--",
"patchstatusdefn.image_name": "/images/success.png",
"installation_status": 22,
"resource_id": 47707,
"os_name": "Windows 10 Professional Edition (x64)",
"agentcontact.last_contact_time": 1552956951000,
"location": "--",
"computer_live_status": 1,
"agentcontact.last_bootup_time": 1552629463000,
"last_scan_time": 1552904526258,
"patchmgmtosinfo.resource_id": 47707,
"errorcodetokburl.kb_url": "--",
"last_successful_scan": 1552904526258,
"computer_status_update_time": 1552903541615
}
]
},
"message_version": "1.0",
"status": "success"
}
put /dcapi/customFields/computers/[0-9]+/file
Copy full URLcurl --request PUT \
--url 'https:///{serverurl}/dcapi/customFields/computers/[0-9]+/file?selectedResources=SOME_STRING_VALUE&columnName=SOME_STRING_VALUE&tableName=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' \
--header 'content-type: multipart/form-data' {
"uploadedFile": "File need to Be uploaded"
}
post /api/1.4/som/computers/removecomputer
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/api/1.4/som/computers/removecomputer?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"resourceids":[301]}' {
"resourceids": [
301
]
}
{
"message_type": "computers",
"message_response": {
"computers": {
"Status": "Computer Removal initiated successfully"
}
},
"message_version": "1.4",
"status": "success"
}
post /CRVIEW_{crview_prefix}.ec
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/CRVIEW_{crview_prefix}.ec?_FI=SOME_STRING_VALUE&_PL=SOME_INTEGER_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' {
"headers": [
{
"sqlType": "CHAR",
"savedWidth": -1,
"displayName": "Computer Name",
"colIndex": 0,
"columnCss": "sortedColumn",
"isSearchEnabled": false,
"canAutoResize": true,
"sqlTblColindex": 1,
"disabled": false,
"sortEnabled": true,
"searchValue": "",
"columnName": "Resource.NAME"
}
],
"rowSelection": "none",
"data": [
{
"cells": [
{
"value": "AdamGallagher"
}
],
"rowIdx": 0
}
],
"isExportEnabled": true,
"showHeader": true,
"numFixedColumns": 0,
"isAdvancedSearch": false,
"showNavig": false,
"navigation": {
"startLinkIndex": 1,
"showNextPage": false,
"hasPaginationBottom": true,
"range": [
25,
50
],
"isNoCount": true,
"type": "SELECT",
"endLinkIndex": 1,
"showFirstPage": false,
"total": 6,
"pages": 6,
"hasPaginationTop": 6,
"itemsPerPage": 6,
"from": 1,
"to": 6,
"showLastPage": false,
"currentPage": 1,
"showPrevPage": false
},
"templateName": "tableTemplate",
"colList": [
{
"isChoosable": true,
"display": "Computer Name",
"name": "Resource.NAME",
"isSortable": true,
"isVisible": true
}
],
"SQLTable": true,
"isSearchPresent": false,
"rowHover": true,
"sortOrder": true,
"name": "CRVIEW_1746711019739",
"isScrollTable": false,
"sortBy": "Resource.NAME",
"noRowMsg": "Records not found",
"TableModel": {
"tableModelRows": [
[
"AdamGallagher"
]
],
"viewColumns": [
"Resource.NAME"
],
"rowSelectionType": "NONE",
"uniqueId": "CRVIEW_1746711019739"
}
}
post /dcapi/customFields/computers/values/import
Copy full URLcurl --request POST \
--url https:///{serverurl}/dcapi/customFields/computers/values/import \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' \
--header 'accept: application/importComputerCustomFields.v1+json' \
--header 'content-type: multipart/form-data' {
"computerCSVFile": "CSV File Should be Uploaded"
}
{
"status": " n out of n record(s) have been imported successfully"
}
get /api/1.4/customgroup/getCGList
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/customgroup/getCGList?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"message_type": "getCGList",
"message_response": {
"getcglist": {
"response": {
"result": {
"cg_list": [
{
"domain_name": "MULTIDOMAIN",
"group_category": "Dynamic",
"group_id": 9911,
"group_name": "CG_NAME",
"group_modified_on": 1659599414529,
"group_created_on": 1659599414251,
"group_type": "Computers"
},
{
"domain_name": "MULTIDOMAIN",
"group_category": "Dynamic",
"group_id": 9912,
"group_name": "CG_NAME2",
"group_modified_on": 1659599414900,
"group_created_on": 1659599414900,
"group_type": "Computers"
}
]
},
"message": "Operation has been completed successfully"
},
"operation_status": "success"
}
},
"message_version": "1.3",
"status": "success"
}
put /dcapi/customColumn/modifyCustomColumnValue
Copy full URLcurl --request PUT \
--url https:///{serverurl}/dcapi/customColumn/modifyCustomColumnValue \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' \
--header 'content-type: application/json' \
--data '{"actualColumnName":"COL301","customColumnValue":"3","resourceName":"RESOURCE_ID","selectedResources":"301","tableName":"ManagedComputerCustomFields"}' {
"actualColumnName": "COL301",
"customColumnValue": "3",
"resourceName": "RESOURCE_ID",
"selectedResources": "301",
"tableName": "ManagedComputerCustomFields"
}
get /api/1.4/inventory/installedsoftware
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/inventory/installedsoftware?accesstypefilter=SOME_INTEGER_VALUE&customerid=SOME_STRING_VALUE&oscompatibilityfilter=SOME_STRING_VALUE&licensetypefilter=SOME_INTEGER_VALUE&compliancestatusfilter=SOME_INTEGER_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code ": 200,
"message_type": "installedsoftware",
"message_response": {
"total": 1,
"installedsoftware": [
{
"invswinstalled.app_installed_by": 0,
"uninstall_remarks": "--",
"invswtoosrel.app_identifier": "DC-Inventory-Application",
"user_name": "--",
"managed_software_id": 1,
"user_component_id": "--",
"software_id": 1,
"sw_category_name": "dc.image.nat.internet",
"license_owner": "--",
"compliant_status": "--",
"sw_type": 0,
"installed_date": 0,
"software_version": "15.0.0.239",
"installed_users_login": "-",
"software_name": "DC-Inventory-Software",
"sw_installed_id": "--",
"architecture": "32-bit",
"managed_sw_id": 1,
"manufacturer_id": 12,
"component_id": 44,
"total_copies": "--",
"detected_time": 1449559311735,
"comments": "--",
"manufacturer_name": "DC-Inventory-Vendor",
"sw_family": 1,
"remaining_copies": "--",
"installed_format": "EXE",
"domain": "--",
"location": "Not known",
"uninstall_status": "--",
"is_usage_prohibited": 0
}
],
"limit": 25,
"page": 1
},
"message_version": "1.0",
"status": "success"
}
get /dcapi/threats/systemreport
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/dcapi/threats/systemreport?pageLimit=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE&resource_id=SOME_STRING_VALUE&page=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"metadata": {
"pageLimit": 30,
"totalRecords": "1",
"totalPages": 1,
"links": {
"next": null,
"prev": null
},
"page": 1
},
"response_code": 200,
"message_type": "systemreport",
"message_response": {
"systemreport": [
{
"servermisconfigurations": [
{
"updatedtime": "1704451505960",
"hardening_status": "open",
"filepath": "C:\\Program Files\\ManageEngine\\PatchConnectPlus",
"hardeningid": "55"
},
{
"updatedtime": "1704451505960",
"hardening_status": "open",
"filepath": "C:\\Program Files\\ManageEngine\\PatchConnectPlus",
"hardeningid": "111"
}
],
"systemmisconfigurations": [
{
"updated_time": "1704451505976",
"misconfig_status": "open",
"misconfigid": "6",
"global_gpo": "not applied"
},
{
"updated_time": "1704451505976",
"misconfig_status": "open",
"misconfigid": "7",
"global_gpo": "not applied"
}
],
"patches": [
{
"severity": "Important",
"patchname": "vcredist_x86_sp1.exe",
"updated_time": "1704363395117",
"update_type": "Security Updates",
"patch_description": "Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update",
"kb_number": "2565063",
"vendor_name": "Microsoft",
"installed_system_count": 1,
"supercededby": "NA",
"patch_released_time": "1307989800000",
"patch_supported_time": "1307989800000",
"patch_size": "8993744",
"patchid": "12621",
"patch_uninstall": "not supported",
"bulletinid": "MS11-025",
"approveduser_first_name": "DC-SYSTEM-USER",
"reboot_required": "may require",
"platform_name": "Windows",
"download_status": "--",
"missing_system_count": 0,
"failed_system_count": 0,
"patch_status": "approved"
},
{
"severity": "Important",
"patchname": "vcredist_x64_sp1.exe",
"updated_time": "1704363395117",
"update_type": "Security Updates",
"patch_description": "Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update",
"kb_number": "2565063",
"vendor_name": "Microsoft",
"installed_system_count": 1,
"supercededby": "NA",
"patch_released_time": "1307989800000",
"patch_supported_time": "1307989800000",
"patch_size": "10274136",
"patchid": "12622",
"patch_uninstall": "not supported",
"bulletinid": "MS11-025",
"approveduser_first_name": "DC-SYSTEM-USER",
"reboot_required": "may require",
"platform_name": "Windows",
"download_status": "--",
"missing_system_count": 0,
"failed_system_count": 0,
"patch_status": "approved"
}
],
"resource_id": "304",
"vulnerabilities": [
{
"updatedtime": "1704365176820",
"severity": "Moderate",
"vulnerabilityid": "148376",
"vulnerabilityname": "Vulnerabilities CVE-2022- 23181,CVE-2020-9484 are fixed in 20 January 2022 Fixed in Apache Tomcat 8.5.75",
"vulnerability_status": "open"
},
{
"updatedtime": "1704365176820",
"severity": "Important",
"vulnerabilityid": "154557",
"vulnerabilityname": "Vulnerabilities CVE-2022- 25762 are fixed in 28 February 2022 Fixed in Apache Tomcat 8.5.76",
"vulnerability_status": "open"
}
]
}
]
},
"status": "success"
}
get /api/1.4/inventory/computers
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/inventory/computers?branchofficefilter=SOME_STRING_VALUE&customgroupfilter=SOME_STRING_VALUE&oscompatibilityfilter=SOME_STRING_VALUE&domainfilter=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE&prohibitedswID=SOME_STRING_VALUE&prohibitedswid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'Retrieves the lists the computers in which the given prohibited software is detected and their details like prohibited software requested count and more.
{
"response_code ": 200,
"message_type": "computers",
"message_response": {
"total": 1,
"limit": 25,
"page": 1,
"computers": [
{
"not_requested_count": 12,
"uninstall_remarks": "--",
"sw_usage_type": 2,
"total_prohibited_count": 12,
"branch_office_id": 1,
"resource_id_string": "313",
"model": "Latitude E7440",
"installed_date": 1435170600000,
"software_version": "1.9.5-preview20150319",
"software_name": "Git version 1.9.5-preview20150319",
"computer_resource_id": 301,
"asset_tag": "-",
"os_platform": 1,
"agent_logged_on_users": "admin",
"display_name": "Git version 1.9.5-preview20150319",
"osflavor_id": 1,
"computer_description": "-",
"approved_prohibited_count": 0,
"no_of_processors": 1,
"system_type": "x64-based PC",
"domain": "--",
"last_successful_scan": 1450766154943,
"computer_status_update_time": 1450766136090,
"computer_status": "OK",
"total_requested_count": 0,
"branch_office_name": "Local Office",
"user_name": "--",
"rejected_prohibited_count": 0,
"domain_netbios_name": "ZOHOCORP",
"user_component_id": "--",
"fqdn_name": "dc-inventory.zoho.com",
"primary_owner_name": "admin",
"pending_approval_count": 0,
"boot_up_state": "Normal boot",
"mac_address": "80:19:34:b1:c7:e0",
"architecture": "32-bit",
"managedcomputer.friendly_name": "dc-inventory-test",
"last_sync_time": 1450767897942,
"ip_address": "172.24.8.156",
"sw_family": 1,
"servicetag": "68YFG32",
"total_ram_memory": 17080729600,
"resource_id": 301,
"os_name": "Windows 11 Professional Edition (x64)",
"computer_live_status": 1,
"location": "C:\\Program Files (x86)\\Git\\",
"uninstall_status": "--",
"resource_name": "xyzcomputer",
"customer_id": 1,
"prohibited_sw_resource_id": 301
}
]
},
"message_version": "1.0",
"status": "success"
}
get /api/1.4/inventory/computers
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/inventory/computers?licid=SOME_STRING_VALUE&licensefilter=SOME_STRING_VALUE&domainfilter=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'Retrieves the list of computers along with their software license details for a specified software license ID.
{
"response_code ": 200,
"message_type": "computers",
"message_response": {
"total": 1,
"limit": 25,
"page": 1,
"computers": [
{
"computer_status": "OK",
"branch_office_name": "Intern Ds Remote",
"domain_netbios_name": "DESKTOPCENTRAL",
"branch_office_id": 301,
"fqdn_name": "dc-inventory.zoho.com",
"primary_owner_name": "sysadmin",
"resource_id_string": "313",
"license_name": "LicenseName_247",
"boot_up_state": "Normal boot",
"mac_address": "e8:9a:8f:3f:60:c8",
"service_pack": "Service Pack 1",
"model": "7597RD5",
"live_status_resource_id": 313,
"software_name": "Windows 7 Professional Edition (x64)",
"asset_tag": "-",
"managedcomputer.friendly_name": "dc-inventory-test",
"os_version": "Windows 7 SP1 (x64)",
"agent_logged_on_users": "Administrator,admin",
"manufacturer_name": "LENOVO",
"ip_address": "172.21.109.234",
"computer_description": "-",
"no_of_processors": 1,
"system_type": "x64-based PC",
"servicetag": "S601TLP",
"total_ram_memory": 6096744448,
"resource_id": 313,
"os_name": "Windows 11 Professional Edition (x64)",
"computer_live_status": 1,
"resource_name": "DC-W7-5",
"computer_status_update_time": 1450764296972
}
]
},
"message_version": "1.0",
"status": "success"
}
get /api/1.4/bitlocker/bitlockerreports
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/bitlocker/bitlockerreports?residfilter=SOME_STRING_VALUE&domainfilter=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' {
"response_code": 200,
"message_type": "bitlockerreports",
"message_response": {
"total": 1,
"bitlockerreports": [
{
"protection_status": 0,
"volume_type": 1,
"lock_status": 0,
"encryption_method": 0,
"device_id": "\\\\?\\Volume{12ed36-109e-4b15-99c7-5ef19cc23ca9}\\",
"persistent_volume_id": "",
"managedcomputer.friendly_name": "John",
"encryption_flag_id": 0,
"domain_netbios_name": "WORKGROUP",
"version": 0,
"encryption_status": 0,
"resource_id_string": "111301",
"drive_size": 249560035328,
"resource_id": 111301,
"os_name": "Windows 11 Professional Edition (x64)",
"resource_name": "John",
"customer_id": 1,
"bitlockerdrive.drive_letter": "D:",
"resource.resource_id": 111301
}
],
"limit": 25,
"page": 1
},
"message_version": "1.4",
"status": "success"
}
get /dcapi/inventory/computers/[0-9]+/generalSummary
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/dcapi/inventory/computers/[0-9]+/generalSummary' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' {
"generalSummary": {
"isClosedNetwork": "No",
"lastScanInitiatedTime": "--",
"operatingSystemID": 1,
"isServerOS": "No",
"isProxyDefined": "Yes",
"osLanguage": "English",
"primaryOwnerName": "Sysadmin",
"resourceID": "605",
"showModernManagementInfo": "No",
"isHPMachine": "No",
"isWarrantyExpired": "Not Available",
"ipAddress": "10.59.3.213",
"metroAppScanStatus": 0,
"resourceName": "xyz",
"isVMEnabled": "No",
"lastSuccessfulScanTime": "Jun 15, 2021 11:22 AM",
"macAddress": "00:09:0f:aa:00:01,2c:aa:68:aa:aa",
"currentLoggedUser": "xyz",
"licenseStatus": "Licensed",
"domainName": "ADC",
"customerID": "1",
"lastBootTime": "Jun 14, 2021 04:58 PM",
"isScanned": "Yes",
"resourceType": 1,
"lastLoggedUser": "--"
}
}
post /api/1.4/patch/installpatch
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/api/1.4/patch/installpatch?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"retrySettings":{"logonStartupMinRetry":1,"noOfRetries":2,"refreshMinRetry":1,"enableRetrySettings":true},"deploymentType":2,"deadlineTime":1691393760,"isOnlyApproved":"true","ConfigName":"API install patch test1","ResourceIDs":[601],"actionToPerform":"Deploy","ConfigDescription":"API test","forceRebootOption":2,"DeploymentPolicyTemplateID":1}' {
"retrySettings": {
"logonStartupMinRetry": 1,
"noOfRetries": 2,
"refreshMinRetry": 1,
"enableRetrySettings": true
},
"deploymentType": 2,
"deadlineTime": 1691393760,
"isOnlyApproved": "true",
"ConfigName": "API install patch test1",
"ResourceIDs": [
601
],
"actionToPerform": "Deploy",
"ConfigDescription": "API test",
"forceRebootOption": 2,
"DeploymentPolicyTemplateID": 1
}
{
"message_type": "installpatch",
"message_response": {
"installpatch": {}
},
"message_version": "1.4",
"status": "success"
}
post /api/1.4/patch/installpatch
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/api/1.4/patch/installpatch?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"PatchIDs":[103980],"retrySettings":{"logonStartupMinRetry":1,"noOfRetries":2,"refreshMinRetry":1,"enableRetrySettings":true},"deploymentType":2,"deadlineTime":1691393760,"ConfigName":"API install patch test1","ResourceIDs":[601],"actionToPerform":"Deploy","ConfigDescription":"API test","forceRebootOption":2,"DeploymentPolicyTemplateID":1}' {
"PatchIDs": [
103980
],
"retrySettings": {
"logonStartupMinRetry": 1,
"noOfRetries": 2,
"refreshMinRetry": 1,
"enableRetrySettings": true
},
"deploymentType": 2,
"deadlineTime": 1691393760,
"ConfigName": "API install patch test1",
"ResourceIDs": [
601
],
"actionToPerform": "Deploy",
"ConfigDescription": "API test",
"forceRebootOption": 2,
"DeploymentPolicyTemplateID": 1
}
{
"message_type": "installpatch",
"message_response": {
"installpatch": {}
},
"message_version": "1.4",
"status": "success"
}
post /api/1.4/patch/declinepatch
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/api/1.4/patch/declinepatch?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"patchids":[112,113]}' {
"patchids": [
112,
113
]
}
{
"message_type": "declinepatch",
"message_response": {
"declinepatch": {
"status": "Initiated Successfully"
}
},
"message_version": "1.4",
"status": "success"
}
get /api/1.4/inventory/compdetailssummary
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/inventory/compdetailssummary?customerid=SOME_STRING_VALUE&resid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code": 200,
"message_type": "compdetailssummary",
"message_response": {
"compdetailssummary": {
"asset_summary": {
"noncommercial_software": "0",
"commercial_software": "0",
"total_software": "70",
"prohibited_software": "0",
"total_hardware": "29"
},
"computer_os_summary": {
"os_build_number": "DC-Inventory-Build",
"os_service_pack": "DC-Inventory-OS",
"os_version": "DC-Inventory-Version",
"product_id": "DC-Inventory-ProductID",
"os_name": "DC-Inventory-OS",
"registered_to": "admin",
"os_cd_key": "DC-Inventory-Key"
},
"computer_disk_summary": {
"percent_used": "82.8",
"total_size": "250",
"percent_free": "17.2",
"used_space": "207",
"free_space": "43"
},
"computer_summary": {
"computer_name": "DC-Inventory-Computer",
"primary_owner": "admin",
"domain_name": "DC-Inventory-Domain",
"currently_logged_on_user": "Administrator",
"last_logon_user": "--"
},
"computer_network_adapter_summary": [
{
"dhcp_status": "Enabled",
"adapter_name": "DC-Inventory-Adapter",
"mac_address": "DC-Inventory-MAC",
"dhcp_server": "DC-Inventory-DHCP",
"ip_address": "DC-Inventory-IP",
"gateway": "DC-Inventory-Gateway"
}
],
"computer_hardware_summary": {
"memory": 16000,
"shipping_date": "--",
"device_model": "DC-Inventory-Model",
"device_type": "Others",
"serial_number": "-",
"processor": "DC-Inventory-Processor",
"device_manufacturer": "DC-Inventory-Manufacturer",
"warranty_expiry_date": "--",
"product_number": "--"
}
}
},
"message_version": "1.4",
"status": "success"
}
post /api/1.4/patch/installpatch
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/api/1.4/patch/installpatch?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"PatchIDs":[103980],"retrySettings":{"logonStartupMinRetry":1,"noOfRetries":2,"refreshMinRetry":1,"enableRetrySettings":true},"deploymentType":2,"deadlineTime":1691393760,"ConfigName":"API install patch test1","actionToPerform":"Deploy","ConfigDescription":"API test","forceRebootOption":2,"DeploymentPolicyTemplateID":1}' {
"PatchIDs": [
103980
],
"retrySettings": {
"logonStartupMinRetry": 1,
"noOfRetries": 2,
"refreshMinRetry": 1,
"enableRetrySettings": true
},
"deploymentType": 2,
"deadlineTime": 1691393760,
"ConfigName": "API install patch test1",
"actionToPerform": "Deploy",
"ConfigDescription": "API test",
"forceRebootOption": 2,
"DeploymentPolicyTemplateID": 1
}
{
"message_type": "installpatch",
"message_response": {
"installpatch": {}
},
"message_version": "1.4",
"status": "success"
}
curl --request GET \
--url 'https:///{serverurl}/api/1.4/som/computers?branchofficefilter=SOME_STRING_VALUE&pagelimit=SOME_STRING_VALUE&fqdnfilter=SOME_STRING_VALUE&computernamefilter=SOME_STRING_VALUE&domainfilter=SOME_STRING_VALUE&platformfilter=SOME_STRING_VALUE&residfilter=SOME_STRING_VALUE&installstatusfilter=SOME_STRING_VALUE&liveStatusfilter=SOME_INTEGER_VALUE&customerid=SOME_STRING_VALUE&searchcomputerfilter=SOME_STRING_VALUE&servicetagfilter=SOME_STRING_VALUE&page=SOME_STRING_VALUE&agentcontactfilter=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"message_type": "computers",
"message_response": {
"total": 3,
"limit": 25,
"page": 1,
"computers": [
{
"modernappdetails.remarks": "--",
"remarks_args": "--",
"agent_installed_on": 1756446785862,
"agent_executed_on": 1756446785862,
"processorarchtype.processor_arch_name": "x64-based PC",
"os_platform_name": "Windows",
"resource_id_string": "311",
"service_pack": "Windows 11 Version 24H2 (x64)",
"computer.processor_arch_type_id": 3,
"computer.processor_architecture": 2,
"os_platform": 1,
"managedcomputer.previous_installation_status": -1,
"agent_logged_on_users": "Alex",
"resourcemacip.dhcp_server_ip_address": "10.92.2.20",
"osflavor_id": 0,
"search_tag": "--",
"status_label": "dc.db.som.status.installed_successfully",
"error_kb_url": "--",
"full_name": "Alex",
"owner_email_id": "--",
"managedcomputertoerrcode.operation_type": 0,
"agent_upgraded_on": -1,
"installation_status": 22,
"error_code": 0,
"managedcomputer.agent_status": 0,
"modernappdetails.enrollment_type": "--",
"computer_status_update_time": 1756447132008,
"managed_status": 61,
"branch_office_name": "Local Office",
"managedcomputer.re_installation_status": -1,
"agent_last_contact_time": 1756463358000,
"description": "--",
"domain_netbios_name": "ZOHOCORP",
"fqdn_name": "ALEX.ZOHOCORP.COM",
"managedcomputer.agent_version_num": 114252201,
"mac_address": "a0:ce:c8:b9:ae:15",
"owner": "--",
"modernappdetails.last_contact_time": 0,
"managedcomputer.friendly_name": "a0:ce:c8:b9:ae:15 ZOHOCORP 10.92.11.44",
"resourcemacip.gateway_ip_address": "10.92.8.1",
"resourcemacip.subnet_mask": "255.255.252.0",
"os_version": "10.0.26100",
"last_sync_time": 1756463913344,
"modernappdetails.installed_at": 0,
"ip_address": "10.92.11.44",
"agent_uninstalled_on": -1,
"agent_version": "11.4.2522.01.W",
"resourcemacip.subnet_ip_address": "10.92.8.0",
"agent_last_bootup_time": 1756275716000,
"resource_id": 311,
"os_name": "Windows 11 Professional Edition (x64)",
"location": "--",
"managedcomputer.friendly_name_type": 0,
"computer_live_status": 1,
"customer_name": "DC_CUSTOMER",
"modernappdetails.status": "--",
"resource_name": "Alex",
"customer_id": 1,
"remarks": "dc.db.agent.install.success"
}
]
},
"message_version": "1.4",
"status": "success"
}
curl --request GET \
--url 'https:///{serverurl}/api/1.4/patch/allpatches?branchofficefilter=SOME_STRING_VALUE&patchid=SOME_STRING_VALUE&bulletinid=SOME_STRING_VALUE&patchstatusfilter=SOME_INTEGER_VALUE&approvalstatusfilter=SOME_INTEGER_VALUE&customerid=SOME_STRING_VALUE&customgroupfilter=SOME_STRING_VALUE&severityfilter=SOME_INTEGER_VALUE&domainfilter=SOME_STRING_VALUE&platformfilter=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code": 200,
"message_type": "allpatches",
"message_response": {
"total": 4094,
"allpatches": [
{
"ro_failure_count": "--",
"updated_time": 1552980907650,
"installed": 2,
"sqnumber": "3.41.2",
"ro_yettodownload_count": "--",
"bulletin_id": "TU-058",
"patch_noreboot": 1,
"update_name": "Third Party Updates",
"patch_released_time": 1552971857000,
"patch_size": 7917152,
"image_name": "/images/approved_icon.gif",
"status_id": 211,
"patch_uninstall_status": 1,
"platform_name": "Windows",
"missing": 1,
"download_status": 221,
"first_name": "DC-SYSTEM-USER",
"severity": 1,
"patch_id": 309232,
"patch_name": "FileZilla_3.41.2_win32-setup.exe",
"patch_description": "FileZilla Client (3.41.2)",
"vendor_name": "Tim Kosse",
"superceded_by": "NA",
"severity_name": "dc.common.LOW",
"label": "dc.common.APPROVED",
"failed": 0,
"patch_supported_time": 1552971857000,
"ro_success_count": "--"
}
],
"limit": 25,
"page": 1
},
"message_version": "1.0",
"status": "success"
}
post /api/1.4/patch/computers/scanall
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/api/1.4/patch/computers/scanall?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"message_type": "computers",
"message_response": {
"computers": {
"status": "Scan initiated successfully"
}
},
"message_version": "1.4",
"status": "success"
}
post /dcapi/customColumn/addCustomColumn
Copy full URLcurl --request POST \
--url https:///{serverurl}/dcapi/customColumn/addCustomColumn \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' \
--header 'accept: application/addCustomColumnStatus.v1+json' \
--header 'content-type: application/json' \
--data '{"size":50,"defaultValue":"Mac","dataType":"CHAR","description":"Custom Column to Store Sample data","isPII":true,"tableName":"MspCustomerCustomFields","columnName":"OS Type"}' {
"size": 50,
"defaultValue": "Mac",
"dataType": "CHAR",
"description": "Custom Column to Store Sample data",
"isPII": true,
"tableName": "MspCustomerCustomFields",
"columnName": "OS Type"
}
{
"message": "Field <b> OS Type </b> has been added successfully",
"status": "SUCCESS"
}
get /api/1.4/desktop/serverproperties
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/desktop/serverproperties?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"message_response": {
"serverproperties": {
"branch_offices": [
"Direct Comm",
"Intern Ds Remote",
"Local Office"
],
"domains": [
"ZOHOCORP",
"DESKTOPCENTRAL",
"WORKGROUP",
"macosgroup"
],
"custom_groups": [
"All Computers Group",
"All Users Group",
"Default_iOS_Corporate",
"Default_iOS_Personal",
"Default_Android_Corporate",
"Default_Android_Personal",
"Default_Windows_Corporate",
"Default_Windows_Personal",
"Inactive_Users_ZOHOCORP",
"Inactive_Computers_ZOHOCORP",
"test",
"sathish"
]
}
},
"message_type": "discover",
"message_version": "1.0",
"status": "success"
}
put /dcapi/customFields/values/file
Copy full URLcurl --request PUT \
--url 'https:///{serverurl}/dcapi/customFields/values/file?selectedResources=SOME_STRING_VALUE&columnName=SOME_STRING_VALUE&tableName=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' \
--header 'content-type: multipart/form-data' {
"uploadedFile": "File need to Be uploaded"
}
post /api/1.4/patch/modifyAPDTask
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/api/1.4/patch/modifyAPDTask?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"settings":{"target_list":"Local Office","templateName":"Deploy any time at the earliest","target_type":"REMOTE_OFFICE"},"taskname":"windows create task"}' {
"settings": {
"target_list": "Local Office",
"templateName": "Deploy any time at the earliest",
"target_type": "REMOTE_OFFICE"
},
"taskname": "windows create task"
}
{
"message_type": "modifyAPDTask",
"message_response": {
"modifyapdtask": {
"status": "task1 task modified successfully"
}
},
"message_version": "1.4",
"status": "success"
}
curl --request GET \
--url 'https:///{serverurl}/api/1.4/patch/summary?customerid=SOME_STRING_VALUE&page=SOME_INTEGER_VALUE&pagelimit=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code": 200,
"message_type": "summary",
"message_response": {
"summary": {
"patch_summary": {
"installed_patches": 2307,
"applicable_patches": 3921,
"new_patches": 369,
"patch_summary_report_generation_time": 0,
"missing_patches": 1614
},
"missing_patch_severity_summary": {
"moderate_count": 68,
"unrated_count": 589,
"total_count": 1614,
"critical_count": 293,
"important_count": 568,
"low_count": 96
},
"apd_summary": {
"last_task_scheduled_time": null,
"next_task_scheduled_time": null,
"number_of_apd_tasks": 33,
"last_executed_task": null,
"next_task": null
},
"system_summary": {
"total_systems": 97,
"moderately_vulnerable_systems": 0,
"healthy_systems": 35,
"system_summary_report_generation_time": 0,
"highly_vulnerable_systems": 61,
"health_unknown_systems": 1
},
"patch_scan_summary": {
"scan_summary_report_generation_time": 0,
"unscanned_system_count": 2,
"scanned_systems": 95,
"scan_success_count": 37,
"scan_failure_count": 58
},
"vulnerability_db_summary": {
"last_db_update_status": "Success",
"next_db_update_scheduled_time": 1553058600000,
"is_auto_db_update_disabled": false,
"db_update_in_progress": "false",
"last_db_update_time": 0
}
}
},
"message_version": "1.0",
"status": "success"
}
get /dcapi/inventory/computers/[0-9]+/software
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/dcapi/inventory/computers/[0-9]+/software?accesstypefilter=SOME_STRING_VALUE&oscompatibilityfilter=SOME_STRING_VALUE&licensetypefilter=SOME_STRING_VALUE&compliancestatusfilter=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' [
{
"invswinstalled.uninstall_remarks": "--",
"invswextn.architecture": "32-bit",
"invsw.comments": "--",
"invmanagedsw.managed_sw_id": 1,
"invswinstalled.installed_date": "1668191400000",
"invsw.software_id": 1,
"invmanagedsw.software_id": 1,
"invswcategory.sw_category_name": "--",
"invswinstalled.installed_users_login": "-",
"invswinstalledtouserrel.user_component_id": "--",
"invswinstalled.uninstall_status": "--",
"invsw.detected_time": "1668248641630",
"invswlicenseusage.remaining_copies": "--",
"invswinstalledtouserrel.sw_installed_id": "--",
"invsw.software_version": "1.3.171.37",
"invsw.manufacturer_id": 3,
"invsw.installed_format": "EXE",
"invswlicense.total_copies": "--",
"invsystemusers.name": "--",
"invswusagetype.sw_usage_type": "dc.common.NOT_KNOWN",
"invswlicense.license_owner": "--",
"invmanufacturer.manufacturer_name": "Unknown",
"invsw.sw_type": 0,
"invsystemusers.domain": "--",
"invsw.sw_family": 1,
"invswinstalled.location": "Not known",
"invsw.is_usage_prohibited": 0,
"invswlicenseusage.compliant_status": "--",
"invsw.software_name": "Microsoft Edge Update",
"invswinstalled.component_id": 47
},
{
"invswinstalled.uninstall_remarks": "--",
"invswextn.architecture": "32-bit",
"invsw.comments": "--",
"invmanagedsw.managed_sw_id": 2,
"invswinstalled.installed_date": "1659378600000",
"invsw.software_id": 2,
"invmanagedsw.software_id": 2,
"invswcategory.sw_category_name": "--",
"invswinstalled.installed_users_login": "-",
"invswinstalledtouserrel.user_component_id": "--",
"invswinstalled.uninstall_status": "--",
"invsw.detected_time": "1668248641654",
"invswlicenseusage.remaining_copies": "--",
"invswinstalledtouserrel.sw_installed_id": "--",
"invsw.software_version": "12.1.4100.1",
"invsw.manufacturer_id": 13,
"invsw.installed_format": "MSI",
"invswlicense.total_copies": "--",
"invsystemusers.name": "--",
"invswusagetype.sw_usage_type": "dc.common.NOT_KNOWN",
"invswlicense.license_owner": "--",
"invmanufacturer.manufacturer_name": "Microsoft Corporation",
"invsw.sw_type": 0,
"invsystemusers.domain": "--",
"invsw.sw_family": 1,
"invswinstalled.location": "--",
"invsw.is_usage_prohibited": 0,
"invswlicenseusage.compliant_status": "--",
"invsw.software_name": "SQL Server Browser for SQL Server 2014",
"invswinstalled.component_id": 48
}
]
get /dcapi/threats/systemreport/systemmisconfigurations
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/dcapi/threats/systemreport/systemmisconfigurations?updated_time=SOME_STRING_VALUE&pageLimit=SOME_STRING_VALUE&misconfig_status=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE&resource_id=SOME_STRING_VALUE&page=SOME_STRING_VALUE&misconfigid=SOME_STRING_VALUE&global_gpo=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"metadata": {
"pageLimit": 30,
"totalRecords": "1",
"totalPages": 1,
"links": {
"next": null,
"prev": null
},
"page": 1
},
"response_code": 200,
"message_type": "systemreport",
"message_response": {
"systemreport": [
{
"systemmisconfigurations": [
{
"updated_time": "1704451505976",
"misconfig_status": "open",
"misconfigid": "6",
"global_gpo": "not applied"
},
{
"updated_time": "1704451505976",
"misconfig_status": "open",
"misconfigid": "7",
"global_gpo": "not applied"
}
],
"resource_id": "304"
}
]
},
"status": "success"
}
post /api/1.4/som/computers/uninstallagent
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/api/1.4/som/computers/uninstallagent?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"resourceids":[301]}' {
"resourceids": [
301
]
}
{
"message_type": "computers",
"message_response": {
"computers": {
"Status": "UnInstallation initiated successfully"
}
},
"message_version": "1.4",
"status": "success"
}
post /api/1.4/patch/approvepatch
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/api/1.4/patch/approvepatch?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"patchids":[112,113]}' {
"patchids": [
112,
113
]
}
{
"message_type": "approvepatch",
"message_response": {
"approvepatch": {
"status": "Initiated Successfully"
}
},
"message_version": "1.4",
"status": "success"
}
get /dcapi/threats/systemmisconfigurations
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/dcapi/threats/systemmisconfigurations?severity=SOME_STRING_VALUE&os_platform=SOME_STRING_VALUE&fix_availability=SOME_STRING_VALUE&description=SOME_STRING_VALUE&pageLimit=SOME_STRING_VALUE&misconfig_name=SOME_STRING_VALUE&solution=SOME_STRING_VALUE&reboot_required=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE&post_deployment_issues=SOME_STRING_VALUE&undo_supported=SOME_BOOLEAN_VALUE&page=SOME_STRING_VALUE&category=SOME_STRING_VALUE&misconfigid=SOME_STRING_VALUE&potential_impact=SOME_BOOLEAN_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"metadata": {
"pageLimit": 30,
"totalRecords": "2",
"totalPages": 1,
"links": {
"next": null,
"prev": null
},
"page": 1
},
"response_code": 200,
"message_type": "systemmisconfigurations",
"message_response": {
"systemmisconfigurations": [
{
"severity": "Critical",
"os_platform": "Windows",
"fix_availability": "not available",
"description": "A host-based firewall lets a user define a set of rules that controls incoming and outgoing network traffic across a particular device. This prevents unauthorized access and unrestricted connections to the device. Windows-based computers comes with an in-built firewall. Resolve this misconfiguration to enable Microsoft windows firewall in your windows-based computers.",
"affected_systems": 1,
"misconfig_name": "Windows firewall disabled/ No third-party firewall present",
"solution": "no fix available",
"reboot_required": "not required",
"post_deployment_issues": "No Impact",
"undo_supported": false,
"category": "Windows Firewall",
"misconfigid": "4",
"potential_impact": false
},
{
"severity": "Critical",
"os_platform": "Windows",
"fix_availability": "not available",
"description": "BitLocker is a full disk encryption feature included in Microsoft Windows versions starting with Windows Vista. It is designed to protect data by providing encryption for entire volumes. In many cases, encryption of customer data is required by law. Resolution: It is advisable to enable bitlocker encryption to protect entire disk volumes.",
"affected_systems": 1,
"misconfig_name": "Bitlocker not enabled",
"solution": "no fix available",
"reboot_required": "not required",
"post_deployment_issues": "No Impact",
"undo_supported": false,
"category": "BitLocker Encryption",
"misconfigid": "6",
"potential_impact": false
}
]
},
"status": "success"
}
get /api/1.4/inventory/allsummary
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/inventory/allsummary?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code ": 200,
"message_type": "allsummary",
"message_response": {
"allsummary": {
"audit_summary": {
"not_scanned": "0",
"scan_failed": "0",
"scan_success": "4"
},
"software_summary": {
"commercial_software": "7",
"total_software": "485",
"prohibited_software": "49",
"non_commercial_software": "0"
},
"software_compliance_summary": {
"expired_license": "0",
"over_licensed": "3",
"under_licensed": "1",
"license_in_compliance": "1"
},
"computer_by_os": {
"Mac OS X": "1",
"Windows 8": "1",
"Windows 7": "2"
},
"warranty_summary": {
"unidentified": "0",
"expired_warranty": "1",
"warranty_in_compliance": "2"
}
}
},
"message_version": "1.0",
"status": "success"
}
get /api/1.4/inventory/licenses
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/inventory/licenses?customerid=SOME_STRING_VALUE&swid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code ": 200,
"message_type": "licenses",
"message_response": {
"licenses": [
{
"invswlicensedetails.po_number": "--",
"invswlicenseedition.license_type": "--",
"invoice_canonical_path": "--",
"license_file_name": "--",
"invoice_file_name": "--",
"license_canonical_path": "--",
"invswlicensedetails.po_file_name": "--",
"software_id": 1,
"license_name": "DC-Inventory-License",
"invswlicensedetails.cost": "--",
"invswlicensedetails.vendor": "--",
"software_version": "1.0.0",
"software_name": "DC-Inventory-Software",
"sw_type": 1,
"invswlicensedetails.po_canonical_path": "--",
"invswlicensedetails.invoice_number": "--",
"managed_sw_id": 1,
"invswlicenseedition.edition_name": "--",
"license_details_id": 1,
"manufacturer_id": 1,
"licensed_to": "",
"expiry_date": 0,
"no_of_copies": 1,
"manufacturer_name": "DC-Inventory-Vendor",
"display_name": "DC-Inventory-Software",
"license_key": "",
"mapped_resource_count": 1,
"invswlicenseedition.license_metric": "--",
"license_id": 1,
"invswlicensedetails.location": "--",
"customer_name": "DC_CUSTOMER",
"purchase_date": 0,
"customer_id": 1,
"invswlicensedetails.license_ref_number": "--",
"remarks": "--"
}
],
"total": 1,
"limit": 25,
"page": 1
},
"message_version": "1.0",
"status": "success"
}
get /dcapi/customColumn/udtNameExists
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/dcapi/customColumn/udtNameExists?udtName=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: 'get /dcapi/customFields/computers/[0-9]+
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/dcapi/customFields/computers/[0-9]+' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' [
{
"isPIIColumn": false,
"defaultValue": "1",
"addedBy": "1",
"displayName": "sample",
"dataType": "int",
"extendedDataType": "",
"description": "",
"maxAllowedSize": "4",
"inputFormat": "<INTEGER>",
"value": "3",
"columnName": "COL301"
}
]
get /api/1.4/inventory/licensesoftware
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/inventory/licensesoftware?customerid=SOME_STRING_VALUE&compliancestatusfilter=SOME_INTEGER_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code ": 200,
"message_type": "licensesoftware",
"message_response": {
"total": 1,
"licensesoftware": [
{
"manufacturer_id": 1,
"detected_time": 1757341382251,
"comments": "--",
"total_copies": 10,
"manufacturer_name": "DC-Inventory-Vendor",
"display_name": "DC-Inventory-Software",
"is_multiple": false,
"installed_copies": 0,
"remaining_copies": 10,
"software_id": 1,
"sw_category_name": "--",
"software_compliance_description": "dc.common.OVER_LICENSED",
"license_id": 1,
"license_owner": "DC-Inventory-Owner",
"compliant_status": 1,
"software_name": "DC-Inventory-Software",
"software_version": "1.0.0",
"sw_type": 1,
"is_usage_prohibited": 0,
"network_installations": 0
}
],
"limit": 25,
"page": 1
},
"message_version": "1.4",
"status": "success"
}
post /api/1.4/patch/deleteAPDTask
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/api/1.4/patch/deleteAPDTask?customerid=SOME_STRING_VALUE&taskname=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"message_type": "deleteAPDTask",
"message_response": {
"deleteapdtask": {
"status": "Task has been deleted successfully"
}
},
"message_version": "1.4",
"status": "success"
}
curl --request GET \
--url 'https:///{serverurl}/api/1.4/patch/allsystems?branchofficefilter=SOME_STRING_VALUE&healthfilter=SOME_INTEGER_VALUE&customerid=SOME_STRING_VALUE&customgroupfilter=SOME_STRING_VALUE&resid=SOME_STRING_VALUE&domainfilter=SOME_STRING_VALUE&platformfilter=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code": 200,
"message_type": "allsystems",
"message_response": {
"allsystems": [
{
"resource_health_status": 3,
"os_language": 1,
"branchmemberresourcerel.resource_id": 301,
"branch_office_id": 1,
"last_patched_time": 1553069752000,
"os_platform_name": "Windows",
"pmreshealthstatus.resource_id": 301,
"installed_tp_patches": 9,
"installed_ms_patches": 12,
"important_patch_count": 2,
"service_pack": "Windows 10 Version 1809 (x64)",
"resourcetorebootdetails.resource_id": "--",
"pmresourcepatchcount.resource_id": 301,
"resourcetorebootdetails.reboot_req_status": "--",
"os_language_abbr": "en",
"resourcedeploymentstatus.resource_id": 301,
"scan_remarks": "dc.patch.util.Scanning_completedsuccessfully",
"os_platform": 1,
"agent_logged_on_users": "XXXX-1234",
"total_ms_patches": 14,
"osflavor_id": 0,
"search_tag": "--",
"status_label": "dc.db.config.status.failed",
"owner_email_id": "--",
"missing_ms_patches": 2,
"last_action_initiated_on": "--",
"missing_tp_patches": 3,
"low_patch_count": 0,
"patchmgmtosinfo.resource_id": 301,
"last_successful_scan": 1553073465582,
"computer_status_update_time": 1553063563662,
"branch_office_name": "Local Office",
"agent_last_contact_time": 1553069591000,
"total_tp_patches": 12,
"description": "--",
"critical_patch_count": 2,
"domain_netbios_name": "ZOHOCORP",
"mac_address": "1a:aa:1a:1a:11:1a",
"resource.resource_id": 301,
"shutdown_status_update_time": "--",
"moderate_patch_count": 1,
"owner": "--",
"scan_status": 228,
"timezone_offset": "330",
"oslanguage.languageid": 1,
"last_sync_time": 1553074057839,
"deployment_status": 206,
"oslanguage.i18n": "dc.patch.patchinfo.English",
"ip_address": "XXX.XXX.XXX.XXX",
"shutdown_status": "--",
"agent_last_bootup_time": 1552885231000,
"resource_id": 301,
"os_name": "Windows 10 Professional Edition (x64)",
"location": "--",
"computer_live_status": 1,
"resource_name": "XXXX-YYYY",
"last_scan_time": 1553073465582,
"remarks": "--",
"last_operation": "--",
"status_image": "/images/failureicon.gif"
}
],
"total": 2,
"limit": 25,
"page": 1
},
"message_version": "1.0",
"status": "success"
}
get /dcapi/threats/systemreport/patches
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/dcapi/threats/systemreport/patches?severity=SOME_STRING_VALUE&patchname=SOME_STRING_VALUE&update_type=SOME_STRING_VALUE&patch_id=SOME_STRING_VALUE&patch_description=SOME_STRING_VALUE&vendor_name=SOME_STRING_VALUE&install_error_code=SOME_STRING_VALUE&fqdn_name=SOME_STRING_VALUE&patch_released_time=SOME_STRING_VALUE&pageLimit=SOME_STRING_VALUE&reboot_required=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE&platform_name=SOME_STRING_VALUE&cveids=SOME_STRING_VALUE&resource_id=SOME_STRING_VALUE&page=SOME_STRING_VALUE&customername=SOME_STRING_VALUE&installed_time=SOME_STRING_VALUE&patch_status=SOME_STRING_VALUE&patch_approval_status=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"metadata": {
"pageLimit": 30,
"totalRecords": "1",
"totalPages": 1,
"links": {
"next": null,
"prev": null
},
"page": 1
},
"response_code": 200,
"message_type": "systemreport",
"message_response": {
"systemreport": [
{
"patches": [
{
"severity": "Important",
"patchname": "vcredist_x86_sp1.exe",
"update_type": "Security Updates",
"patch_id": "12621",
"patch_description": "Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update",
"vendor_name": "Microsoft",
"install_error_code": "--",
"fqdn_name": "WINV1RI92CIEGA.CSEZ.ZOHOCORPIN.COM",
"patch_released_time": "1307989800000",
"bulletinid": "MS11-025",
"reboot_required": "may require",
"platform_name": "Windows",
"installed_time": "--",
"deployment_remarks": "--",
"patch_status": "Installed",
"patch_approval_status": "approved"
},
{
"severity": "Important",
"patchname": "vcredist_x64_sp1.exe",
"update_type": "Security Updates",
"patch_id": "12622",
"patch_description": "Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update",
"vendor_name": "Microsoft",
"install_error_code": "--",
"fqdn_name": "XXXXXX.ZZZZ.YYYY.COM",
"patch_released_time": "1307989800000",
"bulletinid": "MS11-025",
"reboot_required": "may require",
"platform_name": "Windows",
"installed_time": "--",
"deployment_remarks": "--",
"patch_status": "Installed",
"patch_approval_status": "approved"
}
],
"resource_id": "304"
}
]
},
"status": "success"
}
curl --request GET \
--url 'https:///{serverurl}/dcapi/threats/patches?updated_time=SOME_STRING_VALUE&supercededby=SOME_STRING_VALUE&patch_released_time=SOME_STRING_VALUE&patch_size=SOME_STRING_VALUE&patch_uninstall=SOME_STRING_VALUE&platform_name=SOME_STRING_VALUE&missing_system_count=SOME_STRING_VALUE&download_status=SOME_STRING_VALUE&patch_status=SOME_STRING_VALUE&severity=SOME_STRING_VALUE&patchname=SOME_STRING_VALUE&update_type=SOME_STRING_VALUE&patch_description=SOME_STRING_VALUE&kb_number=SOME_STRING_VALUE&vendor_name=SOME_STRING_VALUE&installed_system_count=SOME_STRING_VALUE&patch_supported_time=SOME_STRING_VALUE&pageLimit=SOME_STRING_VALUE&patchid=SOME_STRING_VALUE&approveduser_first_name=SOME_STRING_VALUE&reboot_required=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE&failed_system_count=SOME_STRING_VALUE&cveids=SOME_STRING_VALUE&page=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"metadata": {
"pageLimit": 30,
"totalRecords": "2",
"totalPages": 1,
"links": {
"next": null,
"prev": null
},
"page": 1
},
"response_code": 200,
"message_type": "patches",
"message_response": {
"patches": [
{
"severity": "Important",
"patchname": "vcredist_x86_sp1.exe",
"updated_time": "1704363395117",
"update_type": "Security Updates",
"patch_description": "Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update",
"kb_number": "2565063",
"vendor_name": "Microsoft",
"installed_system_count": 1,
"supercededby": "NA",
"patch_released_time": "1307989800000",
"patch_supported_time": "1307989800000",
"patch_size": "8993744",
"patchid": "12621",
"patch_uninstall": "not supported",
"bulletinid": "MS11-025",
"approveduser_first_name": "DC-SYSTEM-USER",
"reboot_required": "may require",
"platform_name": "Windows",
"download_status": "--",
"missing_system_count": 0,
"failed_system_count": 0,
"patch_status": "approved"
},
{
"severity": "Important",
"patchname": "vcredist_x64_sp1.exe",
"updated_time": "1704363395117",
"update_type": "Security Updates",
"patch_description": "Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update",
"kb_number": "2565063",
"vendor_name": "Microsoft",
"installed_system_count": 1,
"supercededby": "NA",
"patch_released_time": "1307989800000",
"patch_supported_time": "1307989800000",
"patch_size": "10274136",
"patchid": "12622",
"patch_uninstall": "not supported",
"bulletinid": "MS11-025",
"approveduser_first_name": "DC-SYSTEM-USER",
"reboot_required": "may require",
"platform_name": "Windows",
"download_status": "--",
"missing_system_count": 0,
"failed_system_count": 0,
"patch_status": "approved"
}
]
},
"status": "success"
}
get /api/1.4/patch/systemreport
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/patch/systemreport?patchstatusfilter=SOME_INTEGER_VALUE&approvalstatusfilter=SOME_INTEGER_VALUE&customerid=SOME_STRING_VALUE&resid=SOME_STRING_VALUE&severityfilter=SOME_INTEGER_VALUE&platformfilter=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code": 200,
"message_type": "systemreport",
"message_response": {
"total": 64,
"systemreport": [
{
"update_id": 0,
"installstatusdefn.label": "dc.common.INSTALLED",
"installpatchstatus.patch_id": 9110,
"install_error_code": -1,
"bulletin_id": "MS10-063",
"patch_noreboot": 0,
"update_name": "Security Updates",
"platform": 1,
"configstatusdefn.image_name": "/images/approved_icon.gif",
"deploy_remarks": "dc.db.agent.config.patchscan.success",
"patch_released_time": 1284402600000,
"customerpatchstatus.patch_id": 9110,
"patch_uninstall_status": 1,
"download_status": 221,
"platform_name": "Windows",
"affectedpatchstatusdefn.image_name": "/images/success.gif",
"patch_type": 0,
"pmseverity.name": "Critical",
"patch_status": 211,
"affected_patch_status": 201,
"severity": 4,
"patchstorestatusdefn.label": "dc.common.SUCCESS",
"configstatusdefn.label": "dc.common.APPROVED",
"patch_id": 9110,
"patch_name": "office2007-kb2288621-fullfile-x86-glb.exe",
"collection.collection_name": "MyTask682",
"patch_description": "Security Update for the 2007 Microsoft Office System (KB2288621)",
"vendor_name": "Microsoft",
"deployment_status": 209,
"superceded_by": "NA",
"severity_name": "dc.common.CRITICAL",
"installpatchstatus.resource_id": 301,
"deployer.first_name": "admin",
"patchstorestatusdefn.image_name": "/images/download_success.png",
"installstatusdefn.image_name": "/images/success.png",
"patch_supported_time": 1284402600000,
"affectedpatchstatusdefn.label": "dc.common.INSTALLED",
"resource_id": 301,
"customer_id": 1,
"deploy_remarks_args": "--",
"installed_time": 1544818523000
}
],
"limit": 25,
"page": 1
},
"message_version": "1.0",
"status": "success"
}
curl --request GET \
--url 'https:///{serverurl}/api/1.4/patch/viewconfig?branchofficefilter=SOME_STRING_VALUE&configstatusfilter=SOME_STRING_VALUE&customerid=SOME_STRING_VALUE&domainfilter=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code": 200,
"message_type": "viewconfig",
"message_response": {
"viewconfig": [
{
"statusimage": "images/status_executedfailed.gif",
"configurationparams.config_id": 151,
"collection.customer_id": 1,
"configdata.config_data_id": 38717,
"configstatusdefn.status_id": 15,
"configdata.config_type": 1,
"statuslabel": "dc.db.config.status.draft_download_failed",
"collectionstatussummary.yet_to_apply_count": 1,
"collection_id": 23708,
"os_platform_name": "Windows",
"collection.is_single_config": true,
"first_name": "admin",
"collection.platform_id": 1,
"os_platform_id": 1,
"collection.collection_name": "Peazip x64 - narun-win10",
"collectionstatussummary.retry_inprogress_count": 0,
"collection.show_in_view": true,
"cfgdatatocollection.config_data_id": 38717,
"collectionstatussummary.total_target_count": 1,
"collectionstatus.status": 15,
"collectionstatussummary.not_applicable_count": 0,
"deletedby": "--",
"collection.modified_time": 1552902864870,
"collection.is_deleted": false,
"collection.collection_id": 23708,
"cfgdatatocollection.collection_id": 23708,
"user_id": 1,
"configuration.config_id": 151,
"collectionstatussummary.failed_count": 0,
"collectionstatussummary.status_count_desc": "Total Targets ( 1 ), Yet to Apply ( 1 )",
"configurationparams.label": "dc.conf.conf_param.Install_Patches",
"configurationparams.small_image_name": "images/install_windows_patch_big.png",
"modifieduser.user_id": 1,
"collectionstatussummary.success_count": 0,
"modifieduser.first_name": "admin",
"collectionstatus.collection_id": 23708,
"deleted_time": "--",
"dc_user_id": "--"
}
],
"total": 284,
"limit": 25,
"page": 1
},
"message_version": "1.0",
"status": "success"
}
get /api/1.4/bitlocker/recoverykeydetails
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/bitlocker/recoverykeydetails?keyProtectorId=SOME_STRING_VALUE&compName=SOME_STRING_VALUE&domainfilter=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' {
"response_code": 200,
"message_type": "recoverykeydetails",
"message_response": {
"recoverykeydetails": [
{
"key_protector_id": "{0977480D-C76E-4B8E-B750-123BCCCE47C}",
"recovery_key": "223575-265432-890982-416042-399949-366960-389807",
"drive_letter": "C:",
"name": "SYS-1",
"resource_id": 110707,
"domain_netbios_name": "WORKGROUP",
"customer_id": 1
}
]
},
"message_version": "1.4",
"status": "success"
}
curl --request GET \
--url 'https:///{serverurl}/dcapi/reports/queryReports/{dc_longvalue_pathparam}/data?startIndex=SOME_INTEGER_VALUE&limit=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' \
--header 'accept: application/queryResult.v1+json' {
"data": [
{
"db_added_time": "1724670283179",
"name": "All Computers Group",
"resource_type": "101",
"domain_netbios_name": "CRITERIA_GROUP"
}
],
"reportName": "Query Reports",
"columnDetails": [
{
"columnDataType": 12,
"columnName": "name"
}
]
}
get /api/1.4/patch/approvalsettings
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/patch/approvalsettings?customerid=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code": 200,
"message_type": "approvalsettings",
"message_response": {
"approvalsettings": {
"patch_approval": "automatic"
}
},
"message_version": "1.0",
"status": "success"
}
get /dcapi/inventory/computers/[0-9]+/network
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/dcapi/inventory/computers/[0-9]+/network' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' {
"networkAdapterDetails": [
{
"hardwareDescription": "--",
"hardwareDeviceID": "58:A0:23:28:XX:XX",
"hardwareDetectdTime": "Dec 20, 2021 02:56 PM",
"hardwareTypeID": 22,
"dnsDomain": "--",
"dnsHostName": "PC1",
"hardwareID": "20",
"dhcpExpired": "Dec 20, 2021 04:02 PM",
"hardwareStatusDescription": "Not Available",
"dhcpServer": "192.000.0.1",
"isDHCPEnabled": true,
"hardwareType": "Network Adapter",
"ipAddress": "192.000.0.107, fe80::2194:5d8d:31d3:XXXX",
"index": "4",
"hardwareInstalledComputerID": "901",
"hardwareStatus": "Unknown",
"defaultIPGateway": "192.000.0.1",
"dnsServerSearchOrder": "192.000.100.11, 192.000.3.1",
"isprimary": false,
"hardwareManufacturerID": "8",
"ipSubnet": "255.255.255.0, 64",
"hardwareName": "[00000004] Intel(R) Wireless-AC 9260 160MHz",
"hardwareManufacturer": "Intel Corporation",
"dhcpLeaseObtained": "Dec 20, 2021 02:02 PM",
"connectionStatus": "Connected"
}
]
}
get /dcapi/customColumn/[0-9]+/customFields
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/dcapi/customColumn/[0-9]+/customFields' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' \
--header 'accept: application/customFields.v1+json' {
"owner": "--",
"expiryDate": "08/08/2029",
"shippingDateUpdateType": 0,
"expiryDateUpdateType": 0,
"notes": "--",
"shippingDate": "",
"isWarrantyScanAllowed": true,
"isShippingDateFetched": false,
"location": "--",
"productNumber": "--",
"searchTag": "--",
"ownerEmail": "--"
}
get /api/1.4/patch/supportedpatches
Copy full URLcurl --request GET \
--url 'https:///{serverurl}/api/1.4/patch/supportedpatches?patchid=SOME_STRING_VALUE&bulletinid=SOME_STRING_VALUE&approvalstatusfilter=SOME_INTEGER_VALUE&customerid=SOME_STRING_VALUE&page=SOME_INTEGER_VALUE&pagelimit=SOME_STRING_VALUE&severityfilter=SOME_INTEGER_VALUE&platformfilter=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"response_code": 200,
"message_type": "supportedpatches",
"message_response": {
"total": 21776,
"limit": 25,
"page": 1,
"supportedpatches": [
{
"update_id": 2,
"patch_lang": 1,
"patch_updated_time": 1552980907650,
"sqnumber": "6.22.0.0",
"patch_updated": 1552978698000,
"bulletin_id": "TU-075",
"patch_noreboot": 1,
"update_name": "Third Party Updates",
"platform": 1,
"configstatusdefn.image_name": "/images/approved_icon.gif",
"patch_released_time": 1552974574000,
"patch_size": 6537016,
"customerpatchstatus.patch_id": 309239,
"patch_uninstall_status": 0,
"platform_name": "Windows",
"download_status": 221,
"patch_type": 2,
"first_name": "DC-SYSTEM-USER",
"pmseverity.name": "Low",
"patch_status": 211,
"severity": 1,
"patchstorestatusdefn.label": "dc.common.SUCCESS",
"configstatusdefn.label": "dc.common.APPROVED",
"patch_id": 309239,
"patch_name": "BANDIZIP-SETUP.EXE",
"patch_description": "Bandizip (6.22.0.0)",
"newpatchinfo.patchid": 309239,
"patch_remarks": "",
"vendor_name": "Bandisoft",
"superceded_by": "NA",
"severity_name": "dc.common.LOW",
"patchstorestatusdefn.image_name": "/images/download_success.png",
"patch_supported_time": 1552974574000,
"patchdetails.patchid": 309239,
"customer_id": 1
}
]
},
"message_version": "1.0",
"status": "success"
}
post /dcapi/customFields/computers/[0-9]+/update
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/dcapi/customFields/computers/[0-9]+/update' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' \
--header 'content-type: application/json' \
--data '{"OS Type":"Mac"}' {
"OS Type": "Mac"
}
{
"statusMessage": "Successfully updated the custom field with given value",
"status": "success"
}
post /api/1.4/patch/suspendAPDTask
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/api/1.4/patch/suspendAPDTask?customerid=SOME_STRING_VALUE&taskname=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"message_type": "suspendAPDTask",
"message_response": {
"suspendapdtask": {
"status": "task has been suspended successfully"
}
},
"message_version": "1.4",
"status": "success"
}
get /dcapi/reports/customReports
Copy full URLcurl --request GET \
--url https:///{serverurl}/dcapi/reports/customReports \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' \
--header 'accept: application/allCustomReports.v1+json' {
"parent": null,
"children": [
{
"parent": "customReports",
"children": null,
"root": false,
"id": "302",
"label": "Untitled5",
"leaf": true,
"properties": {
"owner": "admin",
"viewName": "CRVIEW_1746706833342",
"expandable": false,
"selectable": true,
"actionURL": "/webclient#/uems/reports/custom/302?viewName=CRVIEW_1746706833342",
"description": "Test Description",
"lastModified": "May 8, 2025 05:50 PM"
}
}
],
"root": false,
"id": "customReports",
"label": "Custom Reports",
"leaf": true,
"properties": {
"reportType": "2",
"expandable": true,
"selectable": true
}
}
curl --request GET \
--url 'https:///{serverurl}/dcapi/som/computersInfo?size=SOME_STRING_VALUE&page=SOME_INTEGER_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'X-Customer: ' [
{
"managedStatus": 61,
"liveStatusUpdatedOn": "Feb 8, 2023 04:00 PM",
"ownerEmailID": "--",
"installationStatus": "Installed Successfully",
"description": "--",
"computerFullName": "VIGNESH",
"agentExecutedOn": "Feb 8, 2023 02:51 PM",
"statusUpdatedOn": "Feb 8, 2023 02:51 PM",
"osVersion": "10.0.19045",
"computerName": "VIGNESH-9898",
"lastContactTime": "Feb 8, 2023 02:50 PM",
"osPlatform": "Windows",
"agentUpgradedOn": "--",
"liveStatus": "Live",
"servicePack": "Windows 10 Version 2009 (x64)",
"ipAddress": "11.33.3.42",
"installationStatusCode": 22,
"osName": "Windows 10 Professional Edition (x64)",
"computerFQDNName": "VIGNESH.CSEZ.ZOHOCORPIN.COM",
"agentUninstalledOn": "--",
"searchTag": "--",
"computerId": "601",
"macAddress": "00:09:0a:aa:00:01,6a:a2:ab:3a:a8:05",
"computerGUID": "5mtu0ytgxzjliymy0yti4mti1zgi",
"loggedUsers": "vignesh",
"distributionServerName": "VIGNESH",
"domainName": "ZOHOCORP",
"customerID": "1",
"agentVersion": "10.1.2228.20.W",
"supportedOperationinSDP": "Asset,Remote_Control,Tools",
"agentInstalledOn": "Feb 8, 2023 01:21 PM",
"location": "--",
"remoteOfficeName": "ro1",
"remoteOfficeID": "301",
"remarks": "Agent Installed Successfully"
},
{
"managedStatus": 62,
"liveStatusUpdatedOn": "Feb 7, 2023 06:58 PM",
"ownerEmailID": "--",
"installationStatus": "Uninstalled Successfully",
"description": "--",
"computerFullName": "KAVIN",
"agentExecutedOn": "Feb 7, 2023 06:52 PM",
"statusUpdatedOn": "Feb 7, 2023 06:52 PM",
"osVersion": "10.0.19044",
"computerName": "KAVIN-10549",
"lastContactTime": "Feb 7, 2023 05:51 PM",
"osPlatform": "Windows",
"agentUpgradedOn": "--",
"liveStatus": "Unknown",
"servicePack": "Windows 10 Version 21H2 (x64)",
"ipAddress": "10.51.241.7",
"installationStatusCode": 23,
"osName": "Windows 10 Professional Edition (x64)",
"computerFQDNName": "KAVIN.CSEZ.ZOHOCORPIN.COM",
"agentUninstalledOn": "Feb 7, 2023 06:52 PM",
"searchTag": "--",
"computerId": "901",
"macAddress": "0a:00:27:00:00:17,60:a2:62:a4:72:a7",
"computerGUID": "3mtnjowu0mmi0mjzjmgi2nmqx",
"loggedUsers": "kavin-10549",
"distributionServerName": "VIGNESH",
"domainName": "ZOHOCORP",
"customerID": "1",
"agentVersion": "10.1.2228.20.W",
"supportedOperationinSDP": "Asset",
"agentInstalledOn": "Feb 6, 2023 10:25 AM",
"location": "--",
"remoteOfficeName": "ro1",
"remoteOfficeID": "301",
"remarks": "Agent UnInstalled Successfully"
}
]
post /api/1.4/patch/resumeAPDTask
Copy full URLcurl --request POST \
--url 'https:///{serverurl}/api/1.4/patch/resumeAPDTask?customerid=SOME_STRING_VALUE&taskname=SOME_STRING_VALUE' \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' {
"message_type": "resumeAPDTask",
"message_response": {
"resumeapdtask": {
"status": "task has been resumed successfully"
}
},
"message_version": "1.4",
"status": "success"
}
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.