POST api/ffcc/login

Request Information

URI Parameters

None.

Body Parameters

AguasNuevas_SitioWeb_ServicioWeb.WSffcc.LoginRequest
NameDescriptionTypeAdditional information
Rut

string

None.

Password

string

None.

EmpresaId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "rutField": "sample string 1",
  "passwordField": "sample string 2",
  "empresaIdField": 3,
  "PropertyChanged": null
}

application/xml, text/xml

Sample:
<LoginRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AguasNuevas_SitioWeb_ServicioWeb.WSffcc">
  <PropertyChanged xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
  <empresaIdField>3</empresaIdField>
  <passwordField>sample string 2</passwordField>
  <rutField>sample string 1</rutField>
</LoginRequest>

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.WSffcc.LoginRequest'.

Response Information

Resource Description

AguasNuevas_SitioWeb_ServicioWeb.WSffcc.LoginResponse
NameDescriptionTypeAdditional information
Status

AguasNuevas_SitioWeb_ServicioWeb.WSffcc.Status

None.

AccessToken

string

None.

TieneAdjPendiente

boolean

None.

ProId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "statusField": {
    "isOKField": true,
    "codigoField": 2,
    "mensajeField": "sample string 3",
    "PropertyChanged": null
  },
  "accessTokenField": "sample string 1",
  "tieneAdjPendienteField": true,
  "proIdField": 3,
  "PropertyChanged": null
}

application/xml, text/xml

Sample:
<LoginResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AguasNuevas_SitioWeb_ServicioWeb.WSffcc">
  <PropertyChanged xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
  <accessTokenField>sample string 1</accessTokenField>
  <proIdField>3</proIdField>
  <statusField>
    <PropertyChanged xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
    <codigoField>2</codigoField>
    <isOKField>true</isOKField>
    <mensajeField>sample string 3</mensajeField>
  </statusField>
  <tieneAdjPendienteField>true</tieneAdjPendienteField>
</LoginResponse>