Can anyone explain in detail API Hooks sugarCRM 7.*?

Hi Everyone,

I am new in sugarcrm7 I want to know the API Hooks in detail.


I have checked in sugardev guide but i can't understand properly.

Can anyone explain with proper example API Hooks.

I have refered this link : http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.6/Logic_Hooks/API_Hooks/

Any guidance will be highly appreciable.

Thanks.

  • Can you provide your Use Case / User Story

  • Hi Jeff Bickart,

    I don't have Use Case but I want to know the exact use of API Hooks in sugarcrm7.*

    If you give me the detail description then it will be will be highly appreciable.

    Thanks.

  • Hi Bhavesh,

    These logic hooks allow you to run custom PHP code at particular times related to an API call. For example, you can create a log entry prior to every API call being executed (before_api_call) in order to debug where you may be having an issue. Does this answer your question on these logic hooks?

    -Alan