ShopGetSettings

From BetgamesTV
Jump to navigation Jump to search

Method returns settings data of current betshop.

Please note: not all of the settings could necessary for your application. It depends on your applications use cases.

Inputs:

  • token (string) - betshop token.

Outputs:

  • Currency (string) - bethsop currency 3letters code.
  • CurrencyTemplate (string) - currency format for displaying amounts in betshop application. Format examples: "X€", "$X", where "X" should be replaced with the amount.
  • Language (string) - betshop language 2letters code.
  • Timezone (string) - float number, possible values "2", "1.5", "-3".
  • OddPrecision (int) - all the odd values are returned as integer values, these values should be divided by 10 in degree of OddPresicion. This value currenly equals 2. So the odd value should divided by 100.
  • CompanyName (string) - Company name information, could be printed on your tickets.
  • CompanyCode (string) - Company code information, could be printed on your tickets.
  • ShopInformation (string) - Shop information, could be printed on your tickets.
  • CompanyLogo (string) - Url of company logo, could be printed on your tickets.
  • CompanyLogoUpdated (string) - obsolete field.
  • ScreenUrl (string) - Url of shop screen with 3 games: 7 from 42, 5 from 36, dice.
  • ScreenLotteriesUrl (string) - Url of shop screen with 2 games: 7 from 42, 5 from 36.
  • TicketsUrl (string) - Url for additional shop reports. Could be opened in separate browser window.
  • AllowConfiguration (int) - could be used as flag - which allows to modify local betshop settings. Possible values 0(false) or 1(true)
  • AllowBets (int) - flag which represents if bets could be accepted in this betshop. Added for shop "screens-only" accounts.
  • EarningsReportPasswordNeeded (int) - not needed.
  • PlayerBarcodeCheckRequired (int) - not needed.