Get Connector Details API

Get details of a connector.

GET sdr/api/v1/connectors/{connectorId}/scanners

Input ParametersInput Parameters

Parameter   

Required/Optional

Data Type

Description

connectorId   

Required

Integer

Specify the Id of connector to fetch the details.

size  

Optional

Integer

Specify the number of records per page to be included in the response. If size is not specified in the request, 50 records will be fetched by default. The maximum value supported for size is 200.

page   

Optional

Integer

Specify the page to be returned. Default page value is 0.

query

Optional

String

Filter the response by providing a query using Qualys QQL syntax.

Sample - To Get All Connector DetailsSample - To Get All Connector Details

API Request

curl-k -X GET -H  -i "<qualys_base_url>/sdr/api/v1/connectors/{connectorId}/scanners"

Response

{
   "content":[
      {
         "scannerType":"ADMINUSER",
         "status":"SUCCESS",
         "firstScannedDate":"2021-09-29T09:35:23Z",
         "lastScannedDate":"2021-10-04T11:16:28Z",
         "parentEntityId":"C04kkbpr8",
         "errorText":null,
         "scanCount":1,
         "customerId":null,
         "connectorId":null,
         "nextPageToken":null,
         "deltaPageToken":null,
         "scannerId":0,
         "scannerDefinitionId":2003,
         "retryCount":0
      }
   ],
   "pageable":{
      "sort":{
         "sorted":false,
         "unsorted":true,
         "empty":true
      },
      "pageNumber":0,
      "pageSize":1,
      "offset":0,
      "paged":true,
      "unpaged":false
   },
   "totalElements":20,
   "last":false,
   "totalPages":20,
   "first":true,
   "sort":{
      "sorted":false,
      "unsorted":true,
      "empty":true
   },
   "numberOfElements":1,
   "size":1,
   "number":0,
   "empty":false
}
success Thank you! We're glad to hear that this topic was useful.
success We appreciate your feedback. We'll work to make this topic better for you in the future.