diff --git a/application/Api/v1/PreorderApicontroller.php b/application/Api/v1/PreorderApicontroller.php index fbde63ebb..deae40682 100644 --- a/application/Api/v1/PreorderApicontroller.php +++ b/application/Api/v1/PreorderApicontroller.php @@ -49,7 +49,7 @@ class PreorderApicontroller extends mfBaseApicontroller { $this->addRoute("/preorder/customerInstallationFeedback", [$modules["Cif"], "getCifData"], "GET"); $this->addRoute("/preorder/customerInstallationFeedback", [$modules["Cif"], "userSetCif"], "POST"); - $this->addRoute("/preorder/:code/clientInstallationFinished", [$modules["Cif"], "providerSetCif"], "GET"); + $this->addRoute("/preorder/:code/clientInstallationFinished", [$modules["Cif"], "providerSetCif"], "POST"); $this->addRoute("/preorder/:code/serviceActivated", [$modules["Activation"], "setServiceActive"], "POST"); $this->addRoute("/preorder/:code", "getPreorder", "GET"); $this->addRoute("/preorder/:code", "cancelPreorder", "DELETE"); diff --git a/public/docs/preorder-api.yaml b/public/docs/preorder-api.yaml index ef8a69f7d..8b7d8c4f8 100644 --- a/public/docs/preorder-api.yaml +++ b/public/docs/preorder-api.yaml @@ -750,13 +750,13 @@ paths: description: Keine Berechtigung oder Storno Request bereits vorhanden '404': description: Bestellung nicht gefunden oder bereits storniert - /preorder/{id}/clientIntallationFinished: + /preorder/{id}/clientInstallationFinished: post: tags: - preorder summary: Bestellung auf Status 200 - Rohr im Gebäude setzen description: Setzt Status der Bestellung auf 200 - Rohr im Gebäude. Wird gesetzt wenn beim Kunden die Lehrrohrinstallation abgeschlossen ist. - operationId: setClientIntallationFinished + operationId: setClientInstallationFinished parameters: - name: id in: path