Attributes

Attribute

type

values

default

mandate

comment

name

string

 

 

true

 

description

string

 

 

false

 

attributes

coll

 

 

 

 


/ radiusProfile / create

Method:/radiusProfile /create
Parameters:
{
"attrs":
{
"name":"ForSales",
"description":"",
"attributes":
{
{"id":id1},
{"id":id2}
}
}
}
Response:
{
"error":0
}

/ radiusProfile / get

Method:/radiusProfile /get
Parameters:
{
"match":
[
["name", "=", "ForSales"]
}
"return":["*",{"members": [{elements:["id"]}]}]
}
Response:
{
"error":0,
"result":
{
"name":"ForSales",
"description":"",
"attributes":
{
{"id":id1},
{"id":id2}
}
}
}

/ radiusProfile / search

Method:/radiusProfile /search
Parameters:
{
"match":
[
["name", "=", "ForSales"]
}
"return":["*"]
}
Response:
{
"error":0,
"result":
{
"total":1,
"rows":
[
{
"name":"ForSales",
"description":""
}
]
}

/ radiusProfile / delete

Method:/radiusProfile /delete
Parameters:
{
"id":id
}
Response:
{
"error":0
}

/ radiusProfile / set

Method:/radiusProfile /set
Parameters:
{
"id":id,
"attrs":
{
"description":"description,
"attributes":
{
{"id":id3},
{"id":id4}
}
}
}
Response:
{
"error":0
}

  • No labels