⚪Planos de velocidades
https://host/webservice/v1/radgrupos
🟢Listar
{
"qtype" : "radgrupos.id",//campo de filtro
"query" : "1",//valor para consultar
"oper" : ">=",//operador da consulta
"page" : "1",//página a ser mostrada
"rp" : "20",//quantidade de registros por página
"sortname" : "radgrupos.id",//campo para ordenar a consulta
"sortorder" : "desc"//ordenação (asc= crescente | desc=decrescente)
}curl --location --request GET 'https://host/webservice/v1/radgrupos' \
--header 'ixcsoft: listar' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzY3OmExNmMwZDVkZGM3ZjFiODViMzJmYzIyOThlMDM5MjgyNzg3NTkwMGQwNGNmMTNiMzY1Y2M2ZWMxMmViMTU3MzQ=' \
--data '{
"qtype" : "radgrupos.id",
"query" : "1",
"oper" : ">=",
"page" : "1",
"rp" : "20",
"sortname" : "radgrupos.id",
"sortorder" : "desc"
}'🟠Inserir
{
"id_produto":"",
"grupo":"",
"alteracao_velocidade":"S",//S ou N
"ativo_normal":"S",//S ou N
"prioridade":"1",//1 a 8
"franquia_mensal":"",
"tipo_franquia":"U",//"M"ou "U" ou "P"
"sici_tecnologia":"J"//(J,O,B,M,H,N,D,S,L,I,G,F,E,C,K,A)
}{
"nome_perfil_router": "",
"usa_active": "S",
"nome_perfil_router_huawei": "",
"usa_perfil_huawei": "N",
"olt_hw_download": "",
"olt_hw_upload": "",
"gera_param_accel": "N",
"perfil_juniper_ipv6": "",
"address_list_ipv6": "",
"id_rad_dns": "0",
"cisco_ativo": "N",
"cisco_police_out": "",
"cisco_police_in": "",
"ativa_parametro_v6_juniper": "N",
"perfil_fiberhome": "",
"usa_perfil_huawei_dinamico": "S",
"id_plano_atraso": "0",
"red_prioridade": "1",
"red_garantia_upload": "",
"red_garantia_download": "",
"tur_prioridade": "1",
"tur_garantia_upload": "",
"tur_garantia_download": "",
"reduzir_dias_atraso": "0",
"cisco_static_qos": "N",
"cisco_dinamic_qos": "N",
"id_plano_reduzir": "0",
"id_plano_turbinar": "0",
"usa_perfil_nokia": "S",
"usa_perfil_nokia_dinamico": "N",
"nome_perfil_router_nokia": "",
"usar_perfil_nokia_e": "S",
"type_band_control": "l3",
"ingress_juniper_policy_l2": "",
"egress_juniper_policy_l2": "",
"pacote_integracao": "",
"service_type": "",
"tipo_integracao_neutra": "",
"plano_velocidade_neutro": "",
"operador_neutro": "0",
"grupo": "TESTE_PLANO_INTERNET",
"id_produto": "513",
"cor_mapa": "#000000",
"download": "800M",
"upload": "800M",
"tipo": "I",
"valor_produto": "650.000000000",
"id_pool": "0",
"sici_tecnologia": "H",
"upload_busrt": "",
"upload_busrt_th": "",
"franquia_mensal": "0",
"upload_busrt_time": "",
"download_busrt": "",
"download_busrt_th": "",
"download_busrt_time": "",
"red_upload": "",
"red_ativo": "N",
"tur_ativo": "N",
"tur_upload": "",
"red_upload_busrt": "",
"tur_upload_busrt": "",
"red_upload_busrt_th": "",
"tur_upload_busrt_th": "",
"red_upload_busrt_time": "",
"tur_upload_busrt_time": "",
"red_download": "",
"tur_download": "",
"red_download_busrt": "",
"tur_download_busrt": "",
"red_download_busrt_th": "",
"tur_download_busrt_th": "",
"red_download_busrt_time": "",
"tur_download_busrt_time": "",
"alteracao_velocidade": "P",
"ativo_normal": "N",
"horas_normal": "",
"horas_reduzido": "",
"horas_turbinado": "",
"tipo_franquia": "U",
"id_plano_franquia": "0",
"prioridade": "1",
"garantia_upload": "",
"garantia_download": "",
"qos_ativo": "S",
"address_list": "",
"egress_juniper_policy_ipv6": "",
"ingress_juniper_policy_ipv6": "",
"egress_juniper_policy_ipv4": "",
"ingress_juniper_policy_ipv4": "",
"juniper_static_policy": "N",
"egress_cisco_policy_ipv6": "",
"ingress_cisco_policy_ipv6": "",
"ultima_atualizacao": "0000-00-00 00:00:00",
"dici_download": "",
"dici_tipo_conexao_mapa": "F"
}curl --location 'https://host/webservice/v1/radgrupos' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzY3OmExNmMwZDVkZGM3ZjFiODViMzJmYzIyOThlMDM5MjgyNzg3NTkwMGQwNGNmMTNiMzY1Y2M2ZWMxMmViMTU3MzQ=' \
--data '{
"nome_perfil_router": "",
"usa_active": "S",
"nome_perfil_router_huawei": "",
"usa_perfil_huawei": "N",
"olt_hw_download": "",
"olt_hw_upload": "",
"gera_param_accel": "N",
"perfil_juniper_ipv6": "",
"address_list_ipv6": "",
"id_rad_dns": "0",
"cisco_ativo": "N",
"cisco_police_out": "",
"cisco_police_in": "",
"ativa_parametro_v6_juniper": "N",
"perfil_fiberhome": "",
"usa_perfil_huawei_dinamico": "S",
"id_plano_atraso": "0",
"red_prioridade": "1",
"red_garantia_upload": "",
"red_garantia_download": "",
"tur_prioridade": "1",
"tur_garantia_upload": "",
"tur_garantia_download": "",
"reduzir_dias_atraso": "0",
"cisco_static_qos": "N",
"cisco_dinamic_qos": "N",
"id_plano_reduzir": "0",
"id_plano_turbinar": "0",
"usa_perfil_nokia": "S",
"usa_perfil_nokia_dinamico": "N",
"nome_perfil_router_nokia": "",
"usar_perfil_nokia_e": "S",
"type_band_control": "l3",
"ingress_juniper_policy_l2": "",
"egress_juniper_policy_l2": "",
"pacote_integracao": "",
"service_type": "",
"tipo_integracao_neutra": "",
"plano_velocidade_neutro": "",
"operador_neutro": "0",
"grupo": "TESTE_PLANO_INTERNET",
"id_produto": "513",
"cor_mapa": "#000000",
"download": "800M",
"upload": "800M",
"tipo": "I",
"valor_produto": "650.000000000",
"id_pool": "0",
"sici_tecnologia": "H",
"upload_busrt": "",
"upload_busrt_th": "",
"franquia_mensal": "0",
"upload_busrt_time": "",
"download_busrt": "",
"download_busrt_th": "",
"download_busrt_time": "",
"red_upload": "",
"red_ativo": "N",
"tur_ativo": "N",
"tur_upload": "",
"red_upload_busrt": "",
"tur_upload_busrt": "",
"red_upload_busrt_th": "",
"tur_upload_busrt_th": "",
"red_upload_busrt_time": "",
"tur_upload_busrt_time": "",
"red_download": "",
"tur_download": "",
"red_download_busrt": "",
"tur_download_busrt": "",
"red_download_busrt_th": "",
"tur_download_busrt_th": "",
"red_download_busrt_time": "",
"tur_download_busrt_time": "",
"alteracao_velocidade": "P",
"ativo_normal": "N",
"horas_normal": "",
"horas_reduzido": "",
"horas_turbinado": "",
"tipo_franquia": "U",
"id_plano_franquia": "0",
"prioridade": "1",
"garantia_upload": "",
"garantia_download": "",
"qos_ativo": "S",
"address_list": "",
"egress_juniper_policy_ipv6": "",
"ingress_juniper_policy_ipv6": "",
"egress_juniper_policy_ipv4": "",
"ingress_juniper_policy_ipv4": "",
"juniper_static_policy": "N",
"egress_cisco_policy_ipv6": "",
"ingress_cisco_policy_ipv6": "",
"ultima_atualizacao": "0000-00-00 00:00:00",
"dici_download": "",
"dici_tipo_conexao_mapa": "F"
}'🔵Editar
Deve ser informado o id, a ser editado, na URL: https://host/webservice/v1/radgrupos/5
Todos os campos devem ser inseridos para realizar uma alteração cadastral.
{
"nome_perfil_router": "",
"usa_active": "S",
"nome_perfil_router_huawei": "",
"usa_perfil_huawei": "N",
"olt_hw_download": "",
"olt_hw_upload": "",
"gera_param_accel": "N",
"perfil_juniper_ipv6": "",
"address_list_ipv6": "",
"id_rad_dns": "0",
"cisco_ativo": "N",
"cisco_police_out": "",
"cisco_police_in": "",
"ativa_parametro_v6_juniper": "N",
"perfil_fiberhome": "",
"usa_perfil_huawei_dinamico": "S",
"id_plano_atraso": "0",
"red_prioridade": "1",
"red_garantia_upload": "",
"red_garantia_download": "",
"tur_prioridade": "1",
"tur_garantia_upload": "",
"tur_garantia_download": "",
"reduzir_dias_atraso": "0",
"cisco_static_qos": "N",
"cisco_dinamic_qos": "N",
"id_plano_reduzir": "0",
"id_plano_turbinar": "0",
"usa_perfil_nokia": "S",
"usa_perfil_nokia_dinamico": "N",
"nome_perfil_router_nokia": "",
"usar_perfil_nokia_e": "S",
"type_band_control": "l3",
"ingress_juniper_policy_l2": "",
"egress_juniper_policy_l2": "",
"pacote_integracao": "",
"service_type": "",
"tipo_integracao_neutra": "",
"plano_velocidade_neutro": "",
"operador_neutro": "0",
"grupo": "TESTE_PLANO_INTERNET",
"id_produto": "513",
"cor_mapa": "#000000",
"download": "800M",
"upload": "800M",
"tipo": "I",
"valor_produto": "650.000000000",
"id_pool": "0",
"sici_tecnologia": "H",
"upload_busrt": "",
"upload_busrt_th": "",
"franquia_mensal": "0",
"upload_busrt_time": "",
"download_busrt": "",
"download_busrt_th": "",
"download_busrt_time": "",
"red_upload": "",
"red_ativo": "N",
"tur_ativo": "N",
"tur_upload": "",
"red_upload_busrt": "",
"tur_upload_busrt": "",
"red_upload_busrt_th": "",
"tur_upload_busrt_th": "",
"red_upload_busrt_time": "",
"tur_upload_busrt_time": "",
"red_download": "",
"tur_download": "",
"red_download_busrt": "",
"tur_download_busrt": "",
"red_download_busrt_th": "",
"tur_download_busrt_th": "",
"red_download_busrt_time": "",
"tur_download_busrt_time": "",
"alteracao_velocidade": "P",
"ativo_normal": "N",
"horas_normal": "",
"horas_reduzido": "",
"horas_turbinado": "",
"tipo_franquia": "U",
"id_plano_franquia": "0",
"prioridade": "1",
"garantia_upload": "",
"garantia_download": "",
"qos_ativo": "S",
"address_list": "",
"egress_juniper_policy_ipv6": "",
"ingress_juniper_policy_ipv6": "",
"egress_juniper_policy_ipv4": "",
"ingress_juniper_policy_ipv4": "",
"juniper_static_policy": "N",
"egress_cisco_policy_ipv6": "",
"ingress_cisco_policy_ipv6": "",
"ultima_atualizacao": "0000-00-00 00:00:00",
"dici_download": "",
"dici_tipo_conexao_mapa": "F"
}curl --location --request PUT 'https://host/webservice/v1/radgrupos/5' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzY3OmExNmMwZDVkZGM3ZjFiODViMzJmYzIyOThlMDM5MjgyNzg3NTkwMGQwNGNmMTNiMzY1Y2M2ZWMxMmViMTU3MzQ=' \
--data '{
"nome_perfil_router": "",
"usa_active": "S",
"nome_perfil_router_huawei": "",
"usa_perfil_huawei": "N",
"olt_hw_download": "",
"olt_hw_upload": "",
"gera_param_accel": "N",
"perfil_juniper_ipv6": "",
"address_list_ipv6": "",
"id_rad_dns": "0",
"cisco_ativo": "N",
"cisco_police_out": "",
"cisco_police_in": "",
"ativa_parametro_v6_juniper": "N",
"perfil_fiberhome": "",
"usa_perfil_huawei_dinamico": "S",
"id_plano_atraso": "0",
"red_prioridade": "1",
"red_garantia_upload": "",
"red_garantia_download": "",
"tur_prioridade": "1",
"tur_garantia_upload": "",
"tur_garantia_download": "",
"reduzir_dias_atraso": "0",
"cisco_static_qos": "N",
"cisco_dinamic_qos": "N",
"id_plano_reduzir": "0",
"id_plano_turbinar": "0",
"usa_perfil_nokia": "S",
"usa_perfil_nokia_dinamico": "N",
"nome_perfil_router_nokia": "",
"usar_perfil_nokia_e": "S",
"type_band_control": "l3",
"ingress_juniper_policy_l2": "",
"egress_juniper_policy_l2": "",
"pacote_integracao": "",
"service_type": "",
"tipo_integracao_neutra": "",
"plano_velocidade_neutro": "",
"operador_neutro": "0",
"grupo": "TESTE_PLANO_INTERNET",
"id_produto": "513",
"cor_mapa": "#000000",
"download": "800M",
"upload": "800M",
"tipo": "I",
"valor_produto": "650.000000000",
"id_pool": "0",
"sici_tecnologia": "H",
"upload_busrt": "",
"upload_busrt_th": "",
"franquia_mensal": "0",
"upload_busrt_time": "",
"download_busrt": "",
"download_busrt_th": "",
"download_busrt_time": "",
"red_upload": "",
"red_ativo": "N",
"tur_ativo": "N",
"tur_upload": "",
"red_upload_busrt": "",
"tur_upload_busrt": "",
"red_upload_busrt_th": "",
"tur_upload_busrt_th": "",
"red_upload_busrt_time": "",
"tur_upload_busrt_time": "",
"red_download": "",
"tur_download": "",
"red_download_busrt": "",
"tur_download_busrt": "",
"red_download_busrt_th": "",
"tur_download_busrt_th": "",
"red_download_busrt_time": "",
"tur_download_busrt_time": "",
"alteracao_velocidade": "P",
"ativo_normal": "N",
"horas_normal": "",
"horas_reduzido": "",
"horas_turbinado": "",
"tipo_franquia": "U",
"id_plano_franquia": "0",
"prioridade": "1",
"garantia_upload": "",
"garantia_download": "",
"qos_ativo": "S",
"address_list": "",
"egress_juniper_policy_ipv6": "",
"ingress_juniper_policy_ipv6": "",
"egress_juniper_policy_ipv4": "",
"ingress_juniper_policy_ipv4": "",
"juniper_static_policy": "N",
"egress_cisco_policy_ipv6": "",
"ingress_cisco_policy_ipv6": "",
"ultima_atualizacao": "0000-00-00 00:00:00",
"dici_download": "",
"dici_tipo_conexao_mapa": "F"
}'🔴Deletar
Deve ser informado o id, a ser excluído, na URL: https://host/webservice/v1/radgrupos/5
curl --location --request DELETE 'https://host/webservice/v1/radgrupos/5' \
--header 'Authorization: Basic MzY3OmExNmMwZDVkZGM3ZjFiODViMzJmYzIyOThlMDM5MjgyNzg3NTkwMGQwNGNmMTNiMzY1Y2M2ZWMxMmViMTU3MzQ=' \
--data ''Last updated