GET api/empresas?legnume={legnume}&tipo={tipo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
legnume

integer

Required

tipo

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of personalVM
NameDescriptionTypeAdditional information
LegNume

integer

None.

LegApNo

string

None.

LegDomi

string

None.

LegCOPO

string

None.

LegProv

string

None.

LegLoca

string

None.

LegTelefono

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "LegNume": 1,
    "LegApNo": "sample string 2",
    "LegDomi": "sample string 3",
    "LegCOPO": "sample string 4",
    "LegProv": "sample string 5",
    "LegLoca": "sample string 6",
    "LegTelefono": "sample string 7"
  },
  {
    "LegNume": 1,
    "LegApNo": "sample string 2",
    "LegDomi": "sample string 3",
    "LegCOPO": "sample string 4",
    "LegProv": "sample string 5",
    "LegLoca": "sample string 6",
    "LegTelefono": "sample string 7"
  }
]

text/html

Sample:
[{"LegNume":1,"LegApNo":"sample string 2","LegDomi":"sample string 3","LegCOPO":"sample string 4","LegProv":"sample string 5","LegLoca":"sample string 6","LegTelefono":"sample string 7"},{"LegNume":1,"LegApNo":"sample string 2","LegDomi":"sample string 3","LegCOPO":"sample string 4","LegProv":"sample string 5","LegLoca":"sample string 6","LegTelefono":"sample string 7"}]

application/xml, text/xml

Sample:
<ArrayOfpersonalVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Controllers.Ecordero.Documentos">
  <personalVM>
    <LegApNo>sample string 2</LegApNo>
    <LegCOPO>sample string 4</LegCOPO>
    <LegDomi>sample string 3</LegDomi>
    <LegLoca>sample string 6</LegLoca>
    <LegNume>1</LegNume>
    <LegProv>sample string 5</LegProv>
    <LegTelefono>sample string 7</LegTelefono>
  </personalVM>
  <personalVM>
    <LegApNo>sample string 2</LegApNo>
    <LegCOPO>sample string 4</LegCOPO>
    <LegDomi>sample string 3</LegDomi>
    <LegLoca>sample string 6</LegLoca>
    <LegNume>1</LegNume>
    <LegProv>sample string 5</LegProv>
    <LegTelefono>sample string 7</LegTelefono>
  </personalVM>
</ArrayOfpersonalVM>