GET API/OSWebController/ListarContainersOuDocumentos/{tipo}/{ehCodigoContainer}/{documento}
Retorna uma lista de Documentos ou Containers de acordo com os filtros informados.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tipo |
Tipo selecionado a partir da rota ListarTipo, chave (RvLowValue). |
string |
Required |
ehCodigoContainer |
Se o checkbox Nº do Documento estiver marcado, passar fase, se Cód. Container estiver marcado, passar true. |
boolean |
Required |
documento |
Documento informado (Text) |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
WilsonSons.Terminais.WSNegocio.Modelo.DTOs.OSWeb+ContainerOuDocumentoName | Description | Type | Additional information |
---|---|---|---|
EhListarContainers | boolean |
None. |
|
EhListarDocumentos | boolean |
None. |
|
Mensagem | string |
None. |
|
Sucesso | boolean |
None. |
|
ListContainers | Collection of WilsonSons.Terminais.WSNegocio.Modelo.Procedure.B2bPkgOsWebPrcRetornaContainers+CurCntr |
None. |
|
ListDocumentos | Collection of WilsonSons.Terminais.WSNegocio.Modelo.Procedure.B2bPkgOsWebPrcRetornaDocumentos+CurDoc |
None. |
Response Formats
application/json, text/json
Sample:
{ "EhListarContainers": true, "EhListarDocumentos": true, "Mensagem": "sample string 3", "Sucesso": true, "ListContainers": [ { "HstmvId": {}, "CodCntr": {}, "TipoDoc": {} }, { "HstmvId": {}, "CodCntr": {}, "TipoDoc": {} } ], "ListDocumentos": [ { "HstmvId": {}, "Doc": {}, "TipoDoc": {} }, { "HstmvId": {}, "Doc": {}, "TipoDoc": {} } ] }
application/xml, text/xml
Sample:
<OSWeb.ContainerOuDocumento xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo.DTOs"> <EhListarContainers>true</EhListarContainers> <EhListarDocumentos>true</EhListarDocumentos> <ListContainers xmlns:d2p1="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo.Procedure"> <d2p1:B2bPkgOsWebPrcRetornaContainers.CurCntr> <HstmvId xmlns="" /> <CodCntr xmlns="" /> <TipoDoc xmlns="" /> </d2p1:B2bPkgOsWebPrcRetornaContainers.CurCntr> <d2p1:B2bPkgOsWebPrcRetornaContainers.CurCntr> <HstmvId xmlns="" /> <CodCntr xmlns="" /> <TipoDoc xmlns="" /> </d2p1:B2bPkgOsWebPrcRetornaContainers.CurCntr> </ListContainers> <ListDocumentos xmlns:d2p1="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo.Procedure"> <d2p1:B2bPkgOsWebPrcRetornaDocumentos.CurDoc> <HstmvId xmlns="" /> <Doc xmlns="" /> <TipoDoc xmlns="" /> </d2p1:B2bPkgOsWebPrcRetornaDocumentos.CurDoc> <d2p1:B2bPkgOsWebPrcRetornaDocumentos.CurDoc> <HstmvId xmlns="" /> <Doc xmlns="" /> <TipoDoc xmlns="" /> </d2p1:B2bPkgOsWebPrcRetornaDocumentos.CurDoc> </ListDocumentos> <Mensagem>sample string 3</Mensagem> <Sucesso>true</Sucesso> </OSWeb.ContainerOuDocumento>