- Shopping
- Authorization
- Flights
- Destination experiences
- Car and Transfers
- Market insights
- Hotels
- Itinerary management
- 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
- Common errors
- IMEI
- GPK
- SUPERSET
- Menu
- Queries
- 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
- CacheRestApi
- Charts
- CSS Templates
- Dashboards
- 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
- LogRestApi
- OpenApi
- Security
- VEGAS
- BI
- vl
- Vegaslounge
- VL
- VegasloungeAPI
示例: 查询玩家投注总结 getSummaryBet
GET
/operator/report/getSummaryBet
测试环境 API : https://pl.playgon01.net
totalBet:sum(投注):指定玩家进行的所有有效投注的总和。
totalPayout:sum(支付):指定玩家收到的所有有效支付的总和。
对于玩家在此期间玩的每个游戏,如果支付金额低于投注金额,则将(投注金额 - payoutAmount)添加到Totalloss,否则当前游戏的输为0。
Request
Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Query Params
clientId
string
required
Example:
{{clientid}}
clientPartner
string
required
playerId
string
required
Example:
{{playerid}}
startDate
string
required
Example:
{{startdate}}
endDate
string
required
Example:
{{enddate}}
Header Params
Accept
string
required
Example:
application/json
Authorization
string
required
Example:
Basic VkwwMDE6NzdmOTkzMTc0N2I2M2Y3MjBmOWRiYzY=
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 -g --request GET '/operator/report/getSummaryBet?clientId={{clientid}}&clientPartner=&playerId={{playerid}}&startDate={{startdate}}&endDate={{enddate}}' \
--header 'Accept: application/json' \
--header 'Authorization: Basic Og=='
Responses
🟢200成功
application/json
Body
data
array [object {4}]
required
userId
string
required
totalBet
number
required
Multiple of:
0.0001
totalPayout
number
required
Multiple of:
0.0001
totalLoss
number
required
Multiple of:
0.0001
errorCode
integer
optional
error
string
optional
<= 255 characters
Example
{
"data": [
{
"userId": "player1",
"totalBet": 40,
"totalPayout": 0,
"totalLoss": 40
},
{
"userId": "player2",
"totalBet": 150,
"totalPayout": 97.5,
"totalLoss": 52.5
}
],
"errorCode": null,
"error": null
}
🟢200失败