This service is used to obtain the currencies of the countries active in
      the system.

GET: 
     `URL_BASE + /ws/currencies.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
        ,
         "currencies"
        :{' '}
        [
         {
         "change_sale"
        : <float>
        ,
         "currency_data"
        :{' '}
        {
         "abbreviation"
        : <string>
        ,
         "suffix"
        : <string>
        ,
         "format"
        : <string>
        ,
         "symbol"
        : <string>
        ,
         "prefix"
        : <string>
        ,
         "decimals"
        : <decimal>
        ,
         "id"
        : <integer>
         }
        ,
         "abbreviation"
        : <string>
        ,
         "format"
        : <string>
        ,
         "currency_symbol"
        : <string>
        ,
         "precision"
        : <integer>
        ,
         "change_purchase"
        : <float>
        ,
         "change_reference"
        : <float>
        ,
         "name"
        : <string>
        ,
         "placeholder_currency"
        : <string>
         }
         ]
        ,
         "elapsed"
        :{' '}
        0.008363962173461914
         }
```

## Where:

* `status:` Shows if the call has been successful (true) or not (false).
* `currencies:` List of currencies returned by the system.
* `currency_data:` Contains the different details of the currency used for the operation..
* `abbreviation:` The abbreviated name of the currency(EUR, MXN).
* `suffix:` Indicates the suffix that is applied in the currency format(pesos, euros).
* `format:` The full format that applies to the currency, it includes the suffix and the prefix.
* `symbol:` The symbol associated to the currency(€, ¢, $).
* `prefix:` The prefix that is applied in the currency format.
* `decimals:` The maximum number of decimal places that will be included in the currency format.
* `id:` Identifier of the currency in BBDD.
* `abbreviation:` The abbreviated name of the currency(EUR, MXN).
* `format:` The full format that applies to the currency, it includes the suffix and the prefix.
* `name:` Full name of the currency.
* `precision:` Number of decimal places allowed by the currency.
* `currency_symbol:` The symbol associated to the currency (€, ¢, $).
* `placeholder_currency:` The text of the currency always showing a value of 0.
* `change_purchase:` Currency price for purchase.
* `change_reference:` The value of the currency.
* `change_sale:` Currency price for sale.
* `elapsed:` Operation execution time.

### Answer JSON KO:

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

## Where:

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

## Example requests:

### Python - Requests:

```javascript
import requests
         url ={' '}
        
          "URL_BASE/ws/currencies.py/listado"
        
         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/currencies.py/listado',
         '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/currencies.py/listado",
        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/currencies.py/listado'
```

## Business logic

This service, through the 'telefone', searches for the user whose
      movements are to be consulted, and returns a list with each of the
      user's movements between two given dates.
