Skip to content

Instantly share code, notes, and snippets.

@geraldotech
Last active December 26, 2024 20:40
Show Gist options
  • Save geraldotech/e08f421f5a8f77dacdb70807f598096c to your computer and use it in GitHub Desktop.
Save geraldotech/e08f421f5a8f77dacdb70807f598096c to your computer and use it in GitHub Desktop.
consulta_grupo_list_programas.js
// GET - $grupo e lista programas
$JsonParam = '[
{
"name":"consulta_grupos_programas",
"type":"input",
"dataType":"temptable",
"value":{
"name":"consulta_grupos_programas",
"fields":[
{"name":"sistema","label":"sistema","type":"character"},
{"name":"cod_grp_usuar","label":"cod_grp_usuar","type":"character"},
{"name":"acao","label":"acao","type":"character"}
],
"records":[{
"sistema": $sistema,
"cod_grp_usuar": $grupos,
"acao":"GET",
}]
}
},
{"dataType":"character","name":"retorno","value":"","type":"output"}
]';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment