Vorgang „Entität löschen“ - web_services - 23 - 23.1

Spectrum-Webdienste-Handbuch

Product type
Software
Portfolio
Integrate
Product family
Spectrum™ software
Product
Spectrum™ software > Web Services
Version
23.1
ft:locale
de-DE
Product name
Spectrum Technology Platform
ft:title
Spectrum-Webdienste-Handbuch
First publish date
2007
ft:lastEdition
2023-10-25
ft:lastPublication
2023-10-25T07:20:03.279000

Der Vorgang „Entität löschen“ entfernt eine vorhandene Entität.

HTTP DEL URL-Format

Die Anforderung wird wie folgt angegeben. Der Spectrum-Server unterstützt sowohl HTTP als auch HTTPS.

DEL http://server_name:port/rest/ContextGraph/operations/modelName/entities/entityType/entityLabel

URL-Pfadelemente

modelName
Der Name des Context Graph-Modells.
entityType
Ein im Modell definierter Entitätstyp.
entityLabel
Die Beschriftung für eine vorhandene Entität.

Antwort

Der Vorgang gibt bei Erfolg den Statuscode „200 OK“ zurück. Der Vorgang gibt den Statuscode „500 (Fehler)“ zurück, wenn er fehlschlägt.

Entität mit JSON-Antwort löschen

Die folgende Anforderung löscht den Entitätstypen „Place“ im Modell „911“ mit der Beschriftung „FlightSafety International“.

DEL http://localhost:8080/rest/ContextGraph/operations/911/entities/Place/FlightSafety%20International

Antwort:

{     "success":"200 OK" }