# API auf Shopware 4.0.5

**URL:** <https://forum.shopware.com/t/api-auf-shopware-4-0-5/22198>\
**Category:** Shopware 3.5\
**Tags:** programming\
**Created:** [2. September 2014 um 16:04 UTC](https://forum.shopware.com/t/api-auf-shopware-4-0-5/22198 "2014-09-02T16:04:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jauert](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@jauert](https://forum.shopware.com/u/jauert)\
**Post date:** [2. September 2014 um 16:04 UTC](https://forum.shopware.com/t/api-auf-shopware-4-0-5/22198/1 "2014-09-02T16:04:35Z")

</div>

Hallo Entwickler, ich wollte ein Plugin einbinden, welches die Shopware Api erweitert. Auf aktuellen Versionen läuft das Plugin ohne Probleme. Nun wollte ich es in eine Shopware 4.0.5 integrieren und die Api sagt mir: {„success“:false,„message“:„Resource not found“} Um zu prüfen ob der Controller arbeitet, habe ich dort ein exit(); eingebunden. Keine Reaktion. Der Controller wird in der Datenbank zwar registriert aber ich glaube der Path kann nicht aufgelöst werden: ` $this-\>subscribeEvent( 'Enlight\_Controller\_Dispatcher\_ControllerPath\_Api\_XyzArticles', 'onGetXyzArticlesApiController' );` Kann ich in der 4.0.5 etwa nicht auf das Api Event aufspringen?

---

<div class="post-metadata">

**Author:** ![jauert](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@jauert](https://forum.shopware.com/u/jauert)\
**Post date:** [3. September 2014 um 11:54 UTC](https://forum.shopware.com/t/api-auf-shopware-4-0-5/22198/2 "2014-09-03T11:54:01Z")

</div>

… in den alten Versionen muss so aufgerufen werden [domain.de/api/xyzController](http://domain.de/api/xyzController) Hingegen kann in neueren alles klein geschrieben werden [domain.de/api/xyzcontroller](http://domain.de/api/xyzcontroller) …
