GET api/Estoque/ListaONU

Lista de ONU

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of TiposONU
NameDescriptionTypeAdditional information
id

Código da ONU

integer

None.

nome

Nome/descrição da ONU

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "nome": "sample string 2"
  },
  {
    "id": 1,
    "nome": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEstoqueModel.TiposONU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api_pgp">
  <EstoqueModel.TiposONU>
    <id>1</id>
    <nome>sample string 2</nome>
  </EstoqueModel.TiposONU>
  <EstoqueModel.TiposONU>
    <id>1</id>
    <nome>sample string 2</nome>
  </EstoqueModel.TiposONU>
</ArrayOfEstoqueModel.TiposONU>