Retrieves all corporate network printers

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Retrieves all configured corporate network printers for the customer.

Request URL

https://{serverurl}/endpointdlp/api/corpboundary/networkprinters

Scope

DesktopCentralCloud.EndpointDLP.READCopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

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

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomains/endpointdlp/api/corpboundary/networkprinters \
  --header 'Accept: application/networkprinters.v1+json' \
  --header 'Authorization: Zoho-oauthtoken  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
networkprintersJSON Array

List of corporate network printers

Show Sub-Attributes
JSON Object
Show Sub-Attributes
printerIDlong

Unique identifier of the network printer

printerNamestring

Name of the network printer

- HTTP code 500

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

Internal error code (INTERNAL_ERROR / INTERNAL_SERVER_ERROR) returned when retrieval of corporate boundary data (web domains, printers, email domains, browsers) fails

errorMessagestring

Detailed message describing why the corporate boundary fetch failed

Possible Response Codes

200HTTP code
500HTTP code

Sample Response: HTTP 200

Successful retrieval of network printers

Copied!
  {
    "networkprinters": [
      {
        "printerName": "HP LaserJet Pro",
        "printerID": 2001
      },
      {
        "printerName": "Canon IR-ADV",
        "printerID": 2002
      }
    ]
  }
                
Show full

Sample Response: HTTP 500

Internal server error

Copied!
  {
    "errorMessage": "Exception Occurred While Retrieving Network Printer Details",
    "errorCode": "INTERNAL_ERROR"
  }
                
Show full

Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.