SysAddLegacyFlaggedUser
Adds a user to the legacy list of flagged users.
Service | Operation |
---|---|
globalApp | SYS_ADD_LEGACY_FLAGGED_USER |
Method Parameters
Parameter | Description |
---|---|
profileId | Target user's profile id. |
notes | A field for recording something noteworthy about this user. |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var profileId = "the-profile-id";
var notes = "This is a note about the player.";
var globalAppProxy = bridge.getGlobalAppServiceProxy();
var postResult = globalAppProxy.sysAddLegacyFlaggedUser(profileId, notes);
if (postResult.status == 200) {
// Success!
}
{
"service": "globalApp",
"operation": "SYS_ADD_LEGACY_FLAGGED_USER",
"data":
{
"profileId": "the-profile-id",
"notes": "This is a note about the player."
}
}
JSON Response
{
"status" : 200,
"data" : null
}