POST api/loginSeg

Request Information

URI Parameters

None.

Body Parameters

LoginRQT
NameDescriptionTypeAdditional information
User

string

None.

Password

string

None.

Ip

string

None.

Hostname

string

None.

App

string

None.

TipEnvio

string

None.

Request Formats

application/json, text/json

Sample:
{
  "User": "sample string 1",
  "Password": "sample string 2",
  "Ip": "sample string 3",
  "Hostname": "sample string 4",
  "App": "sample string 5",
  "TipEnvio": "sample string 6"
}

text/xml

Sample:
<LoginRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <App>sample string 5</App>
  <Hostname>sample string 4</Hostname>
  <Ip>sample string 3</Ip>
  <Password>sample string 2</Password>
  <TipEnvio>sample string 6</TipEnvio>
  <User>sample string 1</User>
</LoginRQT>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LoginRQT'.

Response Information

Resource Description

LoginRPS
NameDescriptionTypeAdditional information
IDMsj

integer

None.

Msj

string

None.

UsuaCodigo

integer

None.

UsuaNombres

string

None.

EntiCodigo

string

None.

EntiNombre

string

None.

UsuaActClave

boolean

None.

UsuaAceptUso

boolean

None.

DiaCaducacion

integer

None.

RolEmpUsuaCodigoDefault

integer

None.

Token

string

None.

UsuaInicial

string

None.

TiempoEspera

integer

None.

listRol

Collection of RolRPS

None.

Menu

Collection of MenuPaginaRPS

None.

Dashboards

DashboardsUsuarioRPS

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'ContransAPI.Models.MenuPaginaRPS'. Path 'Menu[0].ArrayPag'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'ContransAPI.Models.MenuPaginaRPS'. Path 'Menu[0].ArrayPag'.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: El gráfico de objetos del tipo 'System.Collections.Generic.List`1[[ContransAPI.Models.MenuPaginaRPS, ContransAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contiene ciclos y no se puede serializar si el seguimiento de referencias está deshabilitado.