Estrutura
Estrutura
GET https://endereco/ServiceLayer/APISL.svc/rest/Estrutura/{idEstruturaSuperior}
Lista a estrutura organizacional
Exemplos:
Sem filtro superior:
curl -X GET "http://{endereco}/ServiceLayer/APISL.svc/rest/Estrutura/" -H "accept: application/json" -H "Authentication: {token}"
Com filtro superior:
curl -X GET "http://{endereco}/ServiceLayer/APISL.svc/rest/Estrutura/1" -H "accept: application/json" -H "Authentication: {token}"
Path Parameters
Name
Type
Description
idEstruturaSuperior
string
id da estrutura superior a ser considerada. Serão listadas as estruturas inferiores a esta.
Headers
Name
Type
Description
Authentication
string
Authentication token
{
"dado": [
{
"key": 1,
"value": "Ouvidoria Sistema Sebrae"
},
{
"key": 3384,
"value": "Ouvidoria"
}
],
"erro": null,
"quantidade": 2
}Last updated
Was this helpful?