POST api/logintoken

Request Information

URI Parameters

None.

Body Parameters

LoginTokenRQT
NameDescriptionTypeAdditional information
Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1"
}

text/xml

Sample:
<LoginTokenRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models.Seguridad">
  <Token>sample string 1</Token>
</LoginTokenRQT>

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 'LoginTokenRQT'.

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.