Skip to main content
Version: SDK-5.11.2

ApplyGuildV3

public BackendReturnObject ApplyGuildV3(string guildIndate);

Parameter

ValueTypeDescription
guildIndatestringindate of the guild to apply for

Description

A request is sent to join a particular guild.
To apply, the joining conditions registered in BACKND Console > Social Management > Settings > Guild must be met. If no condition is set, any member can apply to join the guild.

  • If quick join is set in the guild, the user joins the selected guild immediately.
  • If quick join is not set in the guild, the user can join the guild only after the guild master or vice guild master approves the application.

Example

Synchronous

Backend.Guild.ApplyGuildV3("guildIndate");

Asynchronous

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

SendQueue

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

Return cases

Success cases

When the request is successful
statusCode : 204
message : Success

Error cases

When a user who does not meet console setting conditions tries to join a guild
statusCode : 403
errorCode : ForbiddenError
message : Forbidden applyGuild, Forbidden applyGuild

When the name of the guild does not exist
statusCode : 404
errorCode : NotFoundException
message : guild not found, guild cannot be found

When it is a request to join the same guild again
statusCode : 409
errorCode : DuplicatedParameterException
message : Duplicated alreadyRequestGamer, Duplicated alreadyRequestGamer.

When the user is already in a 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.