Skip to main content
Version: 5.7.0

ReadInProgressMilestones

Method retrieves the list of in progress milestones.

ServiceOperation
gamificationREAD_IN_PROGRESS_MILESTONES

Method Parameters

ParameterDescription
includeMetaDataWhether to return meta data as well

Usage

http://localhost:3000
bool includeMetaData = false;
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.GamificationService.ReadInProgressMilestones(includeMetaData, successCallback, failureCallback);
JSON Response
{  
"data":{
"milestones":[
{
"gameId":"11549",
"questId":null,
"thresholds":{
"playerStatistics":{
"statistics":{
"Plane_Shot_Down":50
}
}
},
"extraData":null,
"description":"Awarded for shooting down 50 enemy planes.",
"id":"6",
"title":"Sky Ace",
"category":"Game_Milestones",
"status":"IN_PROGRESS"
}
]
},
"status":200
}