# RecycleApi.DefaultApi

All URIs are relative to *https://localhost/v1*

Method | HTTP request | Description
------------- | ------------- | -------------
[**getPetsById**](DefaultApi.md#getPetsById) | **GET** /terminal/information | Find information


<a name="getPetsById"></a>
# **getPetsById**
> Result getPetsById(make, model, district)

Find information

Returns lifecycle information based on model and make

### Example
```javascript
var RecycleApi = require('recycle_api');

var apiInstance = new RecycleApi.DefaultApi();

var make = "make_example"; // String | terminal make to use (Samsung)

var model = "model_example"; // String | terminal model to use (Galaxy S7)

var district = 3.4; // Number | target district (kommune) https://www.ssb.no/offentlig-sektor/kommunekatalog


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

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **make** | **String**| terminal make to use (Samsung) | 
 **model** | **String**| terminal model to use (Galaxy S7) | 
 **district** | **Number**| target district (kommune) https://www.ssb.no/offentlig-sektor/kommunekatalog | 

### Return type

[**Result**](Result.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

