GET api/OrdemServico/Agendamento/ServicosPendentes?idcidade={idcidade}&naoefetuados={naoefetuados}
Lista de serviços a serem executados
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idcidade |
Código da cidade |
integer |
Required |
naoefetuados |
1-Traz os serviços (N.E.) não executados por algum motivo |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ServicosPendentesName | Description | Type | Additional information |
---|---|---|---|
idservico |
Código do serviço |
integer |
None. |
servico |
Nome do serviço |
string |
None. |
quantidade |
Quantidade deste serviço para execução |
integer |
None. |
inadimplente |
1 indica que é por inadimplência, 0 é normal |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "idservico": 1, "servico": "sample string 2", "quantidade": 3, "inadimplente": 4 }, { "idservico": 1, "servico": "sample string 2", "quantidade": 3, "inadimplente": 4 } ]
application/xml, text/xml
Sample:
<ArrayOfAgendamentoModel.ServicosPendentes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api_pgp"> <AgendamentoModel.ServicosPendentes> <idservico>1</idservico> <inadimplente>4</inadimplente> <quantidade>3</quantidade> <servico>sample string 2</servico> </AgendamentoModel.ServicosPendentes> <AgendamentoModel.ServicosPendentes> <idservico>1</idservico> <inadimplente>4</inadimplente> <quantidade>3</quantidade> <servico>sample string 2</servico> </AgendamentoModel.ServicosPendentes> </ArrayOfAgendamentoModel.ServicosPendentes>