WifiProfile API
API quản lý wifi profile
Lấy danh sách WifiProfile của merchant
GET {{base_url}}/wifi_profiles
Cho phép lấy danh sách wifi profile của merchant
Query Parameters
merchant_slug
string
tên merchant
page
string
trang hiện tại
page_limit
string
giới hạn số bản ghi trả về
Headers
Authorization
string
Bearer <access_token>
{
"status": 200,
"message": "page: 1, page_limit: 3, total shops: 3",
"data": [
]
}{
"status_code": "401",
"message": "access_token not found! Please contact Nextify at support@nextify.vn for help"
}{
"status": 404,
"message": "merchant_slug required!"
}Tạo mới Wifi Profile
POST {{ base_url }}/wifi_profiles
Cho phép tạo mới wifi profile
Query Parameters
merchant_id_app
string
id merchant
Headers
Authorization
string
Bearer <access_token>
Content-Type
string
application/json
Request Body
name
string
Tên profile
session_timeout
string
Thời gian truy cập(phút)
down_bw
string
Tốc độ download(MBps)
up_bw
string
Tốc độ upload(MBps)
pricing
string
Giá cước
profile_type
string
Hình thức profile - Default: mặc định - AddOn: tính phí
tags
array
Nhóm khách hàng
active
string
KÍch hoạt ( True hoặc False )
expire
string
Hạn truy cập ( tiếng )
Update Wifi Profile
PUT {{ base_url }}/wifi_profiles
Cho phép update wifi profile
Query Parameters
merchant_id_app
string
id địa điểm
profile_id
string
id profile
Headers
Authorization
string
Bearer <access_token>
Content-Type
string
application/json
Request Body
name
string
Tên profile
session_timeout
string
Thời gian truy cập(phút)
down_bw
string
Tốc độ download(MBps)
up_bw
string
Tốc độ upload(MBps)
pricing
string
Giá cước
profile_type
string
Hình thức profile
tags
array
Nhóm khách hàng
active
string
Kích hoạt (True hoặc False)
expire
string
Hạn truy cập (tiếng)
Last updated
Was this helpful?