public class InvitesManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
InvitesManager.Builder |
| Modifier and Type | Field and Description |
|---|---|
Authentication |
auth |
NetworkSession |
networkSession |
| Modifier | Constructor and Description |
|---|---|
|
InvitesManager() |
protected |
InvitesManager(InvitesManager.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
Invite |
createInvite(CreateInviteRequestBody requestBody)
Invites an existing external user to join an enterprise.
|
Invite |
createInvite(CreateInviteRequestBody requestBody,
CreateInviteHeaders headers)
Invites an existing external user to join an enterprise.
|
Invite |
createInvite(CreateInviteRequestBody requestBody,
CreateInviteQueryParams queryParams)
Invites an existing external user to join an enterprise.
|
Invite |
createInvite(CreateInviteRequestBody requestBody,
CreateInviteQueryParams queryParams,
CreateInviteHeaders headers)
Invites an existing external user to join an enterprise.
|
Authentication |
getAuth() |
Invite |
getInviteById(String inviteId)
Returns the status of a user invite.
|
Invite |
getInviteById(String inviteId,
GetInviteByIdHeaders headers)
Returns the status of a user invite.
|
Invite |
getInviteById(String inviteId,
GetInviteByIdQueryParams queryParams)
Returns the status of a user invite.
|
Invite |
getInviteById(String inviteId,
GetInviteByIdQueryParams queryParams,
GetInviteByIdHeaders headers)
Returns the status of a user invite.
|
NetworkSession |
getNetworkSession() |
public Authentication auth
public NetworkSession networkSession
public InvitesManager()
protected InvitesManager(InvitesManager.Builder builder)
public Invite createInvite(CreateInviteRequestBody requestBody)
The existing user can not be part of another enterprise and must already have a Box account. Once invited, the user will receive an email and are prompted to accept the invitation within the Box web application.
This method requires the "Manage An Enterprise" scope enabled for the application, which can be enabled within the developer console.
requestBody - Request body of createInvite methodpublic Invite createInvite(CreateInviteRequestBody requestBody, CreateInviteQueryParams queryParams)
The existing user can not be part of another enterprise and must already have a Box account. Once invited, the user will receive an email and are prompted to accept the invitation within the Box web application.
This method requires the "Manage An Enterprise" scope enabled for the application, which can be enabled within the developer console.
requestBody - Request body of createInvite methodqueryParams - Query parameters of createInvite methodpublic Invite createInvite(CreateInviteRequestBody requestBody, CreateInviteHeaders headers)
The existing user can not be part of another enterprise and must already have a Box account. Once invited, the user will receive an email and are prompted to accept the invitation within the Box web application.
This method requires the "Manage An Enterprise" scope enabled for the application, which can be enabled within the developer console.
requestBody - Request body of createInvite methodheaders - Headers of createInvite methodpublic Invite createInvite(CreateInviteRequestBody requestBody, CreateInviteQueryParams queryParams, CreateInviteHeaders headers)
The existing user can not be part of another enterprise and must already have a Box account. Once invited, the user will receive an email and are prompted to accept the invitation within the Box web application.
This method requires the "Manage An Enterprise" scope enabled for the application, which can be enabled within the developer console.
requestBody - Request body of createInvite methodqueryParams - Query parameters of createInvite methodheaders - Headers of createInvite methodpublic Invite getInviteById(String inviteId)
inviteId - The ID of an invite. Example: "213723"public Invite getInviteById(String inviteId, GetInviteByIdQueryParams queryParams)
inviteId - The ID of an invite. Example: "213723"queryParams - Query parameters of getInviteById methodpublic Invite getInviteById(String inviteId, GetInviteByIdHeaders headers)
inviteId - The ID of an invite. Example: "213723"headers - Headers of getInviteById methodpublic Invite getInviteById(String inviteId, GetInviteByIdQueryParams queryParams, GetInviteByIdHeaders headers)
inviteId - The ID of an invite. Example: "213723"queryParams - Query parameters of getInviteById methodheaders - Headers of getInviteById methodpublic Authentication getAuth()
public NetworkSession getNetworkSession()