Data
Represents a controller that handles data-related API requests. This controller is secured with basic authentication and requires authorization.
| Method | API | Description |
|---|---|---|
| GET | api/Data/Adressen |
Retrieves a list of addresses from the database. |
| GET | api/Data/Artikel |
Retrieves a list of articles (Artikel) from the database. |
| GET | api/Data/Artikel/{id}/Image |
Retrieves the image associated with a specific article identified by its ID. |
| GET | api/Data/Kataloge |
Retrieves a list of Kataloge (catalogs) from the database. |
| GET | api/Data/KatalogEbenen |
Retrieves a list of Katalogebene (catalog levels) from the database. |
| GET | api/Data/Benutzer |
Retrieves a list of users (Benutzer) from the database. |
Info
The InfoController class is responsible for handling HTTP requests related to information retrieval. It provides endpoints to access various information resources.
| Method | API | Description |
|---|---|---|
| GET | api/Info/Version |
Retrieves the version of the currently executing assembly. |
Users
Provides API endpoints for user-related operations.
| Method | API | Description |
|---|---|---|
| GET | api/user/{id} |
Retrieves a user by their unique identifier. |
| GET | api/users/{id} |
Retrieves a user by their unique identifier. |
| GET | api/users/rights/{id} |
Retrieves the rights associated with a specific user identified by their ID. |
Forms
Formulare
| Method | API | Description |
|---|---|---|
| POST | api/Forms/Regiebericht |
Handles the HTTP POST request to create a new Regiebericht (report). |
| POST | api/Forms/Bestellung |
Handles the HTTP POST request to create a new Bestellung (order). |
| POST | api/Forms/Abwesenheit |
Handles the HTTP POST request to create a new Bestellung (order). |
| POST | api/Forms/Dokumentation |
Handles the HTTP POST request to create a new documentation entry. |
| POST | api/Forms/Dokumentation/Image |
Posts a documentation image to the server. |
| PUT | api/Forms/Dokumentation |
Updates the documentation for a specific form. |
Objekt
Represents a controller for managing objects in the API. This controller is secured with basic authentication and requires authorization.
| Method | API | Description |
|---|---|---|
| GET | api/Objekt/{id}/Bild |
Retrieves the image associated with a specific object identified by its ID. |
| POST | api/Objekt/{id}/Bild |
Updates the image associated with a specific object identified by its ID. |
| GET | api/Objekt |
Retrieves a list of objects (Objekte) from the database. |
| GET | api/Objekt?search={search} |
Retrieves a list of objects that match the specified search criteria. |
| GET | api/Objekt/{id} |
Retrieves an object of type by its unique identifier. |
Adressen
Controller for managing addresses.
| Method | API | Description |
|---|---|---|
| GET | api/Adressen |
Retrieves a list of addresses from the database. |
| GET | api/Adressen/Projekte?status={status} |
Retrieves a list of project addresses from the database. |
Zeiten
Controller for managing time-related operations.
| Method | API | Description |
|---|---|---|
| POST | api/zeiten/list |
Handles the HTTP POST request to retrieve a list of working hours (Arbeitszeiten) for a specific employee within a given date range. |
| GET | api/stempel/{id} |
Retrieves a specific "Stempel" (time stamp) record by its ID. |
| POST | api/stempel |
Adds a new stamp entry or updates an existing one for a given personal ID. |
| GET | api/stempel/anwesend |
Retrieves a list of active attendance stamps (Stempel) for personnel. |
| GET | api/Zeiten/{id}?year={year}&month={month} |
Retrieves the working hours for a specific employee for a given year and month. |
| GET | api/Zeiten/{id} |
Retrieves the Arbeitszeit (working time) record for a specified ID. |
| POST | api/Zeiten |
Adds a new Arbeitszeit (work time) entry to the database. |
| PUT | api/Zeiten/{id} |
Edits an existing Arbeitszeit entry in the database. |
| DELETE | api/Zeiten/{id} |
Deletes an existing Arbeitszeit (work time) entry from the database. |