GET api/colaborador/getColaboradores/{idsetor}
Retorna a lista de colaboradores ativos.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idsetor |
Código do setor dos colaboradores. Informe Zero para exibir todos |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ColaboradoresDadosName | Description | Type | Additional information |
---|---|---|---|
id |
Código do colaborador |
integer |
None. |
nome |
Nome do colaborador |
string |
None. |
idsetor |
Código do setor do colaborador |
integer |
None. |
setor |
Nome do setor do colaborador |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "nome": "sample string 2", "idsetor": 3, "setor": "sample string 4" }, { "id": 1, "nome": "sample string 2", "idsetor": 3, "setor": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfColaboradoresDados xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api_pgp"> <ColaboradoresDados> <id>1</id> <idsetor>3</idsetor> <nome>sample string 2</nome> <setor>sample string 4</setor> </ColaboradoresDados> <ColaboradoresDados> <id>1</id> <idsetor>3</idsetor> <nome>sample string 2</nome> <setor>sample string 4</setor> </ColaboradoresDados> </ArrayOfColaboradoresDados>