Custom API V8

Hello,

I’m trying to custom SuiteCrm Api V8, i create :

  • CustomController in API/V8/Controller ==> initialize in ==> API/V8/Config/services/controllers.php
  • CustomService in API/V8/Service ==> initialize in ==> API/V8/Config/services/services.php
  • CustomParam in API/V8/Param ==> initialize in ==> API/V8/Config/services/params.php

Declare the routes in API/V8/Config/routes.php

Exactly like the basic ones, did I forget something?

I also tried to just change the name of the controller or service with exactly the same code but it’s not working,

Thanks

Hello,
I tried the example at the bottom of this page


https://docs.suitecrm.com/developer/api/version-8/customization/

and to reach that endpoint the right path is:


[SuiteCRM-path]/Api/V8/custom/hello

Hope this helps.

2 Likes