# Antworten

### Content-Type-Header

Alle Antworten werden im JSON-Format zurückgegeben. Dies geschieht durch Senden des `Content-Type`-Headers.

### Statuscodes

Unten finden Sie eine Tabelle mit Beschreibungen der verschiedenen Statuscodes, die wir derzeit für verschiedene Ressourcen unterstützen.

| Antwort-Code | Beschreibung                |
| ------------ | --------------------------- |
| 200          | OK                          |
| 201          | Ressource erstellt          |
| 202          | Akzeptiert                  |
| 400          | Schlechte Anfrage           |
| 401          | Nicht autorisiert           |
| 404          | Ressource nicht gefunden    |
| 406          | Nicht akzeptabel            |
| 422          | Nicht verarbeitbare Entität |
| 429          | Zu viele Anfragen           |
| 500          | Interner Serverfehler       |

### Paginierung

Wenn eine Anfrage mit einer Paginierungsabfrage gestellt wird, werden die Metadaten in der Antwort enthalten, um einfache Durchquerung der vorherigen, aktuellen, ersten und letzten Seite des Datensatzes zu ermöglichen.

```json
{
    "data": [
        // Antwortdaten 
    ],
    "meta": {
        "total_pages": 100,
        "total_rows": 2000,
        "order": "DESC",
        "order_by": "resource_field",
        "limit": 20,
        "offset": 0,
        "next_key": ""
    }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.iafcertsearch.org/api-developer-guide/api-de/api-integration/responses.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
