PUT api/venpro/DatosEmpresa

Permite modificar los datos de Empresa de los proveedores.

Request Information

URI Parameters

None.

Body Parameters

AguasNuevas_SitioWeb_ServicioWeb.Models.ModificarDatosEmpresaVENPRORequest
NameDescriptionTypeAdditional information
EmpresaID

integer

None.

Rut

string

None.

Nombre

string

None.

Telefono

string

None.

Email

string

None.

FormaPagoID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EmpresaID": 1,
  "Rut": "sample string 2",
  "Nombre": "sample string 3",
  "Telefono": "sample string 4",
  "Email": "sample string 5",
  "FormaPagoID": 6
}

application/xml, text/xml

Sample:
<ModificarDatosEmpresaVENPRORequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AguasNuevas_SitioWeb_ServicioWeb.Models">
  <Email>sample string 5</Email>
  <EmpresaID>1</EmpresaID>
  <FormaPagoID>6</FormaPagoID>
  <Nombre>sample string 3</Nombre>
  <Rut>sample string 2</Rut>
  <Telefono>sample string 4</Telefono>
</ModificarDatosEmpresaVENPRORequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'AguasNuevas_SitioWeb_ServicioWeb.Models.ModificarDatosEmpresaVENPRORequest'.

Response Information

Resource Description

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.ModificaDatosEmpresa
NameDescriptionTypeAdditional information
Status

AguasNuevas_SitioWeb_ServicioWeb.WSComercial.Status

None.

Response Formats

application/json, text/json

Sample:
{
  "statusField": {
    "isOKField": true,
    "mensajeField": "sample string 2",
    "tokenSoporteField": "sample string 3",
    "PropertyChanged": null
  },
  "PropertyChanged": null
}

application/xml, text/xml

Sample:
<ModificaDatosEmpresa 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" />
  <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>
</ModificaDatosEmpresa>