VegasLounge API 对接文档
  1. Charts
VegasLounge API 对接文档
  • Shopping
    • Return list of Flight Offers based on posted searching criteria.
      POST
    • Return list of Flight Offers based on searching criteria.
      GET
  • Authorization
    • Access Granted Client Credentials
    • Get Token Information
  • Flights
    • (Scenario)Basic Flight Booking flow
      • Step 0: Authorization
      • Step 1: Flight Offers Search GET
      • Step 2: Flight Offers Price
      • Step 3: Flight Create Orders
    • Flight Booking
      • Flight Offers Search
      • Flight Offers Search
      • Flight Offers Price
      • Flight Create Orders
      • Flight Order Management
      • Flight Order Management
      • Seatmap Display
      • Seatmap Display
      • Branded Fares Upsell
      • Flight Price Analysis
      • Flight Choice Prediction
    • Flight Inspiration
      • Flight Inspiration Search
      • Flight Cheapest Date Search
      • Flight Availabilities Search
      • Travel Recommendations
    • Flight Schedule
      • On Demand Flight Status
      • Flight Delay Prediction
      • Airport On-Time Performance
    • Airport
      • Airport & City Search by Keyword
      • Airport & City Search by Id
      • Airport Nearest Relevant
      • Airport Routes
    • Airlines
      • Flight Check-in Links
      • Airline Code Lookup
      • Airline Routes
  • Destination experiences
    • Tours and Activities
    • Tours and Activities by Id
    • Tours and Activities by square
    • City Search
  • Car and Transfers
    • Transfer Search
    • Transfer Booking
    • Transfer Management
  • Market insights
    • Flight Most Traveled Destinations
    • Flight Most Booked Destinations
    • Flight Busiest Traveling Period
  • Hotels
    • (Scenario)Basic Hotel Booking flow
      • Step 0: Authorization
      • Step 1: Find Hotels by city
      • Step 2: Hotel Offers Search
      • Step 3: Hotel Booking v1
    • Hotel List by Id
    • Hotel List by Geocode
    • Hotel List by City
    • Hotel Search
    • Hotel Search Offer Information
    • Hotel Booking v1
    • Hotel Booking v2
    • Hotel Ratings
    • Hotel Name Autocomplete
  • Itinerary management
    • Trip Purpose Prediction
  • STARGAME
    • Common errors
      • InitialGetBalance
      • InitialGetBalance
      • GetBalanceBadHash
      • GetBalanceBadHash
      • InvalidCommand
      • InvalidCommand
      • InvalidUserName
      • InvalidUserName
      • PlayerBetMissingTransactionId
      • PlayerBetMissingTransactionId
      • PlayerWinEmptyTransactionId
      • PlayerWinEmptyTransactionId
      • PlayerBetNegativeAmount
      • PlayerBetNegativeAmount
      • PlayerWinNegativeAmount
      • PlayerWinNegativeAmount
      • PlayerBetInsufficientBalance
      • PlayerBetInsufficientBalance
      • CheckBalance
      • CheckBalance
    • Workflow
      • OpenSession
      • OpenSession
      • OpenSessionAlreadyOpened
      • OpenSessionAlreadyOpened
      • GetBalance
      • GetBalance
      • PlayerBet #1 (-50)
      • PlayerBet #1 (-50)
      • PlayerWin (+150)
      • PlayerWin (+150)
      • PlayerBet #2 (-50)
      • PlayerBet #2 (-50)
      • PlayerWinZeroAmount (+0)
      • PlayerWinZeroAmount (+0)
      • PlayerBet #3 (-50)
      • PlayerBet #3 (-50)
      • PlayerWin (+200)
      • PlayerWin (+200)
      • PlayerWinTransactionAlreadyExist
      • PlayerWinTransactionAlreadyExist
      • PlayerBet #4 (-200)
      • PlayerBet #4 (-200)
      • PlayerBetTransactionAlreadyExist
      • PlayerBetTransactionAlreadyExist
      • PlayerBetBadHash
      • PlayerBetBadHash
      • PlayerWinBadHash
      • PlayerWinBadHash
      • CancelBet #4 (+200)
      • CancelBet #4 (+200)
      • CancelBetAlreadyCancelled
      • CancelBetAlreadyCancelled
      • CancelBetDoesNotExist
      • CancelBetDoesNotExist
      • PlayerBet #5 (-50)
      • PlayerBet #5 (-50)
      • CloseSession
      • CloseSession
      • PlayerBet #6 (-250)
      • PlayerBet #6 (-250)
      • PlayerWin (+50)
      • PlayerWin (+50)
      • CancelBet #5 (+50)
      • CancelBet #5 (+50)
      • PlayerBet #7 (-100)
      • PlayerBet #7 (-100)
      • PlayerBet #8 (-50)
      • PlayerBet #8 (-50)
      • PlayerBet #9 (-25)
      • PlayerBet #9 (-25)
      • PlayerBet #10 (-25)
      • PlayerBet #10 (-25)
      • PlayerBet #11 (-50)
      • PlayerBet #11 (-50)
      • CancelBet #7 (+100)
      • CancelBet #7 (+100)
      • CancelBet #9 (+25)
      • CancelBet #9 (+25)
      • CancelBet #11 (+50)
      • CancelBet #11 (+50)
      • PlayerWin (+75)
      • PlayerWin (+75)
      • CloseSessionAlreadyClosed
      • CloseSessionAlreadyClosed
      • FinalCheckBalance
      • FinalCheckBalance
    • RemoteSession
  • IMEI
    • Get account details
    • Get list of available services
    • Create Bulk Search
    • Export CSV for Bulk Search
    • Export JSON for Bulk Search
    • Get list of Bulk Search history
    • Single service check
    • Get single history result
    • Get list of search history
    • SYNC-API Single service check
  • GPK
    • 玩家取得遊戲連結
  • SUPERSET
    • Menu
      • /menu/
    • Queries
      • /query/
      • /query/distinct/{column_name}
      • /query/related/{column_name}
      • /query/{pk}
      • /saved_query/
      • /saved_query/
      • /saved_query/
      • /saved_query/_info
      • /saved_query/distinct/{column_name}
      • /saved_query/export/
      • /saved_query/related/{column_name}
      • /saved_query/{pk}
      • /saved_query/{pk}
      • /saved_query/{pk}
    • Annotation Layers
      • /annotation_layer/
      • /annotation_layer/
      • /annotation_layer/
      • /annotation_layer/_info
      • /annotation_layer/related/{column_name}
      • /annotation_layer/{pk}
      • /annotation_layer/{pk}
      • /annotation_layer/{pk}
      • /annotation_layer/{pk}/annotation/
      • /annotation_layer/{pk}/annotation/
      • /annotation_layer/{pk}/annotation/
      • /annotation_layer/{pk}/annotation/{annotation_id}
      • /annotation_layer/{pk}/annotation/{annotation_id}
      • /annotation_layer/{pk}/annotation/{annotation_id}
    • AsyncEventsRestApi
      • /async_event/
    • CacheRestApi
      • /cachekey/invalidate
    • Charts
      • /chart/
        DELETE
      • /chart/
        GET
      • /chart/
        POST
      • /chart/_info
        GET
      • /chart/data
        POST
      • /chart/data/{cache_key}
        GET
      • /chart/export/
        GET
      • /chart/favorite_status/
        GET
      • /chart/import/
        POST
      • /chart/related/{column_name}
        GET
      • /chart/{pk}
        DELETE
      • /chart/{pk}
        GET
      • /chart/{pk}
        PUT
    • CSS Templates
      • /css_template/
      • /css_template/
      • /css_template/
      • /css_template/_info
      • /css_template/related/{column_name}
      • /css_template/{pk}
      • /css_template/{pk}
      • /css_template/{pk}
    • Dashboards
      • /dashboard/
      • /dashboard/
      • /dashboard/
      • /dashboard/_info
      • /dashboard/export/
      • /dashboard/favorite_status/
      • /dashboard/import/
      • /dashboard/related/{column_name}
      • /dashboard/{pk}
      • /dashboard/{pk}
      • /dashboard/{pk}
      • /dashboard/{pk}/charts
    • Database
      • /database/
      • /database/
      • /database/_info
      • /database/export/
      • /database/import/
      • /database/test_connection
      • /database/{pk}
      • /database/{pk}
      • /database/{pk}
      • /database/{pk}/function_names/
      • /database/{pk}/related_objects/
      • /database/{pk}/schemas/
      • /database/{pk}/select_star/{table_name}/
      • /database/{pk}/select_star/{table_name}/{schema_name}/
      • /database/{pk}/table/{table_name}/{schema_name}/
    • Datasets
      • /dataset/
      • /dataset/
      • /dataset/
      • /dataset/_info
      • /dataset/distinct/{column_name}
      • /dataset/export/
      • /dataset/import/
      • /dataset/related/{column_name}
      • /dataset/{pk}
      • /dataset/{pk}
      • /dataset/{pk}
      • /dataset/{pk}/refresh
      • /dataset/{pk}/related_objects
    • LogRestApi
      • /log/
      • /log/
      • /log/{pk}
    • OpenApi
      • /openapi/{version}/_openapi
    • Security
      • /security/csrf_token/
      • /security/login
      • /security/refresh
  • VEGAS
    • BI
      • pre-login
      • login
      • dashboard
    • vl
      • Client API v2.0
        • Get Game List
      • Authentication API v2.0
        • Validate Authorization Code
        • Refresh Access Token
        • Get Account Information
      • Seamless Wallet API v2.0
        • Place Bet
        • Send Payoff
        • Reverse Transaction
        • Get Player Balance
      • Transfer Wallet API v2.0
        • Deposit money to the player's wallet.
        • Withdraw money from the player's wallet.
        • Get the current balance for the player.
        • Query players by balance.
        • Query player's total bet amount since last deposit.
        • Query player's bet/payout summary.
        • Query Total Loss Summary
      • Report API
        • Get Transfers
        • Check Transaction
        • Get Game History Link
        • Verify Transactions Summary
        • Get Detailed Betting Report
        • Get Betting Report
      • isonline
    • Vegaslounge
      • VEGASLOUNGE API集成指南手册
      • 客户端 CLIENT API
        • 示例 获取游戏列表
      • 身份验证 Authentication API
      • 转账钱包 TRANSFER WALLET
        • 示例: 获取玩家余额 Balance
        • 示例: 查询玩家指定余额 playersByBalance
        • 示例: 查询总损失总结 getTotalLoss API
        • 示例: 转入 DEPOSIT API
        • 示例: 转出 WITHDRAW API
        • 示例: 查询玩家最后存款投注金额 betAmountSinceLastDeposit
        • 示例: 查询玩家投注总结 getSummaryBet
        • 示例: 投注记录 REPORT/BETS API
      • 免转钱包 SEAMLESS WALLET
      • 报表 REPORT API
        • Verify Transactions
        • Check Transaction
        • Order Link
        • Verify Transactions Summary
        • Detailed Betting report
      • 附录
        • 投注类型
      • CompletedDOC
      • Verify Transactions
      • Check Transaction
      • Order Link
      • Verify Transactions Summary
      • Detailed Betting report
    • VL
      • report_bets
      • replay_Transfer
      • report_verifyTransactionsSummary
      • report_orderLink
      • report_checkTransaction
      • report_transfer
      • report_getTotalLoss
      • report_getSummaryBet
      • replay
      • betAmountSinceLastDeposit
      • playersByBalance
      • balance
      • withdrawal
      • deposit
    • VegasloungeAPI
      • 客户端 CLIENT API
        • 示例 获取游戏列表
      • 身份验证 Authentication API
      • 转账钱包 TRANSFER WALLET
        • 示例: 获取玩家余额 Balance
        • 示例: 查询玩家指定余额 playersByBalance
        • 示例: 查询总损失总结 getTotalLoss API
        • 示例: 转入 DEPOSIT API
        • 示例: 转出 WITHDRAW API
        • 示例: 查询玩家最后存款投注金额 betAmountSinceLastDeposit
        • 示例: 查询玩家投注总结 getSummaryBet
        • 示例: 投注记录 REPORT/BETS API
      • 免转钱包 SEAMLESS WALLET
      • 报表 REPORT API
        • Verify Transactions
        • Check Transaction
        • Order Link
        • Verify Transactions Summary
        • Detailed Betting report
      • CompletedDOC
        • 附录
          • 投注类型
      • Detailed Betting report
      • Verify Transactions Summary
      • Order Link
      • Check Transaction
      • Verify Transactions
  1. Charts

