Skip to main content
Version: SDK-5.11.6

ApproveApplicantV3

public BackendReturnObject ApproveApplicantV3(string gamerIndate);

Parameter

ValueTypeDescription
gamerIndatestringindate of gamer to be approved to join guild

Description

Approves the member with the gamerIndate to join the guild from the members who applied. The maximum number of guild members is 100.

Example

Synchronous

Backend.Guild.ApproveApplicantV3("gamerIndate");

Asynchronous

Backend.Guild.ApproveApplicantV3("gamerIndate", (callback) => 
{
// Post-process
});

SendQueue

SendQueue.Enqueue(Backend.Guild.ApproveApplicantV3, "gamerIndate", (callback) => 
{
// Post-process
});

Return cases

Success cases

When approved
statusCode : 204
message : Success

Error cases

When the user is not a guild master or manager
statusCode : 403
errorCode : ForbiddenException
message : Forbidden approveApplicant, Forbidden approveApplicant

When the gamerIndate does not exist
statusCode : 404
errorCode : NotFoundException
message : requestedGamer not found, requestedGamer cannot be found

When the member to approve is already a member of another guild
statusCode : 412
errorCode : PreconditionFailed
message : JoinedGamer prerequisites are not met.

When the number of guild members is already more than 100
statusCode : 429
errorCode : Too Many Request
message : guild member count Guild member request count is exceeded.