Using API to Access Remaining Time/Data for Voucher-Based Hotspot

Using API to Access Remaining Time/Data for Voucher-Based Hotspot

Using API to Access Remaining Time/Data for Voucher-Based Hotspot
Using API to Access Remaining Time/Data for Voucher-Based Hotspot
2024-09-27 07:59:34 - last edited 2024-10-16 01:56:45
Tags: #API #voucher
Hardware Version:
Firmware Version: 5.14.26.1

Hi there,

 

 

I'm working with an Omada controller-based hotspot that uses vouchers.
My primary goal is to create a custom page that displays the remaining time or data for the current user.

I'm looking for API documentation or implementations that can provide this information.
I'm hoping to use the API to access details such as:

  •         Voucher status: Active, expired, used
  •         Remaining time or data: For active vouchers
  •         Voucher usage history: Timestamps, data consumed, etc.


Unfortunately, I'm currently only able to connect to the Omada controller through the API and cannot access voucher information directly throught API.
 

I'm wondering if there are any known API endpoints or methods that could provide information about the remaining time or data for a specific voucher.
 

If anyone has experience with accessing voucher information through the Omada controller's API, I would appreciate any guidance or recommendations.

Any insights or suggestions would be greatly appreciated! smiley

Thanks,

 

  0      
  0      
#1
Options
1 Accepted Solution
Re:Using API to Access Remaining Time/Data for Voucher-Based Hotspot-Solution
2024-10-14 02:36:35 - last edited 2024-10-16 01:56:45

Hi  @tlt 

 

Here is someone who has successfully did this. You may contact him for some guidance.

https://community.tp-link.com/en/business/forum/topic/709716

Recommended Solution
  0  
  0  
#3
Options
3 Reply
Re:Using API to Access Remaining Time/Data for Voucher-Based Hotspot
2024-10-01 01:20:21

 Hi @tlt 

 

Thank you so much for taking the time to post the issue on the TP-Link community!

Omada controller doesn't support the function yet. So I believe we can't do this via API.

  0  
  0  
#2
Options
Re:Using API to Access Remaining Time/Data for Voucher-Based Hotspot-Solution
2024-10-14 02:36:35 - last edited 2024-10-16 01:56:45

Hi  @tlt 

 

Here is someone who has successfully did this. You may contact him for some guidance.

https://community.tp-link.com/en/business/forum/topic/709716

Recommended Solution
  0  
  0  
#3
Options
Re:Using API to Access Remaining Time/Data for Voucher-Based Hotspot
2024-10-14 07:17:25
Thank you. I appreciate it
  0  
  0  
#4
Options