# WisiApi.AdminListaApi

All URIs are relative to *https://api.bakia.co*

Method | HTTP request | Description
------------- | ------------- | -------------
[**checkinListPost**](AdminListaApi.md#checkinListPost) | **POST** /checkin_list | 
[**loginListaGet**](AdminListaApi.md#loginListaGet) | **GET** /login_lista | 
[**traerListasGet**](AdminListaApi.md#traerListasGet) | **GET** /traer_listas | 
[**traerRegistrosGet**](AdminListaApi.md#traerRegistrosGet) | **GET** /traer_registros | 


<a name="checkinListPost"></a>
# **checkinListPost**
> [Registro] checkinListPost(rid, opts)



Obtiene objeto &#x60;Registro&#x60;. Parametro requerido **access_token**  que retorna el registro de las lista del registro enviado **rid** Enviar 1 o 0 en **redimir** 

### Example
```javascript
var WisiApi = require('wisi_api');
var defaultClient = WisiApi.ApiClient.default;

// Configure API key authorization: access_token
var access_token = defaultClient.authentications['access_token'];
access_token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//access_token.apiKeyPrefix = 'Token';

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';

var apiInstance = new WisiApi.AdminListaApi();

var rid = 56; // Number | id del registro

var opts = { 
  'redimir': true // Boolean | Registrar o desregistrar de la lista
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.checkinListPost(rid, opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **rid** | **Number**| id del registro | 
 **redimir** | **Boolean**| Registrar o desregistrar de la lista | [optional] 

### Return type

[**[Registro]**](Registro.md)

### Authorization

[access_token](../README.md#access_token), [api_key](../README.md#api_key)

### HTTP request headers

 - **Content-Type**: multipart/form-data
 - **Accept**: application/json

<a name="loginListaGet"></a>
# **loginListaGet**
> ResultMiniUser loginListaGet(jformEmail, jformPassword)



Obtiene objeto &#x60;User&#x60;. Parametro requerido **jform[email]** y **jform[email]** que retorna el usuario con permiso para manejar listas      

### Example
```javascript
var WisiApi = require('wisi_api');
var defaultClient = WisiApi.ApiClient.default;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';

var apiInstance = new WisiApi.AdminListaApi();

var jformEmail = "jformEmail_example"; // String | email del user

var jformPassword = "jformPassword_example"; // String | password del user


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.loginListaGet(jformEmail, jformPassword, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **jformEmail** | **String**| email del user | 
 **jformPassword** | **String**| password del user | 

### Return type

[**ResultMiniUser**](ResultMiniUser.md)

### Authorization

[api_key](../README.md#api_key)

### HTTP request headers

 - **Content-Type**: multipart/form-data
 - **Accept**: application/json

<a name="traerListasGet"></a>
# **traerListasGet**
> [Lista1] traerListasGet()



Obtiene objetos &#x60;Lista&#x60;. Parametro requerido **access_token** que retorna las listas del sistema a Usuarios Autorizados 

### Example
```javascript
var WisiApi = require('wisi_api');
var defaultClient = WisiApi.ApiClient.default;

// Configure API key authorization: access_token
var access_token = defaultClient.authentications['access_token'];
access_token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//access_token.apiKeyPrefix = 'Token';

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';

var apiInstance = new WisiApi.AdminListaApi();

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.traerListasGet(callback);
```

### Parameters
This endpoint does not need any parameter.

### Return type

[**[Lista1]**](Lista1.md)

### Authorization

[access_token](../README.md#access_token), [api_key](../README.md#api_key)

### HTTP request headers

 - **Content-Type**: multipart/form-data
 - **Accept**: application/json

<a name="traerRegistrosGet"></a>
# **traerRegistrosGet**
> [Registro] traerRegistrosGet(opts)



Obtiene objetos &#x60;Registros&#x60;. Parametro requerido **access_token**  que retorna los registros de las listas enviar **lid** para filtrar por lista 

### Example
```javascript
var WisiApi = require('wisi_api');
var defaultClient = WisiApi.ApiClient.default;

// Configure API key authorization: access_token
var access_token = defaultClient.authentications['access_token'];
access_token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//access_token.apiKeyPrefix = 'Token';

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';

var apiInstance = new WisiApi.AdminListaApi();

var opts = { 
  'lid': 56 // Number | id de la lista
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.traerRegistrosGet(opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **lid** | **Number**| id de la lista | [optional] 

### Return type

[**[Registro]**](Registro.md)

### Authorization

[access_token](../README.md#access_token), [api_key](../README.md#api_key)

### HTTP request headers

 - **Content-Type**: multipart/form-data
 - **Accept**: application/json

