GET API/OSWebController/ListarOSWeb?osId={osId}&situaOS={situaOS}&docCodCntrOuNf={docCodCntrOuNf}
Retorna uma lista das OSs Web.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
osId |
Id da OS |
decimal number |
None. |
situaOS |
Situação (Rota ListarSituacoes) |
string |
None. |
docCodCntrOuNf |
Documento, Código do Container ou Nº da Nota Fiscal. |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of WilsonSons.Terminais.WSNegocio.Modelo.VwOsWebName | Description | Type | Additional information |
---|---|---|---|
Id | decimal number |
None. |
|
DataSolicitacao | date |
None. |
|
Tipo | string |
None. |
|
DspId | decimal number |
None. |
|
Usuario | string |
None. |
|
Documento | string |
None. |
|
Cntr | string |
None. |
|
CdAgrupador | string |
None. |
|
MotivoId | decimal number |
None. |
|
DataSugerida | date |
None. |
|
Obs | string |
None. |
|
OsId | decimal number |
None. |
|
Status | string |
None. |
|
Nf | string |
None. |
|
ApelidoDespachante | string |
None. |
|
Cliente | string |
None. |
|
DtIniServico | date |
None. |
|
DtFimServico | date |
None. |
|
StatusOsweb | string |
None. |
|
TipoOsweb | string |
None. |
|
SituacaoOs | string |
None. |
|
TipoServico | string |
None. |
|
DscTipoServico | string |
None. |
|
Motivo | string |
None. |
|
Instancia | WilsonSons.Arquitetura.Framework.GenericObjectHandler.Modelo.BaseDTO |
None. |
|
Estado | System.Data.DataRowState |
None. |
|
Filtrado | boolean |
None. |
|
Original | WilsonSons.Arquitetura.Framework.GenericObjectHandler.Modelo.BaseDTO |
None. |
|
FoiAlterado | boolean |
None. |
|
Lista | Collection of Object |
None. |
|
EdicaoIniciada | boolean |
None. |
|
AdicaoPendente | boolean |
None. |
|
ErroValidacao | string |
None. |
|
ErroValidacaoItem | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1.0, "DataSolicitacao": "2025-06-06T20:23:31.5786524-03:00", "Tipo": "sample string 2", "DspId": 3.0, "Usuario": "sample string 4", "Documento": "sample string 5", "Cntr": "sample string 6", "CdAgrupador": "sample string 7", "MotivoId": 8.0, "DataSugerida": "2025-06-06T20:23:31.5943076-03:00", "Obs": "sample string 9", "OsId": 10.0, "Status": "sample string 11", "Nf": "sample string 12", "ApelidoDespachante": "sample string 13", "Cliente": "sample string 14", "DtIniServico": "2025-06-06T20:23:31.5943076-03:00", "DtFimServico": "2025-06-06T20:23:31.5943076-03:00", "StatusOsweb": "sample string 15", "TipoOsweb": "sample string 16", "SituacaoOs": "sample string 17", "TipoServico": "sample string 18", "DscTipoServico": "sample string 19", "Motivo": "sample string 20" }, { "Id": 1.0, "DataSolicitacao": "2025-06-06T20:23:31.5786524-03:00", "Tipo": "sample string 2", "DspId": 3.0, "Usuario": "sample string 4", "Documento": "sample string 5", "Cntr": "sample string 6", "CdAgrupador": "sample string 7", "MotivoId": 8.0, "DataSugerida": "2025-06-06T20:23:31.5943076-03:00", "Obs": "sample string 9", "OsId": 10.0, "Status": "sample string 11", "Nf": "sample string 12", "ApelidoDespachante": "sample string 13", "Cliente": "sample string 14", "DtIniServico": "2025-06-06T20:23:31.5943076-03:00", "DtFimServico": "2025-06-06T20:23:31.5943076-03:00", "StatusOsweb": "sample string 15", "TipoOsweb": "sample string 16", "SituacaoOs": "sample string 17", "TipoServico": "sample string 18", "DscTipoServico": "sample string 19", "Motivo": "sample string 20" } ]
application/xml, text/xml
Sample:
<ArrayOfVwOsWeb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Modelo"> <VwOsWeb> <Id xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</Id> <DataSolicitacao xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:dateTime" xmlns="">2025-06-06T20:23:31.5786524-03:00</DataSolicitacao> <Tipo xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Tipo> <DspId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">3</DspId> <Usuario xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 4</Usuario> <Documento xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 5</Documento> <Cntr xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 6</Cntr> <CdAgrupador xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 7</CdAgrupador> <MotivoId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">8</MotivoId> <DataSugerida xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:dateTime" xmlns="">2025-06-06T20:23:31.5943076-03:00</DataSugerida> <Obs xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 9</Obs> <OsId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">10</OsId> <Status xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 11</Status> <Nf xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 12</Nf> <ApelidoDespachante xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 13</ApelidoDespachante> <Cliente xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 14</Cliente> <DtIniServico xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:dateTime" xmlns="">2025-06-06T20:23:31.5943076-03:00</DtIniServico> <DtFimServico xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:dateTime" xmlns="">2025-06-06T20:23:31.5943076-03:00</DtFimServico> <StatusOsweb xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 15</StatusOsweb> <TipoOsweb xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 16</TipoOsweb> <SituacaoOs xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 17</SituacaoOs> <TipoServico xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 18</TipoServico> <DscTipoServico xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 19</DscTipoServico> <Motivo xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 20</Motivo> </VwOsWeb> <VwOsWeb> <Id xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">1</Id> <DataSolicitacao xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:dateTime" xmlns="">2025-06-06T20:23:31.5786524-03:00</DataSolicitacao> <Tipo xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Tipo> <DspId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">3</DspId> <Usuario xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 4</Usuario> <Documento xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 5</Documento> <Cntr xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 6</Cntr> <CdAgrupador xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 7</CdAgrupador> <MotivoId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">8</MotivoId> <DataSugerida xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:dateTime" xmlns="">2025-06-06T20:23:31.5943076-03:00</DataSugerida> <Obs xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 9</Obs> <OsId xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:decimal" xmlns="">10</OsId> <Status xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 11</Status> <Nf xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 12</Nf> <ApelidoDespachante xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 13</ApelidoDespachante> <Cliente xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 14</Cliente> <DtIniServico xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:dateTime" xmlns="">2025-06-06T20:23:31.5943076-03:00</DtIniServico> <DtFimServico xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:dateTime" xmlns="">2025-06-06T20:23:31.5943076-03:00</DtFimServico> <StatusOsweb xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 15</StatusOsweb> <TipoOsweb xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 16</TipoOsweb> <SituacaoOs xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 17</SituacaoOs> <TipoServico xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 18</TipoServico> <DscTipoServico xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 19</DscTipoServico> <Motivo xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 20</Motivo> </VwOsWeb> </ArrayOfVwOsWeb>