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

Name
Type
Description

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

Name
Type
Description

Authorization

string

Bearer <access_token>

{
    "status": 200,
    "message": "page: 1, page_limit: 3, total shops: 3",
    "data": [
        
        ]
}

Tạo mới Wifi Profile

POST {{ base_url }}/wifi_profiles

Cho phép tạo mới wifi profile

Query Parameters

Name
Type
Description

merchant_id_app

string

id merchant

Headers

Name
Type
Description

Authorization

string

Bearer <access_token>

Content-Type

string

application/json

Request Body

Name
Type
Description

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

Name
Type
Description

merchant_id_app

string

id địa điểm

profile_id

string

id profile

Headers

Name
Type
Description

Authorization

string

Bearer <access_token>

Content-Type

string

application/json

Request Body

Name
Type
Description

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?