/chart/{pk}

PUT
/chart/{pk}
Charts
Changes a Chart.

Request

Path Params
pk
integer 
required
Body Params application/json
cache_timeout
integer <int32> | null 
optional
Duration (in seconds) of the caching timeout for this chart. Note this defaults to the datasource/table timeout if undefined.
dashboards
array[integer <int32>]
optional
datasource_id
integer <int32> | null 
optional
The id of the dataset/datasource this new chart will use. A complete datasource identification needs datasouce_id and datasource_type.
datasource_type
enum<string>  | enum<null> 
optional
The type of dataset/datasource identified on datasource_id.
Allowed values:
druidtableview
description
string  | null 
optional
A description of the chart propose.
owners
array[integer <int32>]
optional
params
string  | null 
optional
Parameters are generated dynamically when clicking the save or overwrite button in the explore view. This JSON object for power users who may want to alter specific parameters.
slice_name
string  | null 
optional
The name of the chart.
>= 0 characters<= 250 characters
viz_type
string  | null 
optional
The type of chart visualization used.
>= 0 characters<= 250 characters
Example:
["bar","line_multi","area","table"]
Example
{
    "cache_timeout": 0,
    "dashboards": [
        0
    ],
    "datasource_id": 0,
    "datasource_type": "druid",
    "description": "string",
    "owners": [
        0
    ],
    "params": "string",
    "slice_name": "string",
    "viz_type": [
        "bar",
        "line_multi",
        "area",
        "table"
    ]
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/chart/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "cache_timeout": 0,
    "dashboards": [
        0
    ],
    "datasource_id": 0,
    "datasource_type": "druid",
    "description": "string",
    "owners": [
        0
    ],
    "params": "string",
    "slice_name": "string",
    "viz_type": [
        "bar",
        "line_multi",
        "area",
        "table"
    ]
}'

