This service is used to obtain the movements made by a large issuer user
      within the system.

GET: {' '}
       `URL_BASE + /ws/granemisor.py/listado`

## Receives:

All parameters are sent in the querystring of the call, so a percentage
      encoding for URI must be applied (aka URL encoding).

## Returns:

Depending on the result of the operation, this service can return two
      different JSON:

### Answer JSON OK:

```javascript
{
         "status"
        :{' '}
        true
        ,
         "datos"
        :{' '}
        [
         [ <string>{' '}
        ]
         ]
        ,
         "numero_resultados"
        : <integer>
        ,
         "totales"
        : <integer>
        ,
         "columnas"
        :{' '}
        [<string>
        ]
        ,
         "limite_resultados"
        : <integer>
        ,
         "elapsed"
        : <float>
         }
```

## Where:

* `status:` Shows if the call has been successful (true) or not (false).
* `datos:` they are a list of lists in which each one contains the values for each of the columns.
* `elapsed:` Operation execution time.
* `numero_resultados:` Number of results that come in 'datos'
* `totales:` Total number of results
* `columnas:` Name of each of the values found in each of the lists in the data list..
* `limite_resultados:` Maximum number of results that come in the query.

### Answer JSON KO:

```javascript
{
         "status"
        :{' '}
        false
        ,
         "nivel"
        : <string>
        ,
         "message"
        : <string>
        ,
         "error"
        : <string>
         }
```

## Where:

* `status:` Shows if the call has been successful (true) or not (false).
* `nivel:` Error importance level.
* `message:` Error message.
* `error:` Sole error code.

## Example requests:

### Python - Requests:

```javascript
import requests
         url ={' '}
        
          "URL_BASE/ws/granemisor.py/listado?codigo_pais=MX&id_usuario=2&id_sesion=387-M301Sm9r7MK6QXs27Z_XHw==&num_movimientos=2&fechainicio=1-04-2010&fechafin=29-07-2020"
        
         payload ={' '}
        {
        }
         headers={' '}
        {
        }
         response = requests
        .request
        (
        "GET"
        , url
        , headers
        =headers
        , data{' '}
        = payload
        )
         print
        (response
        .text
        .encode
        (
        'utf8'
        )
        )
```

### NodeJs - Request:

```javascript
var request = require('request');
         var options = {
         'method': 'GET',
         'url':
        'URL_BASE/ws/granemisor.py/listado?codigo_pais=MX&id_usuario=2&id_sesion=387-M301Sm9r7MK6QXs27Z_XHw==&num_movimientos=2&fechainicio=1-04-2010&fechafin=29-07-2020',
         'headers': {}
         };
         request(options, function (error, response) {{' '}
         if (error) throw new Error(error);
         console.log(response.body);
         });
```

### JavaScript - Fetch:

```javascript
var requestOptions = {
         method: 'GET',
         redirect: 'follow'
         };
        {' '}
        fetch("URL_BASE/ws/granemisor.py/listado?codigo_pais=MX&id_usuario=2&id_sesion=387-M301Sm9r7MK6QXs27Z_XHw==&num_movimientos=2&fechainicio=1-04-2010&fechafin=29-07-2020",
        requestOptions)
         .then(response => response.text())
         .then(result => console.log(result))
         .catch(error => console.log('error', error));
```

### CURL:

```javascript
curl --location --request GET{' '}
        
          'URL_BASE/ws/granemisor.py/listado?codigo_pais=MX&id_usuario=2&id_sesion=387-M301Sm9r7MK6QXs27Z_XHw==&num_movimientos=2&fechainicio=1-04-2010&fechafin=29-07-2020'
```

## Business logic:

This service returns a list with each of the movements of the large issuer
      user between two given dates.
