GET api/venpro/Empresas

Retorna las empresas desde el sistema VENPRO.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.LeerEmpresasResult
NameDescriptionTypeAdditional information
Status

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Status

None.

Empresas

Collection of AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Empresa

None.

Response Formats

application/json, text/json

Sample:
{
  "statusField": {
    "isOKField": true,
    "mensajeField": "sample string 2",
    "tokenSoporteField": "sample string 3",
    "PropertyChanged": null
  },
  "empresasField": [
    {
      "empresaIDField": 1,
      "nombreField": "sample string 2",
      "PropertyChanged": null
    },
    {
      "empresaIDField": 1,
      "nombreField": "sample string 2",
      "PropertyChanged": null
    }
  ],
  "PropertyChanged": null
}

application/xml, text/xml

Sample:
<LeerEmpresasResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AguasNuevas_SitioWeb_ServicioWeb.WSComercial">
  <PropertyChanged xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
  <empresasField>
    <Empresa>
      <PropertyChanged xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
      <empresaIDField>1</empresaIDField>
      <nombreField>sample string 2</nombreField>
    </Empresa>
    <Empresa>
      <PropertyChanged xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
      <empresaIDField>1</empresaIDField>
      <nombreField>sample string 2</nombreField>
    </Empresa>
  </empresasField>
  <statusField>
    <PropertyChanged xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
    <isOKField>true</isOKField>
    <mensajeField>sample string 2</mensajeField>
    <tokenSoporteField>sample string 3</tokenSoporteField>
  </statusField>
</LeerEmpresasResult>