{"id":22713,"date":"2025-04-17T13:38:30","date_gmt":"2025-04-17T13:38:30","guid":{"rendered":"https:\/\/clockify.me\/help\/?p=22713"},"modified":"2026-04-22T12:37:34","modified_gmt":"2026-04-22T12:37:34","slug":"how-to-add-expenses-for-limited-members-via-api","status":"publish","type":"post","link":"https:\/\/clockify.me\/help\/de\/troubleshooting\/how-to-add-expenses-for-limited-members-via-api","title":{"rendered":"Ausgaben f\u00fcr eingeschr\u00e4nkte Mitglieder \u00fcber API hinzuf\u00fcgen"},"content":{"rendered":"<p>In diesem Artikel erf\u00e4hrst du, wie du Ausgaben f\u00fcr eingeschr\u00e4nkte Mitglieder durch die Verwendung von Clockify-API hinzuf\u00fcgen kannst.<\/p>\n\n\n\n<div class=\"wp-block-custom-highlight-box custom-box color-green\"><div class=\"box-header\"><svg width=\"20\" height=\"20\" viewbox=\"0 0 24 24\" fill=\"none\"><mask id=\"mask-green\" style=\"mask-type:alpha\" maskunits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"24\" height=\"24\"><rect width=\"24\" height=\"24\" fill=\"#D9D9D9\"><\/rect><\/mask><g mask=\"url(#mask-green)\"><path d=\"M5 21.0001C4.45 21.0001 3.97917 20.8043 3.5875 20.4126C3.19583 20.0209 3 19.5501 3 19.0001V5.0001C3 4.4501 3.19583 3.97926 3.5875 3.5876C3.97917 3.19593 4.45 3.0001 5 3.0001H13.925L11.925 5.0001H5V19.0001H19V12.0501L21 10.0501V19.0001C21 19.5501 20.8042 20.0209 20.4125 20.4126C20.0208 20.8043 19.55 21.0001 19 21.0001H5ZM9 15.0001V10.7501L18.175 1.5751C18.375 1.3751 18.6 1.2251 18.85 1.1251C19.1 1.0251 19.35 0.975098 19.6 0.975098C19.8667 0.975098 20.1208 1.0251 20.3625 1.1251C20.6042 1.2251 20.825 1.3751 21.025 1.5751L22.425 3.0001C22.6083 3.2001 22.75 3.42093 22.85 3.6626C22.95 3.90426 23 4.1501 23 4.4001C23 4.6501 22.9542 4.89593 22.8625 5.1376C22.7708 5.37926 22.625 5.6001 22.425 5.8001L13.25 15.0001H9ZM11 13.0001H12.4L18.2 7.2001L17.5 6.5001L16.775 5.8001L11 11.5751V13.0001Z\" fill=\"#4CAF50\"><\/path><\/g><\/svg><span class=\"box-label\">Hinweis<\/span><\/div><div class=\"box-content\">\n<p>Im Free-Plan sind f\u00fcr den kostenlosen Arbeitsbereich nur 30 API-Anfragen pro Stunde zul\u00e4ssig.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Ausgaben f\u00fcr eingeschr\u00e4nkte Mitglieder hinzuf\u00fcgen<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Benutzer-IDs der eingeschr\u00e4nkten Mitglieder erhalten:<\/strong>:<br>\n<ul class=\"wp-block-list\">\n<li class=\"translation-block\">Da der <code> GET-\/Arbeitsbereiche-\/{Arbeitsbereichs-ID}-\/Benutzer-<\/code>-Endpunkt keine Informationen \u00fcber eingeschr\u00e4nkte Mitglieder bietet, musst du <strong>Benutzer-IDs<\/strong> vom Benutzergruppe-Endpunkt extrahieren<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Kategorie-ID f\u00fcr Ausgaben erhalten:<\/strong>:<br>\n<ul class=\"wp-block-list\">\n<li>Verwende den folgenden Endpunkt, um die Kategorie-ID zu erhalten:\n<ul class=\"wp-block-list\">\n<li><code>GET\/Arbeitsbereiche\/{Arbeitsbereichs-ID}\/Ausgaben\/Kategorien<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Stelle sicher, dass du die richtige Kategorie f\u00fcr die Ausgabe ausw\u00e4hlst<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Ausgabe erstellen:<\/strong>:<br>\n<ul class=\"wp-block-list\">\n<li>Sobald du die Kategorie-ID hast, kannst du eine Ausgabe mit dem folgenden Endpunkt erstellen:\n<ul class=\"wp-block-list\">\n<li><code>POST\/Arbeitsbereiche\/{Arbeitsbereichs-ID}\/Ausgaben<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li class=\"translation-block\">Sende die Anfrage im <strong>FormData-Format<\/strong>, nicht im rohen JSON-Format<\/li>\n\n\n\n<li>F\u00fcge in den Body Benutzer-ID des eingeschr\u00e4nkten Mitgliedes, Kategorie-ID und andere Ausgabeninformationen hinzu<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"translation-block\">Wenn die Anfrage erfolgreich ist, erh\u00e4ltst du den <code>Statuscode 201 CREATED<\/code>.\nDie Ausgabe wird f\u00fcr das eingeschr\u00e4nkte Mitglied als erwartet erstellt.<\/p>","protected":false},"excerpt":{"rendered":"This article will guide you through the process of adding expenses for Limited m&#8230;","protected":false},"author":25,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_helpful_status":1,"_searchwp_excluded":"","footnotes":""},"categories":[75],"tags":[],"class_list":["post-22713","post","type-post","status-publish","format-standard","hentry","category-api-response"],"acf":[],"featured_image_src":null,"author_info":{"display_name":"tamara radijevac","author_link":"https:\/\/clockify.me\/help\/de\/author\/tamara-radijevac"},"_links":{"self":[{"href":"https:\/\/clockify.me\/help\/de\/wp-json\/wp\/v2\/posts\/22713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clockify.me\/help\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clockify.me\/help\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clockify.me\/help\/de\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/clockify.me\/help\/de\/wp-json\/wp\/v2\/comments?post=22713"}],"version-history":[{"count":6,"href":"https:\/\/clockify.me\/help\/de\/wp-json\/wp\/v2\/posts\/22713\/revisions"}],"predecessor-version":[{"id":30978,"href":"https:\/\/clockify.me\/help\/de\/wp-json\/wp\/v2\/posts\/22713\/revisions\/30978"}],"wp:attachment":[{"href":"https:\/\/clockify.me\/help\/de\/wp-json\/wp\/v2\/media?parent=22713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clockify.me\/help\/de\/wp-json\/wp\/v2\/categories?post=22713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clockify.me\/help\/de\/wp-json\/wp\/v2\/tags?post=22713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}