[Skip to main content](#vessel-content)

#   Retrieve serials based on user login info

##

- **[Rajaft](/forum/user/36280-rajaft "View Rajaft's Profile")**
- [![Rajaft's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36280-rajaft "View Rajaft's Profile") Topic Author
- [ Offline](/forum/user/36280-rajaft)

Less More

- Posts: 15
- Thank you received: 0
-
-

11 years 9 months ago [\#191782](#191782) by [Rajaft](/forum/user/36280-rajaft "View Rajaft's Profile")  *[Retrieve serials based on user login info](/forum/17-serial-how-to/875169-retrieve-serials-based-on-user-login-info#191782 "I want to build a HikaShop website and HikaSerial. I understand that one can consume the serial via a webservice from an outside application using a url that has the serial number as one of the parameters.  My question is the following: Is it possible to retrieve the serials assigned to a user by providing the user login information from an outside application using a similar webservice url?  I am new to web development. I appreciate your help on this.")* was created by *[Rajaft](/forum/user/36280-rajaft "View Rajaft's Profile")*

I want to build a HikaShop website and HikaSerial.
I understand that one can consume the serial via a webservice from an outside application using a url that has the serial number as one of the parameters.

My question is the following:
Is it possible to retrieve the serials assigned to a user by providing the user login information from an outside application using a similar webservice url?

I am new to web development. I appreciate your help on this.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODc1MTY5LXJldHJpZXZlLXNlcmlhbHMtYmFzZWQtb24tdXNlci1sb2dpbi1pbmZvP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 8 months ago [\#191792](#191792) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Retrieve serials based on user login info](/forum/17-serial-how-to/875169-retrieve-serials-based-on-user-login-info#191792 "I want to build a HikaShop website and HikaSerial. I understand that one can consume the serial via a webservice from an outside application using a url that has the serial number as one of the parameters.  My question is the following: Is it possible to retrieve the serials assigned to a user by providing the user login information from an outside application using a similar webservice url?  I am new to web development. I appreciate your help on this.")*

Hi,

HikaSerial does not propose such feature in his web-services but the information can be easily retrieve in the database.
Using the login you can get the joomla user id, then you can retrieve the HikaShop user id (HikaShop can have guest account so the id is different than the joomla one ; but you have the field "user_cms_id" to link them).
Thanks to the HikaShop user id, you can look in the HikaSerial serial table and list the serial assign to the user.

The best to extend the HikaSerial webservices will be to use a custom plugin ; otherwise it require some modifications in the core files so you wouldn't be able to update HikaSerial after that (or you will loose your modifications).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [Rajaft](/forum/user/36280-rajaft "View Rajaft's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODc1MTY5LXJldHJpZXZlLXNlcmlhbHMtYmFzZWQtb24tdXNlci1sb2dpbi1pbmZvP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.046 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
