From d304aebb3122e396eb498603a27960ae1cdf9ee7 Mon Sep 17 00:00:00 2001 From: Sven Riwoldt Date: Thu, 14 Nov 2024 13:25:02 +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 5e7e788f..70fd5989 100644 --- a/Api_Notizen.md +++ b/Api_Notizen.md @@ -1,6 +1,6 @@ # Anlegen eines Servers -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 +`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 Ergebnis, da wohl noch Angaben fehlen) `curl -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`