PROCEDURE SETESPORTSPRIVACY

Purpose:

It sets the current configuration of privacy settings for a given ESports establishment.

The privacy settings will affect what is shown in the ESports establishment landing page.

C = Contact Information.
G = Geolocation information (GoogleMaps).

0 = Everybody can get this information.
1 = Only my registered customers can get this information.
2 = Only the administration can get this information.

By example, a string “C2” means that only administrators can get the contact information.

Differents settings must be concatenated in the same string value. Example: “C1G1” which is the implicit default.

If string is empty it will behave as the implicit default.

Only the administrator can read and set this string.

Input parameters:

  • CyberName =  License’s name for the target server.
  • UserName = UserName.
  • Token = Session Token.
  • Privacy = Privacy string.

Example of usage:

https://wingamer.ar/ApiMasterControl/GetEsportsPrivacy.php?CyberName=flulpycrea&UserName=admin&Token=CurrentToken&Privacy=PrivacyStringValue

Output:

  • Array {{“ResponseClass”:“OK”}
  • Array {“ResponseClass”:”ERROR”, ”Param1″:”error message”}