Assunto
Assunto
GET
https://endereco/ServiceLayer/APISL.svc/rest/Assunto/{idAssuntoSuperior}
Consulta lista de assuntos
Exemplos:
Sem filtro superior:
curl -X GET "http://{endereco}/ServiceLayer/APISL.svc/rest/Assunto/" -H "accept: application/json" -H "Authentication: {token}"
Com filtro superior:
curl -X GET "http://{endereco}/ServiceLayer/APISL.svc/rest/Assunto/29002" -H "accept: application/json" -H "Authentication: {token}"
Path Parameters
Name
Type
Description
idAssuntoSuperior
string
Id do assunto superior. Serão listados os subassuntos deste assunto.
Headers
Name
Type
Description
Authentication
string
Authentication token
{
"dado": [
{
"key": 1,
"value": "Assunto A"
},
{
"key": 3384,
"value": "Assunto B"
}
],
"erro": null,
"quantidade": 2
}
Last updated
Was this helpful?