Skip to main content
Version: 5.11.4

GetGuildIndateByGuildNameV3

public BackendReturnObject GetGuildIndateByGuildNameV3(string guildName);

Parameter

ValueTypeDescription
guildNamestringName of guild to be searched

Description

Looks up the indate of the guild using its name.

Example

Synchronous

BackendReturnObject bro = Backend.Guild.GetGuildIndateByGuildNameV3("guildName");

string guildIndate = bro.GetReturnValuetoJSON()["guildInDate"]["S"].ToString();

Asynchronous

Backend.Guild.GetGuildIndateByGuildNameV3("guildName", (callback) => 
{
string guildIndate = callback.GetReturnValuetoJSON()["guildInDate"]["S"].ToString();
//Post-process
});

SendQueue

SendQueue.Enqueue(Backend.Guild.GetGuildIndateByGuildNameV3, "guildName", (callback) => 
{
string guildIndate = callback.GetReturnValuetoJSON()["guildInDate"]["S"].ToString();
//Post-process
});

Return cases

Success cases

When the lookup is successful
statusCode : 200

returnValue : refer to GetReturnValuetoJSON

Error cases

When the name of the guild does not exist
statusCode : 404
errorCode : NotFoundException

When the guild name is not entered
statusCode : 404
errorCode : NotFoundException

GetReturnValuetoJSON

{
guildInDate:
{ S: "2019-03-04T00:29:41.084Z" }
}