Inhaltsverzeichnis
1.3 CRUD operacije
Create, Read, Update, Delete preko REST API.
Read (GET)
GET /api/v1/dsn/demo/tables/Customers?$top=5 // Odgovor { "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": "Nova stranka", "Country": "Slovenia" }
Update (PUT)
PUT /api/v1/dsn/demo/tables/Customers Content-Type: application/json { "primaryKey": { "Id": 42 }, "fields": { "Name": "Posodobljeno" } }
Delete (DELETE)
DELETE /api/v1/dsn/demo/tables/Customers?Id=42
Zuletzt geändert: dne 29.01.2026 ob 23:31