Pool concentrador
https://host/webservice/v1/radgrupos_pools
🟢Listar
{
"qtype": "radgrupos_pools.id",
"query": "1",
"oper": ">=",
"page": "1",
"rp": "1000",
"sortname": "radgrupos_pools.id",
"sortorder": "desc"
}curl --location --request GET 'https://host/webservice/v1/radgrupos_pools' \
--header 'ixcsoft: listar' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzoxYWVmZWRiNTkzZjczZjYxNDM3NTI4ZWQ3OGViMjQ3ODFjYTAxNjczZDkxYWM2ODg2ZWM1MDZlNjlhMTQxY2Qz' \
--header 'Cookie: Path=/; IXC_Session=gich1dfv174l43c6v0gku0igec' \
--data '{
"qtype": "radgrupos_pools.id",
"query": "1",
"oper": ">=",
"page": "1",
"rp": "1000",
"sortname": "radgrupos_pools.id",
"sortorder": "desc"
}'🟠Inserir
//Campo obrigatório muda conforme o Tipo do pool (tipo):
//Tipo Radius
{
"tipo": "RAD",//Tipo do pool
"id_rad_pool": "",//ID Pool
"descricao": ""//Descrição
}
//Tipo Concentrador IPV4
{
"tipo": "CON",//Tipo do pool
"descricao": "",//Descrição
"nome": ""//Nome Pool IPV4
}
//Tipo Concentrador IPV6
{
"tipo": "CONV6",//Tipo do pool
"descricao": "",//Descrição
"nomepoolipv6": ""//Nome Pool IPV6
}
//Tipo Concentrador Dual Stack
{
"tipo": "DUALSTACK",//Tipo do pool
"id_rad_pool": "",//ID Pool
"descricao": "",//Descrição
"nome": "",//Nome Pool IPV4
"nomepoolipv6": ""//Nome Pool IPV6
} {
"tipo": "",
"id_rad_pool": "",
"descricao": "",
"nome": "",
"nomepoolipv6": ""
}curl --location 'https://host/webservice/v1/radgrupos_pools' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzoxYWVmZWRiNTkzZjczZjYxNDM3NTI4ZWQ3OGViMjQ3ODFjYTAxNjczZDkxYWM2ODg2ZWM1MDZlNjlhMTQxY2Qz' \
--header 'Cookie: Path=/; IXC_Session=gich1dfv174l43c6v0gku0igec' \
--data ' {
"tipo": "",
"id_rad_pool": "",
"descricao": "",
"nome": "",
"nomepoolipv6": ""
}'🔵Editar
Deve ser informado o id, a ser editado, na URL: https://host/webservice/v1/radgrupos_pools/5
Todos os campos devem ser inseridos para realizar uma alteração cadastral.
{
"tipo": "",
"id_rad_pool": "",
"descricao": "",
"nome": "",
"nomepoolipv6": ""
}curl --location --request PUT 'https://host/webservice/v1/radgrupos_pools/5' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzoxYWVmZWRiNTkzZjczZjYxNDM3NTI4ZWQ3OGViMjQ3ODFjYTAxNjczZDkxYWM2ODg2ZWM1MDZlNjlhMTQxY2Qz' \
--header 'Cookie: Path=/; IXC_Session=gich1dfv174l43c6v0gku0igec' \
--data ' {
"tipo": "",
"id_rad_pool": "",
"descricao": "",
"nome": "",
"nomepoolipv6": ""
}'🔴Deletar
Deve ser informado o id, a ser excluído, na URL: https://host/webservice/v1/radgrupos_pools/5
curl --location --request DELETE 'https://host/webservice/v1/radgrupos_pools/5' \
--header 'Authorization: Basic MzoxYWVmZWRiNTkzZjczZjYxNDM3NTI4ZWQ3OGViMjQ3ODFjYTAxNjczZDkxYWM2ODg2ZWM1MDZlNjlhMTQxY2Qz' \
--header 'Cookie: Path=/; IXC_Session=gich1dfv174l43c6v0gku0igec' \
--data ''Last updated