Retrieve Reputation Score
Retrieve the Reputation Score for an FSL ID user.
Pre-requisite
Make sure the ReputationScore Grant Scope is included when requesting authorization. You cannot share or retrieve reputation scores without approval from the user.
API
Post /api/account/party/reputationscore
Header
Name
Value
Content-Type
application/json
Authorization
Bearer <access token>
Parameters
Name
Mandatory?
Description
appid
N
Provide the appid if you want to retrieve scores from a specific app. You can find the App ID from developer console.
Retrieve global score if you don't provide appid.
Request Example
curl --location 'https://$API_BASE_URL/api/account/party/reputationscore' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer access_token'
-d "appid=xxxxxxx"
Response
{
"code": 0,
"data": {
"fslUid": 1111111,
"appid": "xxxxxxx",
"reputationScore": {
"ALL": {
"Trade Volume": "Whale"
},
"30D": {
"Trade Volume": "Shark",
"Active": "Casual"
},
"7D": {
"Active": "Engaged"
}
}
}
}{
"code": 208403,
"message": "No user grant or revoked"
}
/*
208004: Invalid access token
301002: User doesn't exist
208403: No user grant or revoked
209001: Invalid App ID
*/Last updated