GET api/colaborador/getSetores
Retorna a lista de setores para operadores/colaboradores
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of SetorDadosName | Description | Type | Additional information |
---|---|---|---|
id |
Código do setor |
integer |
None. |
setor |
Nome do setor |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "setor": "sample string 2" }, { "id": 1, "setor": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfSetorDados xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api_pgp"> <SetorDados> <id>1</id> <setor>sample string 2</setor> </SetorDados> <SetorDados> <id>1</id> <setor>sample string 2</setor> </SetorDados> </ArrayOfSetorDados>