GetServices() [OnboardingServiceManager]
Get Services
Description
Get a list of all services from the service catalog.
Package Details
Interface
IOnboardingServiceManager
Syntax
Task<IEnumerable<ServiceInfo>> GetServices();
Returns
Task<IEnumerable<ServiceInfo>>
API Endpoint
GET
/api/v1/services
Parameter
There are no parameters.
Returns
On success, 200 Ok
On error, 400 Bad Request
On authorization error, 403 Forbidden
Example
var services = await _serviceCatalog.GetAll();
var serviceCatalog = services.Where(x => x.IsDisplayableInCatalog);