POST api/EmpresasUsuario/ListarEmpresasDoUsuario

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of EmpresaViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Nome

string

None.

Selecionado

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Nome": "sample string 2",
    "Selecionado": true
  },
  {
    "Id": 1,
    "Nome": "sample string 2",
    "Selecionado": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfEmpresaViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LinxMicrovix.AdminCenter.WebApp.ViewModels">
  <EmpresaViewModel>
    <Id>1</Id>
    <Nome>sample string 2</Nome>
    <Selecionado>true</Selecionado>
  </EmpresaViewModel>
  <EmpresaViewModel>
    <Id>1</Id>
    <Nome>sample string 2</Nome>
    <Selecionado>true</Selecionado>
  </EmpresaViewModel>
</ArrayOfEmpresaViewModel>