GET api/authnew/{usuario}/{clave}

Obtiene a un usuario mediante el codigo y la clave.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
usuario

Nombre o código del usuario.

string

Required

clave

Clave del usuario.

string

Required

Body Parameters

None.

Response Information

Resource Description

Retorna un objeto tipo usuario.

TBL_USUARIO
NameDescriptionTypeAdditional information
UsuarioID

integer

None.

GatewayID

integer

None.

HotelID

integer

None.

Estatus

boolean

None.

NombreCompleto

string

None.

Codigo

string

None.

Clave

string

None.

Descuento

boolean

None.

Imprime

boolean

None.

ImprimeTicket

boolean

None.

Liquida

boolean

None.

Cancela

boolean

None.

Coupon

boolean

None.

Credito

boolean

None.

Dabus

boolean

None.

Supervisor

integer

None.

DuplicarReservas

boolean

None.

EmpresaMultiple

boolean

None.

Codio_Nav

string

None.

EsquemaPrecio_ID

integer

None.

PerfilUsuario_ID

integer

None.

GrupoUsuario_ID

integer

None.

HotelDetalleID

integer

None.

Empresa_Default_ID

integer

None.

TBL_GATEWAY

TBL_GATEWAY

None.

TBL_HOTEL

TBL_HOTEL

None.

TBL_LIQUIDACION

Collection of TBL_LIQUIDACION

None.

TBL_LOG_TRANSACCION

Collection of TBL_LOG_TRANSACCION

None.

TBL_PERFIL_USUARIOS

TBL_PERFIL_USUARIOS

None.

TBL_RECIBO

Collection of TBL_RECIBO

None.

TBL_RECIBO_ANULACION

Collection of TBL_RECIBO_ANULACION

None.

TBL_RECIBO_CANCELACION

Collection of TBL_RECIBO_CANCELACION

None.

TBL_TICKET

Collection of TBL_TICKET

None.

TBL_TRANSACCION

Collection of TBL_TRANSACCION

None.

TBL_USUARIO_DISPOSITIVO

Collection of TBL_USUARIO_DISPOSITIVO

None.

TBL_USUARIO_EMPRESA

Collection of TBL_USUARIO_EMPRESA

None.

TBL_USUARIO_PORSENTAJE

Collection of TBL_USUARIO_PORSENTAJE

None.

TBL_GRUPO_USUARIO

TBL_GRUPO_USUARIO

None.

TBL_RESERVA

Collection of TBL_RESERVA

None.

TBL_USUARIO_GATEWAY

Collection of TBL_USUARIO_GATEWAY

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 for property 'TBL_GATEWAY' with type 'ReservasUtil.Modelo.TBL_GATEWAY'. Path 'TBL_GATEWAY.TBL_FONDOBLOQUEADO[0]'.

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 for property 'TBL_GATEWAY' with type 'ReservasUtil.Modelo.TBL_GATEWAY'. Path 'TBL_GATEWAY.TBL_FONDOBLOQUEADO[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[ReservasUtil.Modelo.TBL_FONDOBLOQUEADO, ReservasUtil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[ReservasUtil.Modelo.TBL_FONDOBLOQUEADO, ReservasUtil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/javascript

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/javascript'. Exception message: Self referencing loop detected for property 'TBL_GATEWAY' with type 'ReservasUtil.Modelo.TBL_GATEWAY'. Path 'TBL_GATEWAY.TBL_FONDOBLOQUEADO[0]'.

application/javascript

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/javascript'. Exception message: Self referencing loop detected for property 'TBL_GATEWAY' with type 'ReservasUtil.Modelo.TBL_GATEWAY'. Path 'TBL_GATEWAY.TBL_FONDOBLOQUEADO[0]'.

application/json-p

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json-p'. Exception message: Self referencing loop detected for property 'TBL_GATEWAY' with type 'ReservasUtil.Modelo.TBL_GATEWAY'. Path 'TBL_GATEWAY.TBL_FONDOBLOQUEADO[0]'.