Get a list of organizations by service Id
Description
Get a list of organizations by service Id
Package Details
Interface
IOrganizationManager
Syntax
await _organizationManager.GetByService(int id);
Returns
Task<IEnumerable<Organization>>
API
GET
/api/v1/services/{id}/organizations
Parameters
Parameter | Description | Parameter Type |
---|---|---|
id | The service Id | path |
Returns
200 OK - Organizations
Example
var organizations = await _organizationManager.GetByService(1);