1.3 CRUD-Operationen

Create, Read, Update, Delete über die REST-API.

Read (GET)

GET /api/v1/dsn/demo/tables/Customers?$top=5
 
// Response
{
  "data": [
    { "Id": 1, "Name": "Mustermann GmbH" },
    { "Id": 2, "Name": "Example Corp" }
  ],
  "count": 2
}

Create (POST)

POST /api/v1/dsn/demo/tables/Customers
Content-Type: application/json
 
{
  "Name": "Neuer Kunde",
  "Country": "Germany"
}

Update (PUT)

PUT /api/v1/dsn/demo/tables/Customers
Content-Type: application/json
 
{
  "primaryKey": { "Id": 42 },
  "fields": { "Name": "Aktualisiert" }
}

Delete (DELETE)

DELETE /api/v1/dsn/demo/tables/Customers?Id=42
Zuletzt geändert: den 29.01.2026 um 15:12