GET api/v1/avicultura/lotes?aviario={aviario}
Buscar os lotes fechados do aviário
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
aviario | integer |
Required |
Requires Authorization!
Roles: avicultura-base
Body Parameters
None.
Response Information
Resource Description
Lista de lotes fechados
ResultOfAviarioComLotesFechadosDtoName | Description | Type | Additional information |
---|---|---|---|
Data | AviarioComLotesFechadosDto |
None. |
|
Errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "Aviario": 1, "LotesFechados": [ { "DataAbate": "sample string 1", "DataAlojamento": "sample string 2", "NumeroLote": 3, "LoteAberto": true }, { "DataAbate": "sample string 1", "DataAlojamento": "sample string 2", "NumeroLote": 3, "LoteAberto": true } ] }, "Errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ResultOfAviarioComLotesFechadosDtoa6Cm1Jti xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lar.Entities.Ep"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Lar.SicopPlus.Entities.Sicop.Dto.Chickens"> <d2p1:Aviario>1</d2p1:Aviario> <d2p1:LotesFechados> <d2p1:LoteAvesDto> <d2p1:DataAbate>sample string 1</d2p1:DataAbate> <d2p1:DataAlojamento>sample string 2</d2p1:DataAlojamento> <d2p1:LoteAberto>true</d2p1:LoteAberto> <d2p1:NumeroLote>3</d2p1:NumeroLote> </d2p1:LoteAvesDto> <d2p1:LoteAvesDto> <d2p1:DataAbate>sample string 1</d2p1:DataAbate> <d2p1:DataAlojamento>sample string 2</d2p1:DataAlojamento> <d2p1:LoteAberto>true</d2p1:LoteAberto> <d2p1:NumeroLote>3</d2p1:NumeroLote> </d2p1:LoteAvesDto> </d2p1:LotesFechados> </Data> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Errors> </ResultOfAviarioComLotesFechadosDtoa6Cm1Jti>