GetAllByServices()
Get all by services
Description
Returns a list of service settings for a service.
Note
Service settings are cached for 10 minutes, so any updates may not be part of the list until the cache is refreshed.
Package Details
Interface
IServiceSettingManager
Syntax
ServiceSettingManager.GetAllByServices(int serviceId);
Returns
Task<IEnumerable<ServiceSetting>>
API
GET
/api/v1/services/{id}/service-settings
Parameters
Parameter | Description | Parameter Type |
---|---|---|
id | The service id associated to the service setting | path |
Returns
200 OK - List of service settings associated to the service
Example
const int serviceId = 11;
var serviceSettings = await _serviceSettingManager.GetAllByServices(serviceId);