Responses

🟢200OK
application/json
Chart changed
Body
id
number 
optional
result
object (ChartRestApi.put) 
optional
cache_timeout
integer <int32> | null 
optional
Duration (in seconds) of the caching timeout for this chart. Note this defaults to the datasource/table timeout if undefined.
dashboards
array[integer <int32>]
optional
datasource_id
integer <int32> | null 
optional
The id of the dataset/datasource this new chart will use. A complete datasource identification needs datasouce_id and datasource_type.
datasource_type
enum<string>  | enum<null> 
optional
The type of dataset/datasource identified on datasource_id.
Allowed values:
druidtableview
description
string  | null 
optional
A description of the chart propose.
owners
array[integer <int32>]
optional
params
string  | null 
optional
Parameters are generated dynamically when clicking the save or overwrite button in the explore view. This JSON object for power users who may want to alter specific parameters.
slice_name
string  | null 
optional
The name of the chart.
>= 0 characters<= 250 characters
viz_type
string  | null 
optional
The type of chart visualization used.
>= 0 characters<= 250 characters
Example:
["bar","line_multi","area","table"]
Example
{
    "id": 0,
    "result": {
        "cache_timeout": 0,
        "dashboards": [
            0
        ],
        "datasource_id": 0,
        "datasource_type": "druid",
        "description": "string",
        "owners": [
            0
        ],
        "params": "string",
        "slice_name": "string",
        "viz_type": [
            "bar",
            "line_multi",
            "area",
            "table"
        ]
    }
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🟠422Parameter Error
🔴500Server Error
Previous
/chart/{pk}
Next
/css_template/
Built with