How to get only selective information in profile API

We are using https://<sugar_instance> * ramaraj.karuppusamy to get the current user profile. But it returns complete info of the user which includes preferences, modules, acl, etc

Is there a way we can get only selective information(We should be able to specify the fields to be returned)?

  • You need to create a custom endpoint to filter data accordingly.

    André Lopes
    Lampada Global
    Skype: andre.lampada
  • Thank you André Lopes for the response. I would like to ask couple of queries regarding custom endpoint.

    1. Do I need to create endpoint for each client(base, mobile, portal)?
    2. Do I need to ask all my customers to install the custom end point module in their sugar instance?

    Thanks,

    Ramaraj K

  • Hi Ramaraj Karuppusamy 

    1. Basicaly you need to create custom endpoint for client base. On authenticating through other clients the SugarCRM will evaluate if there is such endpoint for that client, if missing it will try to load the base endpoint. Obviouly if the endpoint for other clients need to have custom implementation so you should create them as well.
    2. Definitely

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada