Jump to content
X2Community Forums

External Search through URL


Recommended Posts

Hi Success,

 

As of now it's not possible to use a link that redirects directly to the record within the application. However if they just need other details about the record, they can use the API. If they are a user and have their API key (if they don't only an admin user can give it to them by going to Users > *Select User* > Update User and copy their API Key), they can go to a link like this:

http://www.domain.com/index.php/api2/Contacts/by:phone=1234567890.json

This searches the contacts module for a record with the "phone" field value "1234567890" and returns a JSON string of the contact info. I'll make sure to note that as a suggestion for a feature release! Let me know if this helps you! 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...