Skip to main content
Version: SDK-5.11.6

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
message : Success returnValue : refer to GetReturnValuetoJSON

Error cases

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

When the guild name is not entered
statusCode : 404
errorCode : NotFoundException
message : Resource not found, Resource cannot be found

GetReturnValuetoJSON

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