# HTTP-Status Codes

The web-service uses five different responses with a dedicated meaning (see also [response-schema](https://services.markusschmidt.pro/mspro.services/general-information/response-schema "mention")).

### 200 - Ok: Success with data

The endpoint returned the expected data.

### 204 - NoContent: Success no data

The endpoint's expectations have been meet (success) but there is not data returned.

### 400 - Bad Request&#x20;

The endpoint could not provide the requested results because of the request parameters. If you would change the request parameters the endpoint would eventually respond the expected data.&#x20;

{% hint style="info" %}
This status-code is used with *query parameters* or *request bodies*, only. A *path-segment* which is used as a resource-id, for example, is not considered to be request data. It is a URL

See [#using-query-parameters](#using-query-parameters "mention")
{% endhint %}

### 404 - Not Found

The not-found status code is used only when a URL path is invalid.&#x20;

It is not used to respond that a resource was not found. Finding a resource is a business use-case while 404 is a technical representation of a "URL endpoint not found".

HTTP 404 (Not Found) is a standard response code indicating that the requested resource could not be found on the server.

### 500 - Internal Server Error

Something went wrong on the server (Exception). See response details for more information.
