From 5d30b2413233f9cd7fb7b693ac96af533dc1806d Mon Sep 17 00:00:00 2001 From: Sven Riwoldt Date: Thu, 14 Nov 2024 13:24:04 +0000 Subject: [PATCH] Update Api_Notizen.md --- Api_Notizen.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Api_Notizen.md b/Api_Notizen.md index 81d385f3..9f879440 100644 --- a/Api_Notizen.md +++ b/Api_Notizen.md @@ -2,7 +2,7 @@ curl -H 'Content-Type: application/json' -H 'X-RPC-Auth-Username: ' -H 'X-RPC-Auth-Password: ' --data '{"jsonrpc":"2.0","method":"cmdb.object.create","params":{"type":"C__OBJTYPE__SERVER","title":"SRServer","apikey":""},"id":1}' --header "Content-Type: application/json" https://cmdb.cp.telekom.net/src/jsonrpc.php -# Abrufen von Software (ist noch ein leeres Ergenis, da wohl noch Angaben fehlen) +# Abrufen von Software (ist noch ein leeres Ergebnis, da wohl noch Angaben fehlen) url -H 'Content-Type: application/json' -H 'X-RPC-Auth-Username: ' -H 'X-RPC-Auth-Password: ' --data '{"jsonrpc":"2.0","method":"cmdb.object.read","params":{"type":"C__CATG__APPLICATION","apikey":""},"id":1}' --header "Content-Type: application/json" https://cmdb.cp.telekom.net/src/jsonrpc.php - Es wäre ratsam einen schreibenden User noch anzulegen, damit nicht mit dem admin gearbeitet werden muss