# NodeSwaggerApi.SearchApi

All URIs are relative to *https://api.supremepay.lk:3011/api/admin*

Method | HTTP request | Description
------------- | ------------- | -------------
[**searchUsers**](SearchApi.md#searchUsers) | **GET** /search/users | 


<a name="searchUsers"></a>
# **searchUsers**
> UserProfile searchUsers(opts)



Returns  search users details

### Example
```javascript
var NodeSwaggerApi = require('node_swagger_api');
var defaultClient = NodeSwaggerApi.ApiClient.instance;

// 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 NodeSwaggerApi.SearchApi();

var opts = { 
  'usertype': "usertype_example", // String | Order by usertype.
  'keyword': "keyword_example", // String | search keyword.
  'page': 0, // Number | The number of items to skip before starting to collect the result set.
  'perpage': 10 // Number | The numbers of items to return.
};

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

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **usertype** | **String**| Order by usertype. | [optional] 
 **keyword** | **String**| search keyword. | [optional] 
 **page** | **Number**| The number of items to skip before starting to collect the result set. | [optional] [default to 0]
 **perpage** | **Number**| The numbers of items to return. | [optional] [default to 10]

### Return type

[**UserProfile**](UserProfile.md)

### Authorization

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

### HTTP request headers

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

