All URIs are relative to https://localhost/
| Method | HTTP request | Description |
|---|---|---|
| searchActivateService | POST /api/Services/Search/{id}/Activate | |
| searchDeactivateService | POST /api/Services/Search/{id}/Deactivate | |
| searchGetService | GET /api/Services/Search/{id} | |
| searchPrepareService | POST /api/Services/Search/{id}/Prepare | |
| searchService | POST /api/Services/Search/{id} |
searchActivateService(id, opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.SearchServiceApi();
var id = "id_example"; // String |
var opts = {
'searchActivateSettings': new SlambySdk.SearchActivateSettings() // SearchActivateSettings |
};
apiInstance.searchActivateService(id, opts).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| searchActivateSettings | SearchActivateSettings | [optional] |
null (empty response body)
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: Not defined
searchDeactivateService(id)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.SearchServiceApi();
var id = "id_example"; // String |
apiInstance.searchDeactivateService(id).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
SearchService searchGetService(id)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.SearchServiceApi();
var id = "id_example"; // String |
apiInstance.searchGetService(id).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
searchPrepareService(id, opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.SearchServiceApi();
var id = "id_example"; // String |
var opts = {
'searchPrepareSettings': new SlambySdk.SearchPrepareSettings() // SearchPrepareSettings |
};
apiInstance.searchPrepareService(id, opts).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| searchPrepareSettings | SearchPrepareSettings | [optional] |
null (empty response body)
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: Not defined
[SearchResultWrapper] searchService(id, opts)
var SlambySdk = require('slamby-sdk');
var apiInstance = new SlambySdk.SearchServiceApi();
var id = "id_example"; // String |
var opts = {
'request': new SlambySdk.SearchRequest() // SearchRequest |
};
apiInstance.searchService(id, opts).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | ||
| request | SearchRequest | [optional] |
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: Not defined