---
title: "No Service Check Soft State through the REST API"
description: "Setting a service check to a soft state via the REST API is no longer supported. The Opsview UI still allows soft states before hard states after recheck attempts."
url: "https://docs.itrsgroup.com/docs/faq/opsview/20218249439773-opsview-no-service-check-soft-state-through-the-rest-api/index.html"
---
## Related to

Article indexing capture: service check, soft state, rest api

### Problem

- Setting up the service check to a soft state after rechecking attempts before going to a hard state is **no longer feasible** through the **REST API**.
- The service check directly goes to a hard state.
- The Detail - Setting no longer includes **state\_type** as possible input for services. See [Detail - Setting](https://docs.itrsgroup.com/docs/opsview/current/rest-api/detail/api-detail-setting/index.html).

### Possible Cause(s)

- The functionality is no longer feasible in the REST API due to customer complaints.

### Possible Solution(s)

The functionality is still present in the Opsview application but was only removed from the REST API due to customer complaints.

- ## Opsview UI or Application:

  - The service check is set to a soft state on the first attempt and goes to a hard state after three recheck attempts.

  ![Opsview - No Service Check Soft State through the REST API](https://docscdn.itrsgroup.com/faq/images/opsview/20218249439773-20218259674909-mceclip4.png)

  - The max check attempts can be modified in the **Edit Configuration for Service Check**.

  ![Opsview - No Service Check Soft State through the REST API](https://docscdn.itrsgroup.com/faq/images/opsview/20218249439773-20218259675293-mceclip1.png)

## Related Articles

- [Service Check - Investigate (itrsgroup.com)](https://docs.itrsgroup.com/docs/opsview/cloud/monitoring/navigator-data-analysis/investigate-mode-service-check/index.html#Heading-investigate---info-tab)
- [Detail - Setting](https://docs.itrsgroup.com/docs/opsview/current/rest-api/detail/api-detail-setting/index.html)


