Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Get a list of organizations by service Id

Description

Get a list of organizations by service Id

Package Details

Interface

IOrganizationManager

Syntax

await _organizationManagerOrganizationManager.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 - OrganizationsOn success, 200 Ok

On error, 400 Bad Request

On authorization error, 403 Forbidden

Example

Code Block
languagec#
int id = 1;

var organizations = await _organizationManager.GetByService(1id);