GET api/empresas?nroempresa={nroempresa}&legnume={legnume}&iddoc={iddoc}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
nroempresa

integer

Required

legnume

integer

Required

iddoc

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of empresaVM
NameDescriptionTypeAdditional information
id

integer

None.

empresa1

string

None.

domicilio

string

None.

localidad

string

None.

provincia

string

None.

codpos

string

None.

telefono

string

None.

aclaracion

string

None.

dni

string

None.

LegNume

integer

None.

LegApNo

string

None.

LegDomi

string

None.

LegCOPO

string

None.

LegProv

string

None.

LegLoca

string

None.

LegTelefono

string

None.

nota

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "empresa1": "sample string 2",
    "domicilio": "sample string 3",
    "localidad": "sample string 4",
    "provincia": "sample string 5",
    "codpos": "sample string 6",
    "telefono": "sample string 7",
    "aclaracion": "sample string 8",
    "dni": "sample string 9",
    "LegNume": 10,
    "LegApNo": "sample string 11",
    "LegDomi": "sample string 12",
    "LegCOPO": "sample string 13",
    "LegProv": "sample string 14",
    "LegLoca": "sample string 15",
    "LegTelefono": "sample string 16",
    "nota": "sample string 17"
  },
  {
    "id": 1,
    "empresa1": "sample string 2",
    "domicilio": "sample string 3",
    "localidad": "sample string 4",
    "provincia": "sample string 5",
    "codpos": "sample string 6",
    "telefono": "sample string 7",
    "aclaracion": "sample string 8",
    "dni": "sample string 9",
    "LegNume": 10,
    "LegApNo": "sample string 11",
    "LegDomi": "sample string 12",
    "LegCOPO": "sample string 13",
    "LegProv": "sample string 14",
    "LegLoca": "sample string 15",
    "LegTelefono": "sample string 16",
    "nota": "sample string 17"
  }
]

text/html

Sample:
[{"id":1,"empresa1":"sample string 2","domicilio":"sample string 3","localidad":"sample string 4","provincia":"sample string 5","codpos":"sample string 6","telefono":"sample string 7","aclaracion":"sample string 8","dni":"sample string 9","LegNume":10,"LegApNo":"sample string 11","LegDomi":"sample string 12","LegCOPO":"sample string 13","LegProv":"sample string 14","LegLoca":"sample string 15","LegTelefono":"sample string 16","nota":"sample string 17"},{"id":1,"empresa1":"sample string 2","domicilio":"sample string 3","localidad":"sample string 4","provincia":"sample string 5","codpos":"sample string 6","telefono":"sample string 7","aclaracion":"sample string 8","dni":"sample string 9","LegNume":10,"LegApNo":"sample string 11","LegDomi":"sample string 12","LegCOPO":"sample string 13","LegProv":"sample string 14","LegLoca":"sample string 15","LegTelefono":"sample string 16","nota":"sample string 17"}]

application/xml, text/xml

Sample:
<ArrayOfempresaVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Controllers.Ecordero.Documentos">
  <empresaVM>
    <LegApNo>sample string 11</LegApNo>
    <LegCOPO>sample string 13</LegCOPO>
    <LegDomi>sample string 12</LegDomi>
    <LegLoca>sample string 15</LegLoca>
    <LegNume>10</LegNume>
    <LegProv>sample string 14</LegProv>
    <LegTelefono>sample string 16</LegTelefono>
    <aclaracion>sample string 8</aclaracion>
    <codpos>sample string 6</codpos>
    <dni>sample string 9</dni>
    <domicilio>sample string 3</domicilio>
    <empresa1>sample string 2</empresa1>
    <id>1</id>
    <localidad>sample string 4</localidad>
    <nota>sample string 17</nota>
    <provincia>sample string 5</provincia>
    <telefono>sample string 7</telefono>
  </empresaVM>
  <empresaVM>
    <LegApNo>sample string 11</LegApNo>
    <LegCOPO>sample string 13</LegCOPO>
    <LegDomi>sample string 12</LegDomi>
    <LegLoca>sample string 15</LegLoca>
    <LegNume>10</LegNume>
    <LegProv>sample string 14</LegProv>
    <LegTelefono>sample string 16</LegTelefono>
    <aclaracion>sample string 8</aclaracion>
    <codpos>sample string 6</codpos>
    <dni>sample string 9</dni>
    <domicilio>sample string 3</domicilio>
    <empresa1>sample string 2</empresa1>
    <id>1</id>
    <localidad>sample string 4</localidad>
    <nota>sample string 17</nota>
    <provincia>sample string 5</provincia>
    <telefono>sample string 7</telefono>
  </empresaVM>
</ArrayOfempresaVM>