...
This method is used to bind an organization to a service.
Package Details
Interface
IServiceManager
...
Returns
Nothing
API Endpoint
...
Implementation Notes
Internal users must not be associated with any organizations.
POST
/api/v1/services/{idserviceId}/bind-organization?userId={userId}&organizationId={organizationId}
Parameters
Parameter | Description | Parameter Type |
---|---|---|
idserviceId | Service idIId | IntegerPath |
userId | User idId | IntegerQuery string |
organizationId | OrganizationId | Integer |
Sample request body
...
language | json |
---|
Organization Id | Query string |
Returns
On success, 200 Ok
...
Example
Code Block | ||
---|---|---|
| ||
int id = 2; int userId = 2757; int organizationId = 5059; await _serviceManager.BindOrganization(userId, id, organizationId); |
...