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
Parameters
...
Parameter
...
GET
/api/v1/services
Parameter
...
Sample request body
...
language | json |
---|
There are no parameters.
Returns
On success, 200 Ok
On error, 400 Bad Request
On authorization error, 403 Forbidden
Example
Code Block | ||
---|---|---|
| ||
var services = await _serviceCatalog.GetAll();
var serviceCatalog = services.Where(x => x.IsDisplayableInCatalog); |