FindById() [OrganizationManager]

Get an organization by organization Id

Description

Get an organization by organization Id.

Package Details

Interface

IOrganizationManager

Syntax

await OrganizationManager.FindById(int organizationId)

Returns

Task<Organization>

API

GET
/api/v1/organizations/{id}

Parameters

Parameter

Description

Parameter Type

Parameter

Description

Parameter Type

id

Organization Id

path

Returns

On success, 200 Ok

On error, 400 Bad Request

On authorization error, 403 Forbidden

Example

var organizationId = 33; var organization = await _organizationManager.FindById(organizationId);