---
title: "Testservicecheck - Listing"
description: ""
url: "https://docs.itrsgroup.com/docs/opsview/current/rest-api/test-service-check/api-test-service-check-listing/index.html"
---
Parameters:

- `hostname & servicename` - to identify the specific service check.

Returns:

```
{
  "args": "-H $HOSTADDRESS$ -p 1352",  // Plugin name
  "pluginname": "check_tcp",  // args used for check. Will consider host exceptions. If sensitive_arguments is set on service check - this will be null
  "can_change_args": 1,  // 0 - cannot change args, 1 - can
  "plugin_help": "check_tcp v2.2 ..."  // Output from ./check_plugin --help
}
```

This will return HTTP 400 if:

- Service does not exist.
- Found host, but not the service.
- Opsview configuration service check has been removed.
- Opsview configuration host has been removed.

