Versions Compared

Key

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

...

Binds an organization to a service

Description

This method is used to bind an organization to a service

Package Details

Interface

IServiceManager

Syntax

BindOrganization(int userId, int serviceId, int organizationId)

Returns

Nothing

API Endpoint

[POST] /api/v1/services/{id}/bind-organization

...

Parameter

Description

Parameter Type

id

Service id

Integer

userId

User id

Integer

organizationId

OrganizationId

Integer

Sample request body

Code Block
languagejson

...

Example

Code Block
languagec#
id = 2
userId = 2757
organizationId = 5059
await _serviceManager.BindOrganization(userId, id, organizationId);