POST api/venpro/Validar
Permite validar las credenciales de acceso del proveedor en el sistema VENPRO.
Request Information
URI Parameters
None.
Body Parameters
AguasNuevas_SitioWeb_ServicioWeb.Models.ValidarProveedorVENPRORequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Rut | integer |
None. |
|
| Clave | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Rut": 1,
"Clave": "sample string 2"
}
application/xml, text/xml
Sample:
<ValidarProveedorVENPRORequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AguasNuevas_SitioWeb_ServicioWeb.Models"> <Clave>sample string 2</Clave> <Rut>1</Rut> </ValidarProveedorVENPRORequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AguasNuevas_SitioWeb_ServicioWeb.WSComercial.ValidarProveedordos| Name | Description | Type | Additional 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:
<ValidarProveedordos 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>
</ValidarProveedordos>