Skip to main content
Version: SDK-6.0.0

GetMatchRecord

public BackndReturnObject GetMatchRecord(string gamerIndate, MatchType matchType, MatchModeType matchModeType, string matchCardIndate);
public BackndReturnObject GetMatchRecord(string gamerIndate, MatchType matchType, MatchModeType matchModeType, string matchCardIndate, int limit);
public BackndReturnObject GetMatchRecord(string gamerIndate, MatchType matchType, MatchModeType matchModeType, string matchCardIndate, int limit, string offset);

Parameters

ValueTypeDescription
gamerIndatestringinDate of user to look up
matchTypeMatchTypeMatch type to look up
MatchModeTypeMatchModeTypeMatch mode type to look up
matchCardIndatestringMatching card inDate to look up
limitint(optional) Number of seasons to look up
offsetstring(optional) Paging starting point

Description

Look up a user's matching record of a specific match.

  • If 'Indefinite' matching is established in the console, all matching records will be included in a single row and loaded.
  • If a period is set in the console, a row is assigned for each period(season).
  • Rows are loaded in order from the most recent period.
    If the time period is set as a week and there are matching records for a month, the 4th week is arranged in Index 0, the 3rd week in Index 1, and so on.

Example

Synchronous

Backnd.Match.GetMatchRecord(gamerIndate, MatchType.Random, MatchModeType.OneOnOne, matchCardIndate);
Backnd.Match.GetMatchRecord(gamerIndate, MatchType.Random, MatchModeType.OneOnOne, matchCardIndate, 10);
Backnd.Match.GetMatchRecord(gamerIndate, MatchType.Random, MatchModeType.OneOnOne, matchCardIndate, 10, offset);

Asynchronous

Backnd.Match.GetMatchRecord(gamerIndate, MatchType.Random, MatchModeType.OneOnOne, matchCardIndate, (callback) => {
//todo
});
Backnd.Match.GetMatchRecord(gamerIndate, MatchType.Random, MatchModeType.OneOnOne, matchCardIndate, 10, (callback) => {
//todo
});
Backnd.Match.GetMatchRecord(gamerIndate, MatchType.Random, MatchModeType.OneOnOne, matchCardIndate, 10, offset, (callback) => {
//todo
});

Return cases

Success cases

When there is a record
statusCode : 200
message : Success
returnValue : refer to GetReturnValuetoJSON

When there are no records
statusCode : 200
message : Success
returnValue : {"rows":[]}

GetReturnValuetoJSON

{
// Random
rows:
[
{
victory : { N : "1" },
draw : { N : "1" },
defeat : { N : "1" },
partition : { S : "_match_records_random_OneOnOne_" }, // Called matching type
inDate : { S : "2019-12-08" }, // Season start date(matching card creation date in case of 'Indefinite')
updatedAt : { S : "2019-12-10T05:32:44.985Z" }, // Last matchmaking date
nickname : { S : "theBacknd" },
championship:{ N : "1" } // Only occurs when searching for a solo battle(Melee). The number of first places
},
{
victory: [Object],
draw: [Object],
defeat: [Object],
partition: [Object],
inDate: [Object],
updatedAt: [Object],
nickname: [Object],
championship:[Object]
},
],

// Point
rows:
[
{
point : { N : "1000" }
victory : { N : "1" },
draw : { N : "1" },
defeat : { N : "1" },
partition : { S : "_match_records_point_OneOnOne_" }, // Called matching type
inDate : { S : "2019-12-08" }, // Season start date(matching card creation date in case of 'Indefinite')
updatedAt : { S : "2019-12-10T05:32:44.985Z" } // Last matchmaking date
nickname : { S : "theBacknd" }
championship:{ N : "1" } // Only occurs when searching for a solo battle(Melee). The number of first places
},
{
point: [Object],
victory: [Object],
draw: [Object],
defeat: [Object],
partition: [Object],
inDate: [Object],
updatedAt: [Object],
nickname: [Object],
championship:[Object]
},
],

// MMR
rows:
[
{
mmr : { N : "1000" }
victory : { N : "1" },
draw : { N : "1" },
defeat : { N : "1" },
partition : { S : "_match_records_mmr_OneOnOne_" }, // Called matching type
inDate : { S : "2019-12-08" }, // Season start date(matching card creation date in case of 'Indefinite')
updatedAt : { S : "2019-12-10T05:32:44.985Z" } // Last matchmaking date
nickname : { S : "theBacknd" }
},
{
mmr: [Object],
victory: [Object],
draw: [Object],
defeat: [Object],
partition: [Object],
inDate: [Object],
updatedAt: [Object],
nickname: [Object],
},
],
}