Skip to main content
Version: 6.0.0

GetGuildInDateByGuildName

public BackndGuildInDateReturnObject GetGuildInDateByGuildName(string guildName);

BackndGuildInDateReturnObject

GetGuildInDate

If an error occurred, string.IsEmpty is returned.

BackndGuildListReturnObject bro = Backnd.Guild.GetGuildInDateByGuildName("guildName");
string inDate = bro.GetGuildInDate();

Parameter

ValueTypeDescription
guildNamestringName of guild to be searched

Description

Looks up the indate of the guild using its name.

Example

Synchronous

BackndGuildInDateReturnObject bro = Backnd.Guild.GetGuildInDateByGuildName("guildName");
string inDate = bro.GetGuildInDate();

Asynchronous

Backnd.Guild.GetGuildInDateByGuildName("guildName", (callback) => 
{
string inDate = bro.GetGuildInDate();
});

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" }
}