利記 API

[ v 3.80 ]

文档目录

1. 接口简介
2. 代理 API
3. 会员 API
4. 系统 API
5. 报表 API
6. 免转钱包重送 API
7. 体育博彩风险控制
8. 体育博彩推荐
附录

1. 接口简介

1.1 文档概述

此份文件定义了函式的相关资料及平台与白牌系统的整合守则。

1.2 流程图




1.3 通信协议

所有 API函式皆透过HTTP post。

 ● 所有 API请求应该符合以下规则:
    1.Header:
        Content-Type: application/x-www-form-urlencoded; charset=UTF-8
    2.Body:
        Type: x-www-form-urlencoded
        Content: param:{"username":"test","portfolio":"1","startDate":"2019-01-01","endDate":"2019-01-02","companyKey":"DUMMY-COMPANY-KEY","serverId":"test"}

 ● 所有 API 回应皆是以 JSON 格式回应:
    1.Header: Content-Type: application/json; charset=UTF-8
    2.Body: {"username":"test","token":"861.vqxuBwvchwmxbmJcBwZTDO","error":{"id":0,"msg":"NoError"},"serverId":"test"}

 ● 所有送出和接收的数据都是区分大小写。
 ● 栏位键值使用骆驼拼写法(camelCase)。

以下是API请求与回应的范例, 透过Postman 来展示。

1.4 时区与时间

所有API回传或接受的时间时区都为GMT-4
Format Note
Date only yyyy-MM-dd
Date and time yyyy-MM-ddTHH:mm:ss
Date, time and timezone
yyyy-MM-ddTHH:mm:sszzzzzz
  • In UTC time: 2014-08-25T11:06:22Z
  • In GMT+8: 2014-08-25T19:06:22+08:00
  • In GMT-4: 2014-08-25T07:06:22-04:00

1.5 文档修改日志

Version Change Log Modify Date
2.0 会员 API, 新建参数: device 2016.12.06
2.0.9 添加 API GetCasinoReport 和 GetCasinoBetList 2017.01.05
2.0.10 于GetCasinoReport,GetCasinoBetList中的Reponse新建参数status 2017.01.06
2.0.11 RegisterAgent和UpdateAgentBetSettings中的参数minBet和maxBet,修改为min和max 2017.03.25
2.1
1. 整合 Get-Casino-Report 至 Get-Customer-Report
2. 移除 Get-Casino-Report
3. 移除 Get-Casino-Report-By-Modifydate

2017.04.19
2.1.1
1. 更新 get-customer-bet-list 至 get-bet-list
2. 移除 get-casino-bet-list (已被整合至 get-bet-list)

2017.04.24
2.1.2 重命名 get-casino-bet-payload 成 get-bet-payload 2017.04.24
2.1.3 更新 get-bet-payload 栏目(column)描述 2017.06.06
2.1.5 更新on get-bet-payload 的错字错误(typo error) 2017.06.19
2.1.6
添加能获取全部产品报表的API
GetCustomerReport, GetBetList 能设置 portfolio(Sports, Casino, and Games)

2017.06.27
2.1.7 添加更改日志表栏目 2017.07.20
2.1.8 添加会员登入过程 2018.04.18
2.1.9 更动Content-Type 和 Request Body 格式 2018.04.26
2.2.0 添加1.6章的免责声明 2018.05.01
2.2.1
1. 于体育博彩视觉主题添加 Lawn theme
2. 添加细节描述于 3.2. RegisterPlayer .
3. 添加细节描述于 2.1. RegisterAgent .

2018.05.03
2.2.2 添加 games login 2018.05.21
2.2.3
1. 添加视觉主题支持设备表(supporting device table)
2. 修正部分request body的错字

2018.05.25
2.2.4
1. 更新错误代码表(Error Code Table)
2. 添加VND,IDR和KRW的澄清说明
3. 添加 I.7. SportsBet & I.7.2 SportsSubBet
4. 修复第5节部分错字与无效的JSON格式。

2018.06.07
2.2.5
1. 更新错误代码表(Error Code Table)
2. 添加更新 Player Bet Setting By SportId and Bettype 的API 3.10. UpdatePlayerBetSettingsBySportTypeAndMarketType .
3. 添加 I.11. SportType.
4. 修改 I.10. MarketType.

2018.07.13
2.2.6
1. 更新 Get-Bet-list 表格
2. 添加 SubBet Status.
3. 添加 Main Bet WinLostDate.

2018.07.18
2.2.7
1. 更新 Agent 投注设定规则
2. 修改 RegisterAgent 投注设定规则
3. 修改 UpdateAgentBetSetting 投注设定规则

2018.07.19
2.2.8
1.添加时区GMT-4描述( 1.4 Timezone and datetime )
2. 修改视觉主题ID(themeid)描述 2.1 RegisterAgent
3. 修改视觉主题描述 3.1.1 Redirect to SportsBook
4. 修改标题和内文 II. How to set SportsBook themes"#ApiError"

2018.07.30
2.2.9
1. 添加部分变量的描述
2. 添加部分request fields.
3. 添加部分response fields.

2018.08.02
2.2.10
1. 修改 I.1 Currency 描述
2. 修改部分变量的描述
3. 修改部分变量类型到更合适类型

2018.08.02
2.3.1
1. 添加新的章节 Redirect to Game .
2. 修改部分API描述

2018.08.09
2.3.2
1. 移除 KRW 1:1000于 I.1 Currency 描述, 因为系统不再使用它。

2018.08.10
2.3.3
1. 添加视觉主题 7.2.8 SBO Lite theme .

2018.08.20
2.3.4
1. 添加 API 2.5 LoginBackoffice .

2018.08.22
2.3.4
1. 修改关于每个参数的基本时间的描述 5. Report API .
2. 修改startdate和enddate时间格式于 5. Report API .

2018.08.24
2.3.6
1. 添加 Appendix V.如何设置或更新投注限制设置.

2018.09.25
2.3.7
1. 添加 Appendix I. I.12注单状态
2. 修改 6.11 Soccer和Football描述

2018.10.03
2.3.8
1. 添加 3.11 UpdateAgentBetSettingsBySportTypeAndMarketType
2. 添加 3.12 GetMemberBetSettingsWithSportTypeAndMarketType
3. 修改 3.2. RegisterPlayer
4. 修改 3.9. UpdatePlayerBetSettings
5. 修正 Appendix V.更新代理运动与盘口下注设定

2018.10.04
2.3.9
3. 修改 BetList Apis 添加 ModifyDate
4. 修改 6.12下注状态添加 "Half Won" "Half Lose"

2018.10.15
2.4.0
1. 修改 BetList Apis 添加 isHalfWonLose , MaxWinWithoutActualStake
2. 移除 6.12 下注状态 "Half Won" "Half Lose"
3. 修改 6.7 SportsBet 添加 isHalfWonLose, MaxWinWithoutActualStake Detail
4. 添加 I.13. Game Product Type .

2018.10.18
2.4.1
1. 修改BetList Apis添加BetStatus request栏位(column)
2. 添加requestbody的参数

2018.10.29
2.4.2
1. 于SportsType更改 Hockey 至 Ice Hocket
2. 于SportsType添加 Mix Parlay

2018.12.13
2.4.3
1. 添加所有Virtual Sports MixParlay subbet格式范例(sample)

2018.12.13
3.0
1. 文档修改日志简体中文化
2. 参数栏位描述全面简体中文化
3. 修改I.12 Bet Status 注单状态的描述
4. 增添Half Won/半嬴 、Half Lose/半输、Abnormal Bet/异常投注的状态于I.12 Bet Status
5. 修正部分request、response错误部分。

2018.12.14
3.1
1. 新增 3.5 会员提款 金額只接受到小數點第二位的限制.

2018.12.26
3.2
1. 3.1.5 登入后导页到虚拟运动 添加lang参数

2018.12.27
3.3
1. 修正 5.4 根据修改时间获取客户注单报表 5.5 根据注单序号获取客户注单报表 5.9 根据修改时间获取客户历史注单的详细资料 中,playerBetList描述栏位之体育博彩注单的链接

2019.01.02
3.4
1. 增添 Odds(下注的赔率), OddsStyle(下注的赔率类别) and ActualStake(真实注金) 在虚拟运动注單 5.3. 获取注单报表 , 5.6.1 根据修改时间获取客户虚拟运动注单报表 and 5.7.1 根据注单序号获取客户虚拟运动注单报表
2. 于附录中增添虚拟运动注单 I.6.3 虚拟运动注單

2019.01.18
3.5
1. 为 5.3. GetBetList 的请求/回传格式中增加了无缝游戏注单范例。
2. 于附录中增加无缝游戏注单 I.6.4 SeamlessGameProvider Bet
3. 新增 根据修改时间获取无缝游戏注单 5.10 GetSeamlessGameProviderBetListByModifydate Bet
4. 新增 根据注单序号获取无缝游戏注单 5.11 GetSeamlessGameProviderBetListByRefNos
5. 新增 登入无缝游戏提供商 3.13 LoginToSeamlessGameProvider

2019.02.15
3.6
1. 增加1.3通信协议说明细节
2. 增加使用的字元编码资讯“UTF-8”

2019.02.26
3.7
1. 新的遊戲提供商 SBOLV 詳細資訊

2019.03.13
3.8
1. Add 3.1.6 登入后导页到無縫遊戲页面
移除 3.13 登入至無縫遊戲
修正部分 url 錯誤

2019.03.28
3.8.1
增加CQ9至章节 6.14 SeamlessGameProductType 与 6.15 SeamlessGameProvider

2019.04.30
3.8.2
修改章節 6.6.4 SeamlessGameProvider Bet 下的 gamePeriodId 與 gameRoundId 回傳型別爲 string

2019.05.06
3.8.3
修改章節 5.10 5.11 ResponseBody-wm 的 winlost 回傳結果

2019.05.06
3.9
新增 3.1.7 登入后导页到游戏大厅页面

2019.05.14
3.9.1
新增 6.14 6.15 的无缝游戏提供商

2019.05.15
3.10
新增联赛下注设定 3.13 ~ 3.17

2019.06.03
3.20
新增 根据修改时间获取无缝游戏 Bonus注单 5.12 根据注单序号获取无缝游戏 Bonus注单

2019.06.20
3.21
整合3.1.7 "登入后导页到游戏大厅页面" 到3.1.6 "登入后导页到無縫遊戲页面"

2019.06.21
3.22
新增 5.13 获取客户交易报表

2019.07.24
3.24
Add 8.9 "SBOBET-m 主題"
Add 8.10 "Euro-layout-m 主題"
Add 8.11 "China-layout-m 主題"

2019.09.17
3.25
在報表Api說明提及我方只保留60天以內的資料

2019.09.17
3.26
新增關於新的報表API 5.14 ~ 5.18 相關說明
在API 3.1.3 中加上 IsHtml5 參數說明
2019.10.24
3.27
新增 6.14 6.15 的无缝游戏提供商

2019.11.15
3.32
2.1 注册代理 请求新增欄位WebId

2020.02.04
3.33
新增 2.6 取得体育Forecast页面

2020.02.05
3.34
新增 2.7 取得体育Last50页面

2020.02.06
3.35
新增 3.18 依据WebId修改联赛下注设定
新增 3.19 依据WebId获取联赛下注设定
新增 3.20 依据WebId修改联赛群组下注设定
新增 3.21 依据WebId获取联赛群组下注设定

2020.02.06
3.36
新增 3.22 修改玩家UserGroup

2020.02.06
3.37
新增 IONLC 至 6.14. 无缝游戏提供商产品类别
新增 IONLC 至 6.15. 无缝游戏提供商

2020.02.06
3.38
更新 6.11 运动

2020.02.17
3.39
更新 3.13 获取联赛代码与名称

2020.02.18
3.40
更新 5.8 获取注单详细资料

2020.03.03
3.41
Add 新增 5.20 根据注单最后修改时间获取 Live Casino Beauty 注單

2020.03.04
3.42
第五章排版修改
修改5.3 获取注单详细资料注单序号的连接
新增 I.16. 沙巴体育注单. I.16.1 SabaSportsSubBet 沙巴体育注单明细 I.17 沙巴赔率类型
修改 5.15 根据修改时间获取客户沙巴体育注单报表 的path
新增3.2.7 获取无缝游戏列表
新增I.14. 无缝游戏提供商游戏产品类别

2020.03.13
3.43
3.1.3 登入后导页到真人赌场 新增参数 - productId

2020.03.13
3.44
可以搜寻虚拟运动的全部注单,包含未结算的注单
5.5.4 根据修改时间获取客户虚拟运动注单报表
5.6.2 根据注单序号获取客户虚拟运动注单报表
5.10 根据注单最后修改时间获取虚拟运动注单

2020.04.27
3.45
添加IdnPoker相关的API。
5.23 根据IdnPoker交易清单
5.24 根据TransId获取IdnPoker下注列表
5.25 根据Modifydate與客户名获取IdnPoker投注列表
5.26 根据ModifyDate获取IdnPoker投注列表

2020.06.09
3.46
新增 根据注单序号获取无缝游戏注单全部状态 5.6.4 GetSeamlessGameProviderBetListByRefNosWithAllBetStatus

2020.07.09
3.47
新增 根据ModifyDate获取体育和虚拟运动投注列表 5.27 GetSportsAndVirtualSportsBetListByModifyDate

2020.08.10
3.49
新增 检查体育博彩玩家可疑行为 3.24 CheckPlayerSuspiciousBehaviorForSports

2021.01.20
3.50
新增 登入后导页到利记明星秀 3.2.7 RedirectToSBOLive

2021.06.22
3.51
Casino 注單列表 response 增加 BetDetail、GameResult.
5.2 GetBetList
5.5.3 GetCasinoBetListByModifyDate
5.6.1 GetCasinoBetListByTransid
5.8. Get Customer Casino Bet List By Modifydate
5.20 Get Customer Live Casino Beauty Bet List By ModifyDate
Appendix I.6.1 Casino Bet 真人赌场注单

2022.01.10
3.60
新增 登入后导页到568Win真人赌场 3.2.8 RedirectTo568WinCasino
Appendix I.6.1 Casino Bet 真人赌场注单

2022.01.20
3.61
新增 登入后导页到568Win体育博彩 3.2.9 RedirectToSportsBook568
2022.03.31
3.62
废弃专属568Win的获取注单Api,
改为使用原本获取注单API

1. 废弃 5.6.5 根据568Win体育博彩注单序号获取客户注单报表
2. 废弃 5.7.1 根据568Win体育博彩注单最后修改时间获取体育注单
2022.06.24
3.63
新增 Sboslot老虎机游戏 3.2.4 登入后导页到电子游戏
14000124 - 猪赛跑
14000125 - 大富翁向钱跑
2022.06.24
3.64
新增 5.7 Note:Fast Market BetOption注意事项
修改 Appendix I.7.2 SportsSubBet betOption 说明

2022.07.14
3.65
新增 'kh-mr' Appendix I.9. Language

2022.07.14
3.66
虚拟体育 新增 Bundesliga
I.6.3 VirtualSportsBet
I.18 SportsAndVirtualSportsBet
GameType

2022.07.25
3.67
增加备注 3.2.8 Redirect to 568WinCasino

2022.08.10
3.7
增加 8.1 赛事推荐

2022.09.10
3.71
增加 3.26. 根据修改时间获取体育博彩标注风险标签玩家

2022.09.23
3.72
移除 'fr-fr' I.9. Language
备注增加 'virtualSports'k 5.1 获取客户报表

2022.09.26
3.73 新增幣別: AED/BRL/MXN/RUB 2022.10.04
3.74 增加盘口 部分Bet Option翻译 I.10 盘口 2022.10.13
3.75
I.7 体育博彩注单 增加注单结算时间
相关 API
5.5.1 根据修改时间获取客户历史注单的详细资料
5.5.2 根据修改时间获取客户注单报表
5.6 根据注单序号获取客户注单报表
5.7 根据注单最后修改时间获取体育注单

调整SBOLive翻译名称 : SBO线上直播 -> 利记明星秀
2022.10.25
3.76
API添加lang参数
相关 API
5.5.4 根据修改时间获取客户虚拟运动注单报表
5.6.2 根据注单序号获取客户虚拟运动注单报表
5.10 根据注单最后修改时间获取虚拟运动注单

2022.12.08
3.77
废弃利记明星秀Api
1. 废弃 3.2.7 登入后导页到利记明星秀
2. 废弃 5.12 根据注单最后修改时间获取利记明星秀SBOLive注单
3. 废弃 5.28 根据ModifyDate获取LiveCoin购买纪录
2023.01.03
3.78
废弃免转钱包中小费Api
2023.02.09
3.79
新增 1.7 新系统支持 Api 列表
2023.03.16
3.80 SBO Main 主题新增支持 I.9. Language语言 ,包括德语、西班牙语、俄罗斯语、葡萄牙语、日语、泰米尔语、高棉文和法文。 2023.04.14

1.6 免责声明

请注意新加坡、菲律宾及台湾列为禁止地区,所有來自于上述三地區的活动存取将被拒绝。

1.7 新系统支持

新系统支持以下Api
  • 2.1 注册代理
  • 2.2 更新代理下注设定
  • 2.3 修改代理状态
  • 2.4 修改域名
  • 3.1 注册会员
  • 3.2 会员登入
  • 3.4 会员存款
  • 3.5 会员提款
  • 3.6 检查存提款交易状态
  • 3.7 获取会员余额
  • 3.9 更新会员下注设定
  • 3.10 根据运动与盘口修改会员下注设定
  • 3.12 GetMemberBetSettingsWithSportTypeAndMarketType
  • 4.4 获取UM设定
  • 5.1 获取客户报表
  • 5.5.1 根据修改时间获取客户历史注单的详细资料
  • 5.5.2 根据修改时间获取客户注单报表
  • 5.5.3 根据修改时间获取客户真人赌场注单报表
  • 5.5.4 根据修改时间获取客户虚拟运动注单报表
  • 5.6 根据注单序号获取客户注单报表
  • 5.6.3 根据注单序号获取无缝游戏注单
  • 5.7 根据注单最后修改时间获取体育注单
  • 5.8 根据注单最后修改时间获取真人賭場注單
  • 5.9 根据注单最后修改时间获取游戏注单
  • 5.11 根据注单最后修改时间获取无缝游戏注单
  • 5.20 根据注单最后修改时间获取 Live Casino Beauty 注單
  • 5.21 根据注单号来拿取详细下注情况
  • 5.22 根据修改时间來拿取无缝游戏winlost报表
  • 2. 代理 API

    2.1 注册代理

    在白牌系统中注册代理。每个代理名称必须为唯一。
    请参考 V.1. 注册代理
    name sample
    path
    http://{api-domain}/web-root/restricted/agent/register-agent.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"serverId" : "server ID",
    	"username" : "agt001",
    	"currency" : "USD",
    	"country" : "ID",
    	"language" : "en",
    	"themeId" : "1",
    	"webId" :"1",
    	"min" : "10",
    	"max" : "1000",
    	"maxPerMatch" : "5000",
    	"betSettings": [{"sport_type":"1","market_type":"1","min_bet":"1","max_bet":"2","max_bet_per_match":"3"}, {"sport_type":"2","market_type":"3","min_bet":"1","max_bet":"2","max_bet_per_match":"3"}]
    }
    
    ResponseBody
    {
    	"serverId" : "server ID",
    	"error" :  { "id" : 0, "msg" : "no error"}
    }
    
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    currency Currency Yes 币种。请参考币种
    country String(2) No 国家代码。依据ISO 3166-1二位字母代码之国家代码
    language Language No 语言。若无指定则为系统预设。请参考语言
    webId Int No 预设值为0。 用来区分该代理归属在哪个客户/群组/网站之下。
    themeId Int Yes 视觉主题。请参考附录II 检视更多主题。
    请注意此设定仅影响体育博彩,不影响真人赌场与电子游戏。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    min Decimal Yes 设定此代理下每位玩家之最小注单金额,仅影响设定后新注册的玩家。
    max Decimal Yes 设定此代理下每位玩家之最大注单金额,仅影响设定后新注册的玩家。
    maxPerMatch Decimal Yes 设定此代理下每位玩家于单场赛事之最大注单金额,仅影响设定后新注册的玩家。
    casinoTableLimit Int No 值:1:低,2:中,3:高,4:VIP(ALL)。此值影响玩家的注单金额范围,若无设定则预设为VIP。
    新注册的玩家会遵照其代理的casinoTableLimit设定
    请参考 V.8. Table Limit
    betSettings Array No 注单设定的阵列,阵列中包含最小注单、最大注单、最大单场赛事注单、 运动盘口
    (最小注单,最大注单,最大单场赛事注单,請使用int)
    此设定会影响此代理下的新玩家
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    2.2 更新代理下注设定

    在白牌系统中更新代理下注设定。
    请求中的参数casinoTableLimit将套用于此代理下新注册玩家的casinoTableLimit而不会套用至此代理下现有玩家的casinoTableLimit。
    请参考 V.3. 更新代理下注设定
    
    name sample
    path
    http://{api-domain}/web-root/restricted/agent/update-agent-bet-settings.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"username": "agt001",
    	"serverId" : "server ID",
    	"min" : "10",
    	"max" : "1000",
    	"maxPerMatch" : "5000",
    	"casinoTableLimit": "4"
    }
    
    ResponseBody
    {
    	"serverId" : "server ID",
    	"error" :  { "id" : 0, "msg" : "no error"}
    }
    
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    min Decimal No 设定此代理下每位玩家之最小注单金额,仅影响设定后新注册的玩家。
    max Decimal No 设定此代理下每位玩家之最大注单金额,仅影响设定后新注册的玩家。
    maxPerMatch Decimal No 设定此代理下每位玩家于单场赛事之最大注单金额,仅影响设定后新注册的玩家。
    casinoTableLimit Int No 值:1:低,2:中,3:高,4:VIP(ALL)。此值影响玩家的注单金额范围,若无设定则预设为VIP。
    新注册的玩家会遵照此代理的casinoTableLimit设定,此代理下已注册的玩家将不受影响。
    请参考 V.8. Table Limit
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    2.3 修改代理状态

    更新代理的状态至'closed'/'suspend'/'active'。 如果状态为'closed',代理底下的会员将无法登入白牌系统。如果状态为'suspend',代理底下的会员可以登入,但是无法下注。代理状态更改的影响会马上生效。
    name sample
    path
    http://{api-domain}/web-root/restricted/agent/update-agent-status.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"serverId" : "server ID",
    	"username" : "agt001",
    	"status" : "active"
    }
    
    ResponseBody
    {
    	"error" :  { "id" : 0, "msg" : "no error"},
    	"serverId" : "server ID"
    }
    
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    status String(10) Yes 值: active/suspend/closed. 请参考帐号状态
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    2.4 修改域名

    每位代理都拥有自己的网域列表, 代理底下的会员只能从该代理的网域列表里的网域登入。网域列表预设为空。如果白牌系统拥有者想使用自己的URL,请使用CName,以避免在呼叫函式时产生错误。
    name sample
    path
    http://{api-domain}/web-root/restricted/agent/update-domains.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"serverId" : "server ID",
    	"username" : "agt001",
    	"domains" : ["domain1.com","domain2.com","domain3.com","domain4.com"]
    }
    
    ResponseBody
    {
    	"error" :  { "id" : 0, "msg" : "no error"},
    	"serverId" : "server ID"
    }
    
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    domain String(20)[] Yes 预设定之domain阵列
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    2.5 登入后台

    呼叫此函式能够得到一组token来登入白牌后台系统。
        
    细节:
    传回的token是这次登入session的一次性密码,并且会在20秒内失效。
    使用:
    第一步: 呼叫函式取得 token
    第二步: 在您的代码中利用token组成以下网址
    http://{admin-domain}/welcome.aspx?token=37.3f10ce59d7d8775c40c0a197d422590f&toUrl=BackOffice&lang=en
    第三步: 将会员重新导向第二步的网址
    其他选项: 您也可以使用您用来注册API文件的账号密码来登入后台。
    name sample
    path
    http://{api-domain}/web-root/restricted/agent/login-backoffice.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
            "companyKey" : "{ CompanyKey }",
            "account" : "{ Back office account }",
            "serverId" : "server ID"
    }
    
    ResponseBody
    {
            "Token" : "37.3f10ce59d7d8775c40c0a197d422590f",
            "error" : { "id" : 0, "msg" : "no error"},
            "serverId" : "server ID"
    }
    
    remark
    Request
    Field Name Type Required Description
    account String(32) Yes 后台操作者帐号
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    Token String Yes 登入后台所需之Token
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    2.6 取得体育Forecast页面链接

    调用此接口取得体育Forecast页面链接。
        
    WebId 预设值为0, isGetAll预设值为false.
    name sample
    path
    http://{api-domain}/web-root/restricted/page/get-forecast-page.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
            "companyKey" : "{ CompanyKey }",
            "webId" : 1,
            "isGetAll" : false,
            "serverId" : "server ID"
    }
    
    ResponseBody
    {
            "url" : "http://xxx.net/welcome.aspx?token=token&toUrl=Forecast&lang=en",
            "error" : { "id" : 0, "msg" : "no error"},
            "serverId" : "server ID"
    }
    
    remark
    Request
    Field Name Type Required Description
    webId int No 特定网页/群组/客户的web Id.
    isGetAll boolean No 无视WebId取得所有forecast内容. Default as False.
    companyKey String(64) Yes The key pre-agreed between fund provider and white label system.
    serverId String(15) Yes The ID of calling server for troubleshooting purposes, you can set your own server name as you wish. Each server ID must be unique.
    Response
    Field Name Type Required Description
    Url String Yes A url to access forecast page.
    error ApiError Yes Please refer to Api Error .
    serverId String(15) Yes The ID of calling server for troubleshooting purposes, you can set your own server name as you wish. Each server ID must be unique.

    2.7 取得体育Last50页面链接

    调用此接口取得体育Last50页面链接。
        
    WebId 预设值为0, isGetAll预设值为false.
    name sample
    path
    http://{api-domain}/web-root/restricted/page/get-last50-page.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
            "companyKey" : "{ CompanyKey }",
            "webId" : 1,
            "isGetAll" : false,
            "serverId" : "server ID"
    }
    
    ResponseBody
    {
            "url" : "http://xxx.net/welcome.aspx?token=token&toUrl=Last50&lang=en",
            "error" : { "id" : 0, "msg" : "no error"},
            "serverId" : "server ID"
    }
    
    remark
    Request
    Field Name Type Required Description
    webId int No 特定网页/群组/客户的web Id.
    isGetAll boolean No 无视WebId取得所有last50内容. Default as False.
    companyKey String(64) Yes The key pre-agreed between fund provider and white label system.
    serverId String(15) Yes The ID of calling server for troubleshooting purposes, you can set your own server name as you wish. Each server ID must be unique.
    Response
    Field Name Type Required Description
    Url String Yes A url to access last50 page.
    error ApiError Yes Please refer to Api Error .
    serverId String(15) Yes The ID of calling server for troubleshooting purposes, you can set your own server name as you wish. Each server ID must be unique.

    2.8 修改代理预设 UserGroup

     呼叫此函式可以修改代理的预设 UserGroup
    新注册会员會採用此设定,但不会影响到现有会员
    name sample
    path
    http://{api-domain}/web-root/restricted/Agent/update-agent-preset-user-group.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
                            "companyKey" : "{ CompanyKey }",
                            "username" : "testAgent",
                            "userGroup" : "c",
                            "serverId" : "server ID"
                    }
                                    
    ResponseBody
    {"error":{"id":0,"msg":"NoError"},"serverId":"server ID"}
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    username string(20) Yes 代理用戶名
    userGroup String Yes 設定的UserGroup。 可能值為 'a','b','c','d','e','f' .
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3. 会员 API

    3.1 注册会员

    在白牌系统注册会员.
    每个会员都必须有一个代理,会员层级为 公司 -> 代理 -> 会员.
    新玩家的默认TableLimit为其代理的TableLimit设定。
    请参考 V.2. 注册会员
    name sample
    path
    http://{api-domain}/web-root/restricted/player/register-player.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"username" : "aaa01",
    	"agent" : "agt001",
    	"language" : "en",
    	"serverId" : "server ID"
    }
    
    ResponseBody
    {
    	"error" :  { "id" : 0, "msg" : "no error"},
    	"serverId" : "server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    agent String(20) Yes 代理的会员名称。该名玩家的代理。
    country String(2) No 国家代码。依据ISO 3166-1二位字母代码之国家代码
    language Language No 语言。若无指定则为系统预设。语言
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.2 会员登入

    呼叫此函式能够得到一组token来登入白牌系统。 这组token是这次登入session的一次性密码,并且会在20秒内失效。 玩家在登入白牌系统时,需要验证这组token。有了这组token,客户端可以导到体育博彩的入口,以体育博彩为例:http://{sportsbook-domain}/ ,其入口为 http://{sportsbook-domain}/welcome2.aspx?token=token&lang=en&oddstyle=MY&theme=black&oddsmode=double&device=d
    name sample
    path
    http://{api-domain}/web-root/restricted/player/login.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"username" : "aaa01",
    	"portfolio" : "casino",
    	"serverId" : "server ID"
    }
    
    ResponseBody
    {
    	"username" : "aaa01",
    	"token" : "21321.JKDFAxk217daJLKdfa",
    	"error" :  { "id" : 0, "msg" : "no error"},
    	"serverId" : "server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    portfolio String(10) No 若想要登入体育博彩你可以输入"1" 或 "SportsBook"
    预设值为体育博彩
    输入 别名
    体育博彩 1 SportsBook
    真人赌场 7 Casino
    电子游戏 3 Games
    虚拟运动 3 VirtualSports
    無縫遊戲页面 9 SeamlessGameProviderApi
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    token String Yes 登入用Token
    error ApiError Yes 错误。请参考Api 错误.
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.2.1 登入后导页到体育博彩

    接收到登入回应后,请使用该组token并导页至体育博彩的欢迎页面。*提醒:请使用sports-而不是sports. 在URL的开头
    name sample
    Uri
    http://{sportsbook-domain}/welcome2.aspx?token=token&lang=en&oddstyle=MY&theme=black&oddsmode=double&device=d&recommendMatchId=24503959
    lang
    语言。请参考 语言
    oddstyle
    MY : Malay odds
    HK : HongKong odds
    EU : Euro odds
    ID : Indonesia odds
    theme
    如果想要置换视觉主题,于URL加入&theme=black,"black"可依照下列视觉主题置换
    请参考  附录II 检视更多主题。
                        请注意此设定仅影响体育博彩,不影响真人赌场与电子游戏。
    oddsmode
    Double / Single
    device
    桌上型电脑 => 'd' / '1'
    手机 => 'm' / '2'
    RecommendMatchId
    非必填, recommended matchId 可以从 8.1. 赛事推荐获取

    3.2.2 登入后导页到体育博彩WAP版

    接收到登入回应后,请使用该组token并导页至体育博彩WAP版的欢迎页面。WAP为轻量级的体育博彩业面. 您​​可以参阅 这个图片.
            *提醒:请使用wap-而不是wap. 在URL的开头
    name sample
    Uri
    http://{sportsbookwap-domain}/web_root/public/welcome.aspx?token=token&lang=en&lcount=0&site=i&oddStyle=ID
    lang
    语言。请参考 语言

    3.2.3 登入后导页到真人赌场

    接收到登入回应后,请使用该组token并导页至真人赌场的欢迎页面。*提醒:请使用lobby-而不是lobby. 在URL的开头
    name sample
    Uri
    http://{casino-domain}/welcome.aspx?token=token&locale=en&sb={sportsbook-domain}&device=d&loginMode=2&productId=3
    locale
    语言。请参考 语言
    sb
    Your Sportsbooks url
    device
    d : 桌上型电脑
    m : 手机
    loginMode
    Html5 => 2
    productId
                            
    Product ID 游戏名称
    0(预设) 大厅
    1 百家乐
    3 轮盘
    5 骰宝
    9 龙宝
    10 多桌百家乐
    11 美女百家乐
    12 极速百家乐

    3.2.4 登入后导页到电子游戏

    接收到登入回应后,请使用该组token并导页至电子游戏的欢迎页面。*提醒:请使用rng-而不是rng. 在URL的开头
    name sample
    Uri
    http://{game-domain}/web-root/public/?gameId=gameId&token=token
    gameId
    其中电子游戏入口的Game ID如下表:
                        
    Game ID 电子游戏名称 装置 类型
    6101 皇家百家乐 电脑 电子游戏
    6102 皇家轮盘 电脑 电子游戏
    6103 皇家骰宝 电脑 电子游戏
    6104 皇家21点 电脑 电子游戏
    6105 皇家多手21点 电脑 电子游戏
    6106 龙宝 电脑 电子游戏
    604501 Money Roll 电脑 电子游戏
    602801 皇家百家乐 手机 电子游戏
    602802 皇家轮盘 手机 电子游戏
    602803 皇家骰宝 手机 电子游戏
    602804 皇家21点 手机 电子游戏
    602805 皇家多手21点 手机 电子游戏
    602811 龙宝 手机 电子游戏
    604501 Money Roll 手机 电子游戏
    610001 活力宾果! 电脑 电子游戏
    Sboslot 游戏表
    Game ID 电子游戏名称 装置
    14000001大富翁老虎机
    14000003侏㑩纪公园(消除)老虎机
    14000004万圣节老虎机
    14000005惊奇马戏团(消除)老虎机
    14000006太王四神记老虎机
    14000007摆脱8(消除)老虎机
    14000008黄金选择老虎机
    14000009财富发发老虎机
    14000010钻石永恒老虎机
    14000011击鼓迎福老虎机
    14000012盛世牡丹老虎机
    14000018白金老虎机
    14000019黄金传奇老虎机
    14000020永恒宝钻老虎机
    14000021财源滚滚老虎机
    14000022花开富贵老虎机
    14000023锣鼓生财老虎机
    14000039美洲野牛老虎机
    14000041古怪猴子老虎机
    14000042龙龙龙老虎机
    14000043发发发老虎机
    14000044777老虎机
    14000045超级8老虎机
    14000046电音大蜘蛛老虎机
    14000047波利之城老虎机
    14000048飞龙在天老虎机
    14000049要咡神明的话老虎机
    14000050饥饿的鲨鱼老虎机
    14000051死党的游戏老虎机
    14000052泰山老虎机
    14000053钻石角子老虎机
    1400005450 雄狮老虎机
    14000055极速赛车(消除)老虎机
    14000056复仇者 Tsum Tsum(消除)老虎机
    14000057爱做梦的熊大老虎机
    14000058中华小当家老虎机
    14000059五路财神老虎机
    14000060捕鱼达人老虎机
    14000061招财童子老虎机
    14000062招财进宝老虎机
    14000063湛蓝深海老虎机
    14000064海洋派对老虎机
    14000065变装皇后的珠宝老虎机
    14000066幸运双子老虎机
    14000067探索太阳老虎机
    14000068五龙老虎机
    14000069财神到老虎机
    14000070真.招财进宝老虎机
    14000071金币农场老虎机
    14000072五花争艳老虎机
    14000073七福神老虎机
    14000074九门点天灯老虎机
    14000075五子戏弥勒老虎机
    14000076六狮王朝老虎机
    14000077秋秋羊老虎机
    14000078冒险岛老虎机
    14000079太鼓达人老虎机
    14000080阴阳师老虎机
    14000081加勒比海盗老虎机
    14000082战舰少女老虎机
    14000083无限战争老虎机
    14000084战锤40K老虎机
    14000085旅行青蛙老虎机
    14000086天天过马路老虎机
    14000087僵尸猎人老虎机
    14000089人工少女老虎机
    14000090落樱散华抄老虎机
    14000091舞狮争霸老虎机
    14000092危鸡生存老虎机
    14000093光明与深渊老虎机
    14000094爱丽丝老虎机
    14000095摸金校尉老虎机
    14000096野蛮丛林老虎机
    14000097水浒老虎机
    14000098军事风云老虎机
    14000099魔法门老虎机
    14000100魔法糖果老虎机
    14000102热带海洋老虎机
    14000103阿拉丁老虎机
    14000104奥丁之怒老虎机
    14000105埃及迷城老虎机
    14000106侍忍老虎机
    14000107狐仙老虎机
    14000108杰克与魔豆老虎机
    14000109大吉大利老虎机
    14000110期待黎明老虎机
    14000111维京冰风暴老虎机
    14000112慢摇老虎机
    14000113勇闯黄金城老虎机
    140001145PK棋牌
    14000115阿拉丁2老虎机
    14000117招财转盘棋牌
    14000118狂野5PK棋牌
    14000119森林舞会棋牌
    14000121国际骰宝棋牌
    14000122射龙门棋牌
    14000123鱼虾蟹棋牌
    14000124猪赛跑老虎机
    14000125大富翁向钱跑老虎机

    3.2.5 登入后导页到虚拟运动

    接收到登入回应后,请使用该组token并导页至虚拟运动页面。
    *提醒: 请使用virtualsports-而不是virtualsports. 在URL的开头
    *提醒: 程式将自动侦测使用者的装置(桌上型电脑/手机),并提供对应网页版本。
    
    name sample
    Uri
    http://{virtualsports-domain}/Home/Welcome?gmOnlineId=3458478272&token=token&lang=en
    lang
    *目前仅支援 : English(en)/繁中(zh-tw)/简中(zh-cn)/Indo(id-id)/Thai (th-th)
    *以下语言将会以英文呈现 : Vietname (vi-vn)/Russian (ru-ru )/Japanese (ja-jp)/Korean (ko-kr)/Deutsch (de-de)/Spanish (es-es)
    *不支援的语言 : Burmese(my-mm), Português(pt -pt), Français(fr-fr)
    请参考 语言

    3.2.6 登入后导页到無縫遊戲页面

    接收到登入回应后,请使用该组token并导页至無縫遊戲页面。
    *Reminder: Please use gp- instead of gp.
    如果需要iframe无缝游戏页面,Uri请使用 https
    name sample
    Uri
    http://{gameprovider-domain}/Game/Welcome?gpid=0&gameid=0&token=token&lang=en&device=d&betCode=5CNY2050000_5CNY100200000
    lang
    *目前仅支援 : English(en)/繁中(zh-tw)/简中(zh-cn)/Indo(id-id)/Thai (th-th)
    *以下语言将会以英文呈现 : Vietname (vi-vn)/Russian (ru-ru )/Japanese (ja-jp)/Korean (ko-kr)/Deutsch (de-de)/Spanish (es-es)
    *不支援的语言 : Burmese(my-mm), Português(pt -pt), Français(fr-fr)
    请参考 语言
    gpid/gameid
    gpid : 此參數代表玩家要到哪個遊戲提供商的遊戲
                        
    gameid: 此參數代表登入後要到哪個遊戲或是大廳
    gameid 和 gpid 的對照表請參考 I.14. 无缝游戏提供商
    如果gameid与gpid没有输入参数,将会导到预设页面:游戏大厅
    * 我们诚挚的建议您方使用我司所提供的“游戏大厅”或“Casino大厅”。 * 我司连同所有其他游戏皆包含在“游戏大厅”及“Casino大厅”中,助于提升玩家游玩体验 * GAMES LOBBY => gpid:10000 gmaeid:0 * CASINO LOBBY => gpid:10000 gmaeid:1
    device
    桌上型电脑 => 'd' 
    手机 => 'm' 
    betCode
    此参数代表可以调整第三方游戏的限额在登入前,如需设定多個限额,请使用"_"(Ex. 0BACCNY1100_0BACCNY5500)作区分,参数请参考第三方限额表

    3.2.7 登入后导页到利记明星秀(废弃)

    接收到登入回应后,请使用该组token并导页至利记明星秀的欢迎页面。*提醒:请使用sports-而不是sports. 在URL的开头
    name sample
    Uri
    http://{sportsbook-domain}/welcomeSBOLive.aspx?token=token&lang=en
    lang
    语言。请参考 语言

    3.2.8 登入后导页到568Win真人赌场

    接收到登入回应后,请使用该组token并导页至真人赌场的欢迎页面。
    *提醒:请使用lobby568-而不是lobby. 在URL的开头
    *仅支援 菲律宾比索(PHP).
    name sample
    Uri
    http://{casino-domain}/welcome.aspx?token=token&locale=en&sb={sportsbook-domain}&device=d&loginMode=2&productId=3
    locale
    语言。请参考 语言
    sb
    Your Sportsbooks url
    device
    d : 桌上型电脑
    m : 手机
    loginMode
    Html5 => 2
    productId
                        
    Product ID 游戏名称
    0(预设) 大厅
    1 百家乐
    3 轮盘
    5 骰宝
    9 龙宝
    11 美女百家乐
    12 极速百家乐

    3.2.9 登入后导页到568Win体育博彩

    接收到登入回应后,请使用该组token并导页至568Win体育博彩的欢迎页面。*提醒:请使用sports-而不是sports. 在URL的开头
    name sample
    Uri
    http://{sportsbook-domain}/welcomeSports568.aspx?token=token&lang=en&oddstyle=MY&oddsmode=double&device=d
    lang
    语言。请参考 语言
    oddstyle
    MY : Malay odds
    HK : HongKong odds
    EU : Euro odds
    ID : Indonesia odds
    oddsmode
    Double / Single
    device
    桌上型电脑 => 'd' / '1'
    手机 => 'm' / '2'

    3.2.10 获取无缝游戏列表(新)

    获取提供商所有游戏 (新)
    name sample
    path
    http://{api-domain}/web-root/restricted/seamlessgameprovider/get-seamlessgameprovider-game-list.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    param: {
        "gpid": "3",
        "isGetAll": "true",
        "companyKey": "{CompanyKey}",
        "serverId": "server ID"
    }
                        
    ResponseBody
    {
        "SeamlessGameProviderGames": 
        [
            {
                "GameProviderId": 3,
                "GameProvider": "PragmaticPlay",
                "GameId": 1,
                "GameType": "2",
                "Rank": 110,
                "Device": "d,m",
                "Platform": "HTML5",
                "Provider": "PragmaticPlay",
                "RTP": 0.9653,
                "Rows": 3,
                "Reels": 5,
                "Lines": 50,
                "GameInfos": [
                {
                "Language": "cn",
                "GameName": "3个精灵愿望",
                "GameIconUrl": "https://sbo-tw1.prerelease-env.biz/game_pic/rec/160/vs50aladdin.png"
                },
                {
                "Language": "en",
                "GameName": "3 Genie Wishes",
                "GameIconUrl": "https://sbo-tw1.prerelease-env.biz/game_pic/rec/160/vs50aladdin.png"
                },
                {
                "Language": "id",
                "GameName": "3 Hajat Jin",
                "GameIconUrl": "https://sbo-tw1.prerelease-env.biz/game_pic/rec/160/vs50aladdin.png"
                },
                {
                "Language": "jp",
                "GameName": "精霊の3つの願い",
                "GameIconUrl": "https://sbo-tw1.prerelease-env.biz/game_pic/rec/160/vs50aladdin.png"
                },
                {
                "Language": "kr",
                "GameName": "지니의 소원 3가지",
                "GameIconUrl": "https://sbo-tw1.prerelease-env.biz/game_pic/rec/160/vs50aladdin.png"
                },
                {
                "Language": "th",
                "GameName": "3 Hajat Jin",
                "GameIconUrl": "https://sbo-tw1.prerelease-env.biz/game_pic/rec/160/vs50aladdin.png"
                },
                {
                "Language": "vn",
                "GameName": "3 Điều ước của Thần linh",
                "GameIconUrl": "https://sbo-tw1.prerelease-env.biz/game_pic/rec/160/vs50aladdin.png"
                }
            ],
            "SupportedCurrencies": [],
            "BlockCountries": [],
            "IsMaintain": false,
            "IsEnabled": true
            },
            {
                "GameProviderId": 36,
                "GameProvider": "FlowGamingHub",
                "GameId": 1,
                "GameType": "3",
                "Rank": 1,
                "Device": null,
                "Platform": null,
                "Provider": "Kiron",
                "RTP": 0,
                "Rows": 0,
                "Reels": 0,
                "Lines": 0,
                "GameInfos": [
                {
                    "Language": "en",
                    "GameName": "Smart Play Keno",
                    "GameIconUrl": "/images/games/FlowGamingHub/KironGameIcons/161x118/KIR_Keno.png"
                }
                ],
                "SupportedCurrencies": ["CNY","IDR","INR","JPY","KRW","MYR","THB","USD","VND"],
                "BlockCountries": ["AU","BE","BG","CY","CZ","DE","DK","EE","ES","FI","FR","GR","HK",
                "HR","HU","IE","IT","LT","LU","LV","MT","NL","PH","PL","PT","RO","SE","SG","SI","SK"],
                "IsMaintain": false,
                "IsEnabled": true
            }
        ],
        "error":
        {
            "id":0,
            "msg":"NoError"
        },
        "serverId":"210"
    }
    
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    gpid int Yes 游戏提供商的序号
    isGetAll boolean Yes 无视GPID取得所有游戏内容. 预设为false.
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    GameProviderId int Yes 游戏提供商编号
    Gameprovider string Yes 提供商名称
    GameId int Yes 游戏编号
    GameType string Yes 游戏类别,请参考无缝游戏提供商游戏类别
    注意,如果游戏类型为9,则表示游戏大厅。 您可以通过相对应的游戏ID进入游戏大厅。
    Rank int Yes 游戏排名。值越小,排名越高
    Device String Yes 桌面版,行动版或全部 ('d':桌面版, 'm':行动版, 'd,m': 全部)
    Platform String Yes HTML5 或 Flash
    Provider string Yes 供应商名称。有子供应商会是子供应商名称。
    RTP decimal Yes 游戏的玩家回报率
    Rows int Yes 老虎机游戏的行数
    Reels int Yes 老虎机游戏的列数
    Lines int Yes 老虎机游戏的最大连线数
    GameInfos list Yes 游戏资讯。 如果路径开头为 '/' 请新增GameProvider的URL在最前面。范例:{GameProviderURL}/images/games/...
    SupportedCurrency String[] Yes 请参考币别.
    BlockCountries String[] Yes 请参考地区.
    IsMaintain boolean Yes 游戏是否正在维修
    IsEnabled boolean Yes 是否启用
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.3 修改会员状态

    更新会员状态至'closed'/'suspend'/'active'。如果状态更新为'closed',玩家将无法登入系统/如玩家已在系统内将会被踢出。如果状态更新为'suspend',玩家可以登入系统但无法下注。会员状态更改的影响会马上生效。
    name sample
    path
    http://{api-domain}/web-root/restricted/player/update-player-status.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"username" : "aaa01",
    	"status" : "closed",
    	"serverId" : "server ID"
    }
    
    ResponseBody
    {
    	"error" :  { "id" : 0, "msg" : "no error"},
    	"serverId" : "server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    status AccountStatus Yes 值: active/suspend/closed. 请参考帐号状态
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.4 会员存款

    呼叫此函式可以将钱从平台存入白牌系统。白牌系统只允许玩家以注册时输入的币别存入白牌系统。交易单号(txnid)为客戶产生用以识别该次交易。 参考单号(Reference no)为白牌系统产生并用以识别该次交易。 交易单号和参考单号是一对一匹配的。每个请求的交易单号必须为唯一,任何带着重复交易单号的请求都会回传错误(请求失败)。
    name sample
    path
    http://{api-domain}/web-root/restricted/player/deposit.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"username" : "aaa01",
    	"amount" : "1312.93",
    	"txnId" : "127DD-218-21387221",
    	"serverId" : "server ID"
    }
    
    ResponseBody
    {
            "txnId":"127DD-218-21387221",
            "refno":"5453",
            "balance":4515.0,
            "outstanding":600.0,
            "error":{
            "id":0,
            "msg":"NoError"
            },
            "serverId":"server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    amount Decimal Yes 存款金额。仅允许正数。
    txnId String(30) Yes 由平台产生的识别Id,在平台中所有交易Id(包含提款/存款)为唯一值。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    txnId String(30) Yes 由平台产生的识别Id,在平台中所有交易Id(包含提款/存款)为唯一值。
    refno String Yes 该笔注单的参考单号
    balance Decimal Yes 该玩家的现金余额,它还需要减去未结算投注才会是玩家的真正余额。
    outstanding Decimal Yes 未结算投注
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.5 会员提款

    呼叫此函式可以将钱从白牌系统提出至平台。 白牌系统只允许玩家以注册时输入的币别存入白牌系统。交易单号(txnid)为平台产生用以识别该次交易。 参考单号(Reference no)为白牌系统产生并用以识别该次交易。 交易单号和参考单号是一对一匹配的。每个请求的交易单号必须为唯一,任何带着重复交易单号的请求都会回传错误(请求失败)。
    玩家只允许提出可用余额。如果还有未结算的下注,玩家只能在该笔下注结算后才能提出该笔下注的款项。
    玩家提出的金额支援到一分币的单位,若超过限制,将会回报错误。
    范例:合法请求格式: 19.42 ;非法请求格式: 19.4297
    name sample
    path
    http://{api-domain}/web-root/restricted/player/withdraw.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"username" : "aaa01",
    	"amount" : "132.93",
    	"isFullAmount" : "False",
    	"txnId" : "7W-218-21387199",
    	"serverId" : "server ID"
    }
    
    ResponseBody
    {
            "amount":132.93,
            "txnId":"7W-218-21387199",
            "refno":"5454",
            "balance":4415.0,
            "outstanding":600.0,
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId":"server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    txnId String(30) Yes 由平台产生的识别Id,在平台中所有交易Id(包含提款/存款)为唯一值。
    amount Decimal Yes 金额。仅允许正数,若isFullAmount = True 则此值会被忽略。
    isFullAmount String(30) Yes 若isFullAmount = True ,则所有允许提出可用余额将被提取
    若isFullAmount = False,则request中的amount余额将被提取
    若没有提供isFullAmount,则为False
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    txnId String(30) Yes 由平台产生的识别Id,在平台中所有交易Id(包含提款/存款)为唯一值。
    refno String(20) Yes 该笔注单的参考单号
    amount Decimal Yes 金额。仅允许正数。
    balance Decimal Yes 该玩家的现金余额,它还需要减去未结算投注才会是玩家的真正余额。
    outstanding Decimal Yes 未结算投注
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.6 检查存提款交易状态

    呼叫此函式并提供交易单号可以查看交易状态。
    name sample
    path
    http://{api-domain}/web-root/restricted/player/check-transaction-status.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"txnId" : "7W-218-21387199",
    	"serverId" : "server ID"
    }
    
    ResponseBody
    {
    	"txnId" : "7W-218-21387199",
    	"refno" : "5454",
    	"transactionType" : "withdraw",
    	"amount" : -1,312.93,
    	"error" :  { "id" : 0, "msg" : "no error"},
    	"serverId" : "server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    txnId String(30) Yes 由平台产生的识别Id,在平台中所有交易Id(包含提款/存款)为唯一值。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    txnId String(30) Yes 由平台产生的识别Id,在平台中所有交易Id(包含提款/存款)为唯一值。
    refno String(20) Yes 该笔注单的参考单号
    transactionType String Yes 仅有两种类型。"deposit" : 由平台存款至白牌系统。"withdraw" : 由白牌系统提款至平台
    amount String Yes 当transactionType为"withdraw"时,值为负数
    当transactionType为"deposit"时,值为正数
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.7 获取会员余额

    呼叫此函式可以获取会员在白牌系统的余额。
    name sample
    path
    http://{api-domain}/web-root/restricted/player/get-player-balance.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"username" : "aaa01",
    	"serverId" : "server ID"
    }
    
    ResponseBody
    {
    	"username": "aaa01",
    	"currency": "CNY",
    	"balance": 1000,
    	"outstanding": 100,
    	"error" :  { "id" : 0, "msg" : "no error"},
    	"serverId": "server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    currency Currency Yes 币种。请参考币种
    balance Decimal Yes 该玩家的现金余额,它还需要减去未结算投注才会是玩家的真正余额。
    outStanding Decimal Yes 未结算投注
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.8 会员登出

    如果会员还在线,呼叫此函式可以登出会员,并清除该会员的Session。目前仅支援SBO產品
    name sample
    path
    http://{api-domain}/web-root/restricted/player/logout.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"username" : "aaa01",
    	"serverId" : "server ID"
    }
    
    ResponseBody
    {
    	"error" :  { "id" : 0, "msg" : "no error"},
    	"serverId" : "server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.8.1 会员登出無縫遊戲

    如果会员还在线,呼叫此函式可以登出於無縫遊戲中的会员,并清除该会员的Session。现阶段仅支援 12 (IONLC)
    name sample
    path
    http://{api-domain}/web-root/restricted/seamlessgameprovider/logout-player.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
            "gpid":"12",
            "username":"testPlayer",
            "isLogoutAll":"False",
            "CompanyKey":"{CompanyKey}",
            "serverId":"server ID"
            }
    ResponseBody
    {
        "error" : { "id" : 0, "msg" : "no error"},
        "serverId" : "server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。 同时,也可输入代理名称,此功能将会将所以此代理下的玩家登出。
    gpid String(20) Yes 要登出之无缝游戏代号, 可能的值为 无缝游戏提供商
    现阶段仅支援 12 (IONLC)
    isLogoutAll Bool Yes 是否需要登出全部玩家,可能的值为 True, False
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.9 更新会员下注设定

    呼叫此函式可以更新会员在白牌系统的下注设定。每场比赛最大下金注额必须大于等于最大下注金额,且最大下注金额必须大于等于最小下注金额。请参考 V.4. 更新会员下注设定
    **若要更新代理在白牌系统的下注设定,请参考 2.2. 更新代理下注设定
    name sample
    path
    http://{api-domain}/web-root/restricted/player/update-player-bet-settings.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"username":" aaa01",
    	"serverId" : "server ID",
    	"min" : "10",
    	"max" : "1000",
    	"maxPerMatch" : "5000",
    	"casinoTableLimit" : "4"
    }
    
    ResponseBody -
    会员下注设定更新成功
    {
    	"error" :  { "id" : 0, "msg" : "no error"},
    	"serverId" : "server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    min Decimal No 设定此玩家之最小注单金额,如果值不存在则值不会更新。
    max Decimal No 设定此玩家之最大注单金额,如果值不存在则值不会更新。
    maxPerMatch Decimal No 设定此玩家于单场赛事之最大注单金额,如果值不存在则值不会更新。
    casinoTableLimit Int No 值:1:低,2:中,3:高,4:VIP。此值影响玩家的注单金额范围,如果值不存在则值不会更新。
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.9.1 更新多个会员下注设定

    呼叫此函式可以更新多个会员在白牌系统的下注设定。每场比赛最大下金注额必须大于等于最大下注金额,且最大下注金额必须大于等于最小下注金额。请参考 V.4. 更新会员下注设定
    **若要更新代理在白牌系统的下注设定,请参考 2.2. 更新代理下注设定
    name sample
    path
    http://{api-domain}/-root/restricted/player/update-multiple-players-bet-settings.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"usernames": ["aaa01", "aaa02", "aaa03"], 
    	"serverId" : "server ID",
    	"min" : "10",
    	"max" : "1000",
    	"maxPerMatch" : "5000",
    	"casinoTableLimit" : "4"
    }
    
    ResponseBody -
    会员下注设定更新成功
    {
    	"error" :  { "id" : 0, "msg" : "no error"},
    	"serverId" : "server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    usernames Array Yes 会员名称阵列。每个会员长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    min Decimal No 设定此玩家之最小注单金额,如果值不存在则值不会更新。
    max Decimal No 设定此玩家之最大注单金额,如果值不存在则值不会更新。
    maxPerMatch Decimal No 设定此玩家于单场赛事之最大注单金额,如果值不存在则值不会更新。
    casinoTableLimit Int No 值:1:低,2:中,3:高,4:VIP。此值影响玩家的注单金额范围,如果值不存在则值不会更新。
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.10 根据运动与盘口修改会员下注设定

    呼叫此函式可以根据运动与盘口修改会员在白牌系统的下注设定。
    每场比赛最大下金注额必须大于等于最大下注金额,且最大下注金额必须大于等于最小下注金额。
    输入代理名称将修改其底下的所有现存会员的下注设定。新注册玩家将不会使用此投注设置
    请参考附录V图示
    V.5. 运动与盘口下注设定
    V.6.更新代理运动与盘口下注设定
    V.7.更新会员运动与盘口下注设定
    
    name sample
    path
    http://{api-domain}/web-root/restricted/betsetting/update-bet-setting-by-sportid-and-markettype.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
            "companyKey" : "{CompanyKey}",
            "username": "aaa01",
            "serverId" : "server ID",
            "betSettings": [{"sport_type":"1","market_type":"1","min_bet":"1","max_bet":"2","max_bet_per_match":"3"}, {"sport_type":"2","market_type":"3","min_bet":"1","max_bet":"2","max_bet_per_match":"3"}, {"sport_type":"0","market_type":"40","min_bet":"1","max_bet":"2","max_bet_per_match":"3"}]
        }
    
    ResponseBody
    {
    	"error" :  { "id" : 0, "msg" : "no error"},
    	"serverId" : "server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    betSettings Array Yes 下注设定的阵列,阵列中包含最小注单、最大注单、最大单场赛事注单、 运动盘口
    (最小注单,最大注单,最大单场赛事注单,請使用int)

    若您要设置混合过关的下注设定,请将 sport_type 设为 0、market_type 设为 40
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.11. 根据运动与盘口修改代理预置下注设定

    呼叫此函式可以根据运动与盘口修改代理在白牌系统的下注设定。
    每场比赛最大下金注额必须大于等于最大下注金额,且最大下注金额必须大于等于最小下注金额。
    只接受输入代理名称输入的下注设定将不会应用到现有会员但是会影响新注册会员 
    name sample
    path
    http://{api-domain}/web-root/restricted/betsetting/update-agent-preset-bet-setting-by-sportid-and-markettype.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"username": "aaa01",
    	"serverId" : "server ID",
    	"betSettings": [{"sport_type":"1","market_type":"1","min_bet":"1","max_bet":"2","max_bet_per_match":"3"}, {"sport_type":"2","market_type":"3","min_bet":"1","max_bet":"2","max_bet_per_match":"3"}, {"sport_type":"0","market_type":"40","min_bet":"1","max_bet":"2","max_bet_per_match":"3"}]
    }
    
    ResponseBody
    {
    	"error" :  { "id" : 0, "msg" : "no error"},
    	"serverId" : "server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    betSettings Array Yes 下注设定的阵列,阵列中包含最小注单,最大注单,最大单场赛事注单, 运动盘口
    (最小注单,最大注单,最大单场赛事注单,請使用int)
    - 此设定会影响此代理下的新玩家。
    - 若您要设置混合过关的下注设定,请将 sport_type 设为 0、market_type 设为 40。
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.12 GetMemberBetSettingsWithSportTypeAndMarketType

    呼叫此函式可以獲取会员包含運動與盤口的下注設定
    name sample
    path
    http://{api-domain}/web-root/restricted/betsetting/get-member-bet-settings-with-sportid-and-markettype.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"username": "aaa01",
    	"serverId" : "server ID"
    }
    
    ResponseBody
    {
            "betsetting":[
            {
                "sport_type":0,
                "market_type":0,
                "min_bet":10,
                "max_bet":100,
                "max_bet_per_match":100000
            },{
                "sport_type":1,
                "market_type":1,
                "min_bet":1,
                "max_bet":2,
                "max_bet_per_match":3
            },{
                "sport_type":2,
                "market_type":3,
                "min_bet":1,
                "max_bet":2,
                "max_bet_per_match":3
            }],
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId":"server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    betSettings Array Yes 下注设定的阵列,阵列中包含最小注单,最大注单,最大单场赛事注单, 运动盘口
    (最小注单,最大注单,最大单场赛事注单,請使用int)
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.13 获取联赛代码与名称

    呼叫此函式可以获取联赛代码与名称
    name sample
    path
    http://{api-domain}/web-root/restricted/league/get-league.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
        "companyKey": "{CompanyKey}",
        "serverId": "server ID",
        "leagueNameKeyWord": "cup",
        "fromDate": "2019-05-01",
        "endDate": "2019-05-31",
        "sportType": "1"
    }
    
    ResponseBody
    {
            "leagues": [
                {
                    "league_id" : "2324",
                    "league_name" : "King's Cup (in Thailand)": 
                },
                {
                    "league_id" : "2232",
                    "league_name" : "New Zealand ISPS Handa Chatham Cup": 
                }
            ],
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId":"server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 会员名称。长度不得大于20字元。仅允许数字或字母且会员名称需唯一。
    leagueNameKeyWord String(50) Yes 联赛名称的关键字
    fromDate Date Yes 联赛下赛事的起始日期
    endDate Date Yes 联赛下赛事的结束日期
    sportType int Yes 联赛的运动,请参考 运动. 此API不能输入sportType=0
    Response
    Field Name Type Required Description
    leagues Array Yes 联赛的阵列,阵列中包含联赛代码,联赛名称
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.14 修改联赛下注设定

    呼叫此函式可以通过联赛代码,币别,赛事是否滚球来设定修改联赛下注设定 
    name sample
    path
    http://{api-domain}/web-root/restricted/league/set-league-bet-setting.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
        "companyKey": "{CompanyKey}",
        "serverId": "server ID",
        "leagueId":"1",
        "currency":"USD",
        "isLive":false,
        "minBet":"100",
        "maxBet":"1000",
        "maxBetRatio":"0.9",
        "groupType":"BIG"
    }
    
    ResponseBody
    {
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId":"server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    leagueId int Yes 联赛代码, 可以呼叫 API 3.13 获取联赛代码与名称 來取得联赛代码。
    currency Currency Yes 币种。请参考币种
    isLive bool Yes 此联赛下是否有赛事为滚球
    minBet decimal Yes 设定此联赛下之赛事单笔注单之最小注单金额
    maxBet decimal Yes 设定此联赛下之赛事单笔注单之最大注单金额
    maxBetRatio decimal Yes 最大注单金额的比率
    groupType string Yes 联赛的群组类型,群组类型有 BIG, MEDIUM, SMALL
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.15 获取联赛下注设定

    呼叫此函式可以通过联赛代码,币别,赛事是否滚球来获取联赛下注设定
    name sample
    path
    http://{api-domain}/web-root/restricted/league/get-league-bet-setting.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
                    "companyKey": "{CompanyKey}",
                    "serverId": "server ID",
                    "leagueId":"1",
                    "currency":"USD",
                    "isLive":false
                }
                
    ResponseBody
    {
                "leagueBetBetSettings": [
                    {
                        "league_id": 1,
                        "currency": "USD",
                        "is_live": false,
                        "min_bet": 100,
                        "max_bet": 1000,
                        "max_bet_ratio": 0.9,
                        "group_type": "BIG"
                    }
                ],
                "error" :  { "id" : 0, "msg" : "no error"},
                "serverId":"server ID"
        }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    leagueId int Yes 联赛代码, 可以呼叫 API 3.13 获取联赛代码与名称來取得联赛代码
    currency Currency Yes 币种。请参考币种.
    isLive bool Yes 此联赛下是否有赛事为滚球
    Response
    Field Name Type Required Description
    leagueBetBetSettings Array Yes 联赛下注设定的阵列,阵列中包含联赛代码,币种,是否滚球,最小注单,最大注单,最大注单金额的比率,联赛的群组类型
    error ApiError Yes 错误。请参考 Api 错误码 .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.16 修改联赛群组下注设定

     呼叫此函式可以通过联赛的群组类型,币别,赛事是否滚球来设定修改联赛联赛群组的下注设定 
    name sample
    path
    http://{api-domain}/web-root/restricted/league/set-league-group-bet-setting.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
                    "companyKey": "{CompanyKey}",
                    "serverId": "server ID",
                    "groupType":"BIG",
                    "currency":"USD",
                    "isLive":false,
                    "minBet":"100",
                    "maxBet":"1000",
                    "maxBetRatio":"0.9"
                }
                
    ResponseBody
    {
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId":"server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    groupType string Yes 联赛的群组类型,群组类型有 BIG, MEDIUM, SMALL
    currency Currency Yes 币种。请参考币种.
    isLive bool Yes 此联赛下是否有赛事为滚球
    minBet decimal Yes 设定此联赛下之赛事单笔注单之最小注单金额
    maxBet decimal Yes 设定此联赛下之赛事单笔注单之最大注单金额
    maxBetRatio decimal Yes 最大注单金额的比率
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.17 获取联赛群组下注设定

     呼叫此函式可以通过联赛的群组类型,币别,赛事是否滚球来获取联赛联赛群组的下注设定 
    name sample
    path
    http://{api-domain}/web-root/restricted/league/get-league-group-bet-setting.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
                        "companyKey": "{CompanyKey}",
                        "serverId": "server ID",
                        "groupType":"BIG",
                        "currency":"USD",
                        "isLive":false
                    }
                    
    ResponseBody
    {
        "leagueGroupBetBetSettings": [
            {
                "group_type": "BIG",
                "currency": "USD",
                "is_live": false,
                "min_bet": 100,
                "max_bet": 1000,
                
                "max_bet_ratio": 0.9
            }
        ],
        "error" :  { "id" : 0, "msg" : "no error"},
        "serverId":"server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    groupType string Yes 联赛的群组类型,群组类型有 BIG, MEDIUM, SMALL
    currency Currency Yes 币种。请参考币种.
    isLive bool Yes 此联赛下是否有赛事为滚球
    Response
    Field Name Type Required Description
    leagueGroupBetBetSettings Array Yes 联赛群组类型下注设定的阵列,阵列中包含群组类型,币种,是否滚球,最小注单,最大注单,最大注单金额的比率
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.18 依据WebId修改联赛下注设定

    呼叫此函式可以通过WebId,联赛代码,币别,赛事是否滚球来设定修改联赛下注设定 
    name sample
    path
    http://{api-domain}/web-root/restricted/league/set-league-bet-setting-with-web-id.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
                        "companyKey": "{CompanyKey}",
                        "serverId": "server ID",
                        "webId":"1",
                        "leagueId":"1",
                        "currency":"USD",
                        "isLive":false,
                        "minBet":"100",
                        "maxBet":"1000",
                        "maxBetRatio":"0.9",
                        "groupType":"BIG"
                    }
                    
    ResponseBody
    {
                            "error" :  { "id" : 0, "msg" : "no error"},
                            "serverId":"server ID"
                    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    webId int Yes 特定网页/群组/客户的web Id.
    leagueId int Yes 联赛代码, 可以呼叫 API 3.13 获取联赛代码与名称 來取得联赛代码。
    currency Currency Yes 币种。请参考币种
    isLive bool Yes 此联赛下是否有赛事为滚球
    minBet decimal Yes 设定此联赛下之赛事单笔注单之最小注单金额
    maxBet decimal Yes 设定此联赛下之赛事单笔注单之最大注单金额
    maxBetRatio decimal Yes 最大注单金额的比率
    groupType string Yes 联赛的群组类型,群组类型有 BIG, MEDIUM, SMALL
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.19 依据WebId获取联赛下注设定

    呼叫此函式可以通过WebId,联赛代码,币别,赛事是否滚球来获取联赛下注设定
    name sample
    path
    http://{api-domain}/web-root/restricted/league/get-league-bet-setting-with-web-id.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
                    "companyKey": "{CompanyKey}",
                    "serverId": "server ID",
                    "webId":"1",
                    "leagueId":"1",
                    "currency":"USD",
                    "isLive":false
                }
                
    ResponseBody
    {
                "leagueBetBetSettings": [
                    {
                        "league_id": 1,
                        "currency": "USD",
                        "is_live": false,
                        "min_bet": 100,
                        "max_bet": 1000,
                        "max_bet_ratio": 0.9,
                        "group_type": "BIG"
                    }
                ],
                "error" :  { "id" : 0, "msg" : "no error"},
                "serverId":"server ID"
        }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    webId int Yes 特定网页/群组/客户的web Id.
    leagueId int Yes 联赛代码, 可以呼叫 API 3.13 获取联赛代码与名称
    currency Currency Yes 币种。请参考 币种.
    isLive bool Yes 此联赛下是否有赛事为滚球
    Response
    Field Name Type Required Description
    leagueBetBetSettings Array Yes 联赛下注设定的阵列,阵列中包含联赛代码,币种,是否滚球,最小注单,最大注单,最大注单金额的比率,联赛的群组类型
    error ApiError Yes 错误。请参考 Api Error .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.20 依据WebId修改联赛群组下注设定

     呼叫此函式可以通过WebId,联赛的群组类型,币别,赛事是否滚球来设定修改联赛联赛群组的下注设定 
    name sample
    path
    http://{api-domain}/web-root/restricted/league/set-league-group-bet-setting-with-web-id.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
                                    "companyKey": "{CompanyKey}",
                                    "serverId": "server ID",
                                    "webId":"1",
                                    "groupType":"BIG",
                                    "currency":"USD",
                                    "isLive":false,
                                    "minBet":"100",
                                    "maxBet":"1000",
                                    "maxBetRatio":"0.9"
                                }
                                
    ResponseBody
    {
                            "error" :  { "id" : 0, "msg" : "no error"},
                            "serverId":"server ID"
                    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    webId int Yes 特定网页/群组/客户的web Id.
    groupType string Yes 联赛的群组类型,群组类型有 BIG, MEDIUM, SMALL
    currency Currency Yes 币种。请参考币种.
    isLive bool Yes 此联赛下是否有赛事为滚球
    minBet decimal Yes 设定此联赛下之赛事单笔注单之最小注单金额
    maxBet decimal Yes 设定此联赛下之赛事单笔注单之最大注单金额
    maxBetRatio decimal Yes 最大注单金额的比率
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.21 依据WebId获取联赛群组下注设定

     呼叫此函式可以通过WebId,联赛的群组类型,币别,赛事是否滚球来获取联赛联赛群组的下注设定 
    name sample
    path
    http://{api-domain}/web-root/restricted/league/get-league-group-bet-setting-with-web-id.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
                                        "companyKey": "{CompanyKey}",
                                        "serverId": "server ID",
                                        "webId":"1",
                                        "groupType":"BIG",
                                        "currency":"USD",
                                        "isLive":false
                                    }
                                    
    ResponseBody
    {
                        "leagueGroupBetBetSettings": [
                            {
                                "group_type": "BIG",
                                "currency": "USD",
                                "is_live": false,
                                "min_bet": 100,
                                "max_bet": 1000,
                                "max_bet_ratio": 0.9
                            }
                        ],
                        "error" :  { "id" : 0, "msg" : "no error"},
                        "serverId":"server ID"
                    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    webId int Yes 特定网页/群组/客户的web Id.
    groupType string Yes 联赛的群组类型,群组类型有 BIG, MEDIUM, SMALL
    currency Currency Yes 币种。请参考币种.
    isLive bool Yes 此联赛下是否有赛事为滚球
    Response
    Field Name Type Required Description
    leagueGroupBetBetSettings Array Yes 联赛群组类型下注设定的阵列,阵列中包含群组类型,币种,是否滚球,最小注单,最大注单,最大注单金额的比率
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.22 修改玩家UserGroup

     呼叫此函式可以修改玩家 UserGroup
    輸入代理用戶名可修改此代理之下所有玩家的 UserGroup,但不影響新註冊之玩家
    name sample
    path
    http://{api-domain}/web-root/restricted/player/update-player-user-group.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
                                        "companyKey": "{CompanyKey}",
                                        "serverId": "server ID",
                                        "username":"alibnana",
                                        "userGroup":"a"
                                    }
                                    
    ResponseBody
    {
                        "error" :  { "id" : 0, "msg" : "no error"},
                        "serverId":"server ID"
                    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    username string Yes 玩家/代理用戶名
    userGroup String Yes 設定的UserGroup。 可能值為 'a','b','c','d','e','f' .
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.23 设定体育博彩玩家为可疑

     呼叫此函式可以设定体育博彩玩家为可疑 
    name sample
    path
    http://{api-domain}/web-root/restricted/player/set-player-suspicious-for-sports.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"serverId" : "server ID",
    	"username":"alibaba"
    }
    
    ResponseBody
    {
        "error" :  { "id" : 0, "msg" : "no error"},
        "serverId":"server ID"
    }
    
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    username string Yes 玩家用戶名
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.24 设定体育博彩玩家为不可疑(废弃)

     呼叫此函式可以设定体育博彩玩家为不可疑 
    name sample
    path
    http://{api-domain}/web-root/restricted/player/set-player-unsuspicious-for-sports.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"serverId" : "server ID",
    	"usernames":"alibaba,alibaba1,alibaba2"
    }
    
    ResponseBody
    {
        "error" :  { "id" : 0, "msg" : "no error"},
        "serverId":"server ID"
    }
    
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    usernames string Yes 玩家用戶名,可以一次设定多名玩家
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.25 检查体育博彩玩家可疑行为

    呼叫此函式可以检查三天内玩家在体育博彩是否有可疑行为
    同时只能够查询一个玩家
    name sample
    path
    http://{api-domain}/web-root/restricted/player/check-player-behavior-for-sports.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : { 
        "companyKey" : "{CompanyKey}", 
        "serverId" : "server ID", 
        "username":"alibaba" 
    } 
        
    ResponseBody
    { 
        "PlayerBehaviorReport": {
            "errorCode": 0,
            "errorMessage": "NoError",
            "username": "aaa01",
            "winRate": 0.87,
            "turnover": 8787,
            "customerWinlost": 787,
            "abnormalBetList": [
                {
                    "transId": 123,
                    "reasonCode": 1,
                    "reasonMessage": "DirtyMatch",
                    "friends": "PlayerInOtherPlatform,aaa02"
                },
                {
                    "transId": 124,
                    "reasonCode": 2,
                    "reasonMessage": "MutiDevice",
                    "friends": "aaa03,PlayerInOtherPlatform"
                },
                {
                    "transId": 125,
                    "reasonCode": 3,
                    "reasonMessage": "GroupBet",
                    "friends": "aaa02"
                }
            ]
        },
        "error" :  { "id" : 0, "msg" : "no error"}, 
        "serverId":"server ID" 
    } 
        
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    username string Yes 玩家用戶名
    Response
    Field Name Type Required Description
    PlayerBehaviorReport PlayerBehaviorReport Yes 请参考 玩家行为报告 .
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    3.26 根据修改时间获取体育博彩标注风险标签玩家

    呼叫此函式可以获取该时间段的所有标注风险标签玩家
    name sample
    path
    http://{api-domain}/web-root/restricted/player/get-risky-tag-player-for-sports-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
            "companyKey" : "{CompanyKey}",
            "serverId" : "server ID",
            "startDate":"2022-09-23T00:00:00",
            "endDate":"2022-09-23T01:00:00"
        }
        
    ResponseBody
    {
        "riskyTagPlayers": [
            {
                "webId": 0,
                "userName": "PlayerMyr",
                "currency": "MYR",
                "riskyIndex": 60,
                "riskyTags": [
                    1
                ],
                "modifyDate": "2022-09-22T22:00:03"
            },
            {
                "webId": 0,
                "userName": "PlayerIdr",
                "currency": "IDR",
                "riskyIndex": 50,
                "riskyTags": [
                    1, 2
                ],
                "modifyDate": "2022-09-22T14:00:56"
            },
            {
                "webId": 0,
                "userName": "PlayerCny",
                "currency": "CNY",
                "riskyIndex": 40,
                "riskyTags": [
                    1, 3
                ],
                "modifyDate": "2022-09-22T14:00:56"
            }
        ],
        "error": {
            "id": 0,
            "msg": "NoError"
        },
        "serverId": "server ID"
        }
        
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    startDate DateTime Yes 修改日期包含分钟,格式:"2022-09-23T00:00:00"
    endDate DateTime Yes 修改日期包含分钟,格式:"2022-09-23T00:00:00"
    Response
    Field Name Type Required Description
    riskyTagPlayers Risky Tag Players Yes 请参考 风险标签玩家 .
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    4. 系统 API

    4.1 Ping

    呼叫此函式可以发出应用层级的ping来确认Api伺服器是否在线。
    name sample
    path
    http://{api-domain}/web-root/restricted/system/ping.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"serverId" : "server ID"
    }
    
    ResponseBody
    {
    	"error" :  { "id" : 0, "msg" : "no error"},
    	"serverId" : "server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    4.2 停止交易

    呼叫此函式会中止白牌系统中的所有下注行为。这提供了平台对于白牌系统的全面控制。它需要平台和白牌系统之間的預先定義的一组token(CompanyKey)。
    name sample
    path
    http://{api-domain}/web-root/restricted/system/stop-trading.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"serverId" : "server ID"
    }
    
    ResponseBody
    {
    	"error" :  { "id" : 0, "msg" : "no error"},
    	"serverId" : "server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    4.3 开始交易

    呼叫此函式会允许在白牌系统的下注行为,它需要平台和白牌系统之間的預先定義的一组token(CompanyKey)。
    name sample
    path
    http://{api-domain}/web-root/restricted/system/start-trading.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"serverId" : "server ID"
    }
    
    ResponseBody
    {
    	"error" :  { "id" : 0, "msg" : "no error"},
    	"serverId" : "server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    4.4 获取UM设定

    大部分568Win的系统维护都是固定时间表,只有少数是为了紧急事件的维护. 为了让平台针对白牌系统的维护情况有更系统化的解决方式,呼叫此函式可以获取系统维护的详细资讯。
    name sample
    path
    http://{api-domain}/web-root/restricted/system/get-um-status.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"serverId" : "server ID"
    }
    
    ResponseBody
    {
    	"isUM" : true,
    	"umStartTime" : "2014-10-10T10:30:00-04:00",
    	"umEndTime" : "2014-10-10T11:00:00-04:00",
    	"error" :  { "id" : 0, "msg" : "no error"},
    	"serverId" : "server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    isUM Boolean Yes true: 系统维护中
    false: 非系统维护时间
    umStartTime DateTime No 系统起始维护时间
    umEndTime DateTime No 系统结束维护时间
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5. 报表 API

    5.1 获取客户报表

    若提供的使用者名称为代理名称,该次请求会回传所有该代理下的会员的报表。若提供的使用者名称为会员名称,则该次请求回传该会员的报表。
    此请求中的日期参数应基于WinLostDate。資料的搜尋範圍必須是在60天以內
    
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-customer-report.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"serverId" : "server ID",
    	"username" : "agt001",
    	"portfolio" : "sportsbook",
    	"startDate" : "2014-09-10T:00:00:00",
    	"endDate" : "2014-09-11T00:00:00"
    }
    
    ResponseBody - Sportsbook
    {
            "playerRevenues": [
                {
                    "username":"player01",
                    "betCount":{
                            "total":70,
                            "waiting":5,
                            "running":5,
                            "lose":25,
                            "won":25,
                            "draw":5,
                            "void":0,
                            "reject":5,
                            "refund":0
                        },
                    "turnover":{
                        "total":700.00,
                        "waiting":50.00,
                        "running":50.00,
                        "lose":250.00,
                        "won":250.00,
                        "draw":50.00,
                        "void":0.00,
                        "reject":50.00,
                        "refund":0.00
                    },
                    "winlose":100.00,
                    "commission":10,
                    "totalDeposit":0.00,
                    "totalWithdrawal":0.00
                }
            ],
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId":"server ID"
    }
    
    ResponseBody - casino
    {
            "result":[
                {
                    "username": "player01",
                    "betCount": {
                        "win":70,
                        "lose":25
                    },
                    "turnover": {
                        "win":70,
                        "lose":25
                    },
                    "winlose":100.00,
                    "commission":10,
                    "totalDeposit":0.00,
                    "totalWithdrawal":0.00
                }
            ],
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId": "server ID"
    }
    
    ResponseBody - Games
    {
            "result":[
                {
                    "username":"player01",
                    "betCount":{
                        "win":70,
                        "lose":25
                    },
                    "turnover":{
                        "win":70,
                        "lose":25
                    },
                    "winlose":100.00,
                    "commission":10,
                    "totalDeposit":0.00,
                    "totalWithdrawal":0.00
                }
            ],
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId":"server ID"
    }
    
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    username String(20) Yes 代理名称或会员名称。
    portfolio String(15) Yes “sportsbook”
    “casino”
    “games”
    “virtualSports”
    startDate DateTime Yes 格式: "2014-09-10T00:00:00"
    endDate DateTime Yes 格式: "2014-09-11T00:00:00"
    Response
    Field Name Type Required Description
    Sportsbook
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    playerRevenue PlayerRevenue[] Yes 若为代理名称,则显示所有会员的流水报表;若为会员名称,则显示该会员之流水报表。请查看 会员收益.
    Casino
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    result Result[] Yes 若为代理名称,则显示所有会员的流水报表;若为会员名称,则显示该会员之流水报表。请查看 会员收益.
    Game
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    result Result[] Yes 若为代理名称,则显示所有会员的流水报表;若为会员名称,则显示该会员之流水报表。请查看 会员收益.

    5.2 获取注单报表

    呼叫此函式会回传该会员于该类别下的注单。 在体育博彩类别, 回传该会员在限定的期间内的注单和总流水。在真人赌场或电子游戏类别,基于下注的时间回传该已结算的真人赌场/电子游戏注单。此函式也支援以代理名称来搜寻,回传该代理下的会员的注单和在体育博彩的总流水。orderTime和winlostDate使用的时区是GMT-4(服务器时间)。資料的搜尋範圍必須是在60天以內请求中的日期参数是基于交易日期。
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-bet-list.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    Example (SportsBook):
    "param" : {
            "companyKey" : "{CompanyKey}",
            "serverId" : "server ID",
            "username" : "agt001",
            "portfolio" : "sportsbook",
            "betStatus": ["running","won"] ,
            "startDate" : "2018-11-16T00:00:00",
            "endDate" : "2018-11-17T00:00:00",
            "lang" : "EN"
    }
    
    Example (Casino, Games, VirtualSports):
    "param" : {
            "companyKey" : "{CompanyKey}",
            "serverId" : "server ID",
            "username" : "player001",
            "portfolio" : "casino",
            "startDate" : "2018-10-12 00:00:00",
            "endDate" : "2018-10-13 00:00:00",
            "lang" : "EN"
    }
    Example (SeamlessGameProvider):
    "param" : {
            "companyKey" : "{CompanyKey}",
            "serverId" : "server ID",
            "username" : "player001",
            "portfolio" : "SeamlessGameProviderApi",
            "gameProvider":"Wm",
            "startDate" : "2018-10-12 00:00:00",
            "endDate" : "2018-12-13 00:00:00",
            "lang" : "EN"
    }
    
    ResponseBody - SportBook / SeamlessGameProviderBet(LV)
    {
            "playerBetList" : {
                "subBet":[{
                    "transId":12313123,
                    "betOption":"Altinordu(n)",
                    "marketType":"Handicap",
                    "hdp":0,
                    "odds":-0.8,
                    "league":"Turkey Cup",
                    "match":"Altinordu(n) vs Kayserispor",
                    "status":"lose",
                    "winlostDate":"2018-11-16T00:00:00",
                    "liveScore":"0:0",
                    "htScore":"0:0",
                    "ftScore":"0:0",
                    "kickOffTime":"2018-11-16T01:00:00",
                    "customeizedBetType":"",
                    "sportType":"FootBall"
                }],
                "refNo":"221929192",
                "username":"tesewuf",
                "sportType":"Football",
                "orderTime":"2018-11-16T05:06:59.327",
                "winlostDate":"2018-11-16T00:00:00",
                "modifyDate":"2018-11-16T08:26:25.857",
                "odds":-0.8,
                "oddsStyle":"M",
                "stake":100.000000,
                "actualStake":80.000000,
                "currency":"THB",
                "status":"lose",
                "winlose":0.000000,
                "turnover":100.000000,
                "isHalfWonLose":false,
                "isLive":false,
                "MaxWinWithoutActualStake":100,
                "Ip":"123.147.58.47",
                "isSystemTagRisky":false,
                "remark":""
            },
            "turnover":"100",
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId" : "server ID"
    }
    ResponseBody - Casino, Games
    {
            "result":[{
                "orderTime":"2018-10-12T04:39:56.99",
                "modifyDate":"2018-10-12T04:41:02.45",
                "refNo":"B001332233",
                "accountId":"player001",
                "gameId":3054746,
                "tableName":"Baccarat G1-25C",
                "stake":10.00,
                "turnover":10.00,
                "winlost":-10.000000,
                "ProductType":"Baccarat",
                "WinlostDate":"3/11/2020 12:00:00 AM",
                "SubBets":null,
                "BetDetail":"Banker:10",
                "GameResult":"Banker:1(♣J ♥A ♣K); Player:9(♦6 ♣6 ♦7)"
            },{
                "orderTime":"2018-10-12T04:52:46.603",
                "modifyDate":"2018-10-12T04:53:33.887",
                "refNo":"R001332303",
                "accountId":"player001",
                "gameId":3054877,
                "tableName":"Roulette A5-22",
                "stake":105.00,
                "turnover":105.00,
                "winlost":195.000000,
                "ProductType":"Roulette",
                "WinlostDate":"3/11/2020 12:00:00 AM",
                "SubBets":null,
                "BetDetail":"1st_12(1~12):100;1,2,4,5:5",
                "GameResult":"7
            },{
                "orderTime":"2018-10-12T04:54:15.197",
                "modifyDate":"2018-10-12T04:55:09.353",
                "refNo":"B001332343",
                "accountId":"player001",
                "gameId":3055737,
                "tableName":"Baccarat A7-29C",
                "stake":15.00,
                "turnover":15.00,
                "winlost":-15.000000,
                "ProductType":"Baccarat",
                "WinlostDate":"3/11/2020 12:00:00 AM",
                "SubBets":null ,
                "BetDetail":"Player:100",
                "GameResult":"Banker:7(♠Q ♠7); Player:9(♠3 ♦6)"
            }],
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId" : "server ID"
    }
    ResponseBody - VirtualSports
    {
    "result":[{
        "orderTime":"2018-11-08T04:05:31.937",
        "modifyDate":"2018-11-08T04:09:06.263",
        "refNo":"B2671658",
        "accountId":"player001",
        "gameId":3054746,
        "tableName":"Virtual Sports",
        "odds":0.35,
        "oddsStyle":"HK",
        "stake":100.00,
        "actualStake":100.00,
        "turnover":100.00,
        "winlost":-100.000000,
        "status":"Lose",
        "ProductType":"VirtualFootballMobile",
        "WinlostDate":"3/11/2020 12:00:00 AM", 
        "SubBets":[
            {
              "htScore":"0:1",
              "ftScore":"1:2",
              "betOption":"VL Vienna",
              "marketType":"FirstHalfAsianHandicap",
              "hdp":0.0,
              "odds":0.35,
              "match":"VL Vienna -vs- VL Madrid",
              "status":"Lose",
              "winlostDate":"2018-11-08T00:00:00"
            }
        ]
    }, {
        "orderTime":"2018-11-08T04:28:47.277",
        "modifyDate":"2018-11-08T04:33:47.06",
        "refNo":"B2671673",
        "accountId":"player001",
        "gameId":3054877,
        "tableName":"Virtual Sports",
        "odds":0.45,
        "oddsStyle":"Malay",
        "stake":10.00,
        "actualStake":10.00,
        "turnover":10.00,
        "winlost":4.500000,
        "status":"Won",
        "ProductType":"VirtualWorldCupMobile",
        "WinlostDate":"3/11/2020 12:00:00 AM", 
        "SubBets":[
            {
              "htScore":"0:1",
              "ftScore":"1:2",
              "betOption":"VL Vienna",
              "marketType":"FirstHalfAsianHandicap",
              "hdp":0.0,
              "odds":0.45,
              "match":"VL Vienna -vs- VL Madrid",
              "status":"Lose",
              "winlostDate":"2018-11-08T00:00:00"
            }
        ]
    }, {
        "orderTime":"2018-11-08T22:52:57.363",
        "modifyDate":"2018-11-08T22:58:48.097",
        "refNo":"B2671683",
        "accountId":"player001",
        "gameId":3055737,
        "tableName":"Virtual Sports",
        "odds":1.55,
        "oddsStyle":"Euro",
        "stake":10.00,
        "actualStake":10.00,
        "turnover":10.00,
        "winlost":-10.000000,
        "status":"Lose",
        "ProductType":"VirtualBasketballMobile",
        "WinlostDate":"3/11/2020 12:00:00 AM", 
        "SubBets":[
            {
              "htScore":"0:1",
              "ftScore":"1:2",
              "betOption":"VL Vienna",
              "marketType":"FirstHalfAsianHandicap",
              "hdp":0.0,
              "odds":1.55,
              "match":"VL Vienna -vs- VL Madrid",
              "status":"Lose",
              "winlostDate":"2018-11-08T00:00:00"
            }
        ]
    },{
        "orderTime":"2018-12-13T06:18:09.527",
        "modifyDate":"2018-12-13T06:22:01.693",
        "refNo":"B2672386",
        "accountId":"tT2PIDR",
        "gameId":2672386,
        "tableName":"Virtual Sports",
        "odds":7.038,
        "oddsStyle":"Euro",
        "stake":10.00,
        "actualStake":10.00,
        "turnover":10.00,
        "winlost":-10.00,
        "status":"Lose",
        "ProductType":"MixParlayDesktop",
        "WinlostDate":"3/11/2020 12:00:00 AM", 
        "SubBets":[
        {
            "htScore":"0:1",
            "ftScore":"1:2",
            "betOption":"VL Vienna",
            "marketType":"FirstHalfAsianHandicap",
            "hdp":0.0,
            "odds":2.3,
            "match":"VL Vienna -vs- VL Madrid",
            "status":"Lose",
            "winlostDate":"2018-12-13T00:00:00"
        },
        {
            "htScore":"2:0",
            "ftScore":"2:0",
            "betOption":"VL Paris",
            "marketType":"FirstHalfOneXTwo",
            "hdp":0,
            "odds":1.7,
            "match":"VL Vienna -vs- VL Madrid",
            "status":"Won",
            "winlostDate":"2018-12-13T00:00:00"
        },
        {
            "htScore":"0:0",
            "ftScore":"1:1",
            "betOption":"VL Kiev",
            "marketType":"FirstHalfAsianHandicap",
            "hdp":-0.25,
            "odds":1.8,
            "match":"VL Vienna -vs- VL Madrid",
            "status":"Won",
            "winlostDate":"2018-12-13T00:00:00"
        }
        ]
    } ],
    "error" :  { "id" : 0, "msg" : "no error"},
    "serverId":"server ID"
                        } 
    ResponseBody - SeamlessGameProviderBet
    {
                        "result":[{
                            "orderTime": "2019-02-14T23:03:15.447",
                            "modifyDate": "2019-02-14T23:06:39.967",
                            "refNo": "WM_238_1000102_112164543_3",
                            "accountId": "WuuP003CNY",
                            "gamePeriodId": "112164543",
                            "gameRoundId": "3",
                            "gameType": "WmDragonAndTiger",
                            "stake": 10,
                            "turnOverStake": 10,
                            "orderDetail": "betdetail[Dragon]:-10",
                            "GameResult":"Dragon:♠10Tiger:♠3",
                            "WinLostDate": "2019-02-14T00:00:00",
                            "status": "Lose",
                            "winLost": 0,
                            "isResettle": true
                        }],
                        "error" :  { "id" : 0, "msg" : "no error"},
                        "serverId":"server ID"
                }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 代理名称或会员名称。
    Portfolio String(15) Yes "sportsbook"
    "casino"
    "games"
    "VirtualSports"
    betStatus String[] No 注单状态包含 "won", "lose", "draw", "void", "waiting rejected", "refund" ,"running"
    可以一次请求多个状态。
    startDate DateTime Yes 格式: "2018-07-23T00:00:00"
    endDate DateTime Yes 格式: "2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    lang String Yes 预设值为 EN,语言包含 EN, ZH-TW, ZH-CN, JA-JP, KO-KR, TH-TH, VI-VN
    gameProvider String(15) 必须(如果您想捞取无缝游戏注单) 您想捞取哪个无缝游戏提供商的注单. 可能的值为 无缝游戏提供商
    Response
    Field Name Type Required Description
    SportsBook
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    playerBetList PlayerBetList[] Yes 代理或会员的注单。请查看 体育博彩注单.
    turnover Decimal Yes 注单的流水。
    Casino, Games
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    result CasinoBetList[] Yes 代理或会员的注单。请查看 真人赌场注单, 游戏注单, 虚拟游戏注单
    无缝游戏注单
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    result SeamlessGameProviderBetList[] Yes 代理或会员的注单。请查看 无缝游戏注单

    5.3 获取注单详细资料

    为了取得特定体育博彩/虚拟体育/电子游戏/真人赌场(包含 Live Casino Beauty)的注单详细资料, payload 是必须的。可以用payload从体育博彩/真人赌场/电子游戏页面取得详细资料。
    		
    体育博彩呼叫此函式的回传结果有个payload栏位,使用该栏位的值并呼叫 http://[SportsUrl].com/web-root/public/orderList/singleBetDetail.aspx?encodedTransId=$payload&language=EN
    
    虚拟体育呼叫此函式的回传结果有个payload栏位,使用该栏位的值并呼叫 http://[VirtualSportsUrl].com/Payload/Index?payload=$payload
    
    真人赌场/568Win真人赌场/电子游戏呼叫此函式的回传结果有个payload栏位,使用该栏位的值并呼叫 http://[CasinoUrl or 568WinCasinoUrl or GamesUrl].com/web-root/public/dispatch.aspx?payload=$payload 
    		
    (如果您不知道体育博彩/真人赌场/568Win真人赌场/电子游戏Url,请联络Api提供者)。Payload会在5分钟后失效。資料的搜尋範圍必須是在60天以內
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-bet-payload.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
            "portfolio" : "casino",
            "refno" : "R001332303",
            "companyKey" : "{CompanyKey}",
            "serverId" : "server ID"
    }
    
    ResponseBody
    {
            "result":"VdWQvgeLtzz5HtRFmY76VEf1KMWpdXaaJfe5ugRVYA6lD89mDLDip0lBdVNB2zkG0YBuR5B7ufp4pvYR
             VVvagTe1B9KCzGJonRoqTD90%2b85hQ9Zr1xpPZtnG%2fr5Zh5VKz9m8UjjvOK9mlsRddYOitA%3d%3d",
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId":"server ID""
    }
    
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    portfolio String(15) No "Sportsbook"
    "VirtualSports"
    "Games"
    "Casino"(包含 Live Casino Beauty)
    若无填值则预设为casino
    refno String(20) Yes 注单序号。请查看 注单序号.
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    result String(256) Yes 查询真人赌场/电子游戏的payload。

    5.4 获取客户交易报表

    呼叫此函式,会基于交易时间回传特定会员的交易记录。此函式也可搜寻代理账号来取得该代理下所有玩家的交易记录。当isAllUser参数为true时,则会忽视账号参数,取得该时间区间内所有的交易记录。
    请求中的日期参数是基于交易日期,其请求区间应小于四天。資料的搜尋範圍必須是在60天以內
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-customer-transaction.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {                        
            "companyKey" : "{CompanyKey}",
            "serverId" : "server ID",
            "username" : "agt001",
            "isAllUser": "false",
            "startDate" : "2019-06-04T00:00:00",
            "endDate" : "2019-06-07T00:00:00"
        }
            
    ResponseBody
    {
            "startDate": "2019-06-04T00:00:00",
            "endDate": "2019-06-07T00:00:00",
            "transactionLists": [
                {
                    "txnId": "txn0000001",
                    "transDate": "2019-06-05T07:51:19.043",
                    "playerName": "player0001",
                    "agentName": "agent0001",
                    "transferType": "Deposit",
                    "currency": "IDR",
                    "amount": 1000
                },
                {
                    "txnId": "txn0000002",
                    "transDate": "2019-06-05T08:51:19.043",
                    "playerName": "player0001",
                    "agentName": "agent0001",
                    "transferType": "Withdraw",
                    "currency": "IDR",
                    "amount": 100
                }
            ],
            "error": {"id": 0, "msg": "NoError"},
            "serverId": "101"
        }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    username String(20) Yes 代理名称或会员名称。
    isAllUser bool Yes 若为true, 此函式将忽视username参数并回传该司区间所有交易记录。
    startDate DateTime Yes 格式:"2019-06-04T00:00:00"
    endDate DateTime Yes 格式:"2018-06-07T00:00:00". 结束时间与开始时间不应大于四天
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    startDate DateTime Yes 请求的开始时间
    endDate DateTime Yes 请求的结束时间
    transactionLists TransactionList[] Yes 回复的交易清单
    txnId String(30) Yes 由平台产生的识别Id,在平台中所有交易Id(包含提款/存款)为唯一值。
    transDate DateTime Yes 交易时间
    playerName String(20) Yes 会员名称
    agentName String(20) Yes 代理名称
    transferType String(10) Yes 指出该笔交易为提款或存款
    currency String(3) Yes 该笔交易使用的币别
    amount Decimal Yes 交易金额。仅为正数。

    5.5 根据修改时间获取客户报表

    若提供的使用者名称为代理名称,该次请求会回传所有该代理下的会员的报表。若提供的使用者名称为会员名称,则该次请求回传该会员的报表。修改时间区间需小于或等于4天(只限体育博彩)。
    此请求中的日期参数应基于ModifyDate。資料的搜尋範圍必須是在60天以內
    
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-customer-report-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"serverId" : "server ID",
    	"username" : "agt001",
    	"type" : "agent",
    	"startDate" : "2014-09-10T00:00:00",
    	"endDate" : "2014-09-11T00:00:00"
    }
    
    ResponseBody
    {
    	"playerRevenues":[
    	{
    		 "username":"player01",
    			"betCount":{
    				"total":70,
    				"waiting":5,
    				"running":5,
    				"lose":25,
    				"won":25,
    				"draw":5,
    				"void":0,
    				"reject":5,
    				"refund":0
    			},
    			"turnover":{
    				"total":700.00,
    				"waiting":50.00,
    				"running":50.00,
    				"lose":250.00,
    				"won":250.00,
    				"draw":50.00,
    				"void":0.00,
    				"reject":50.00,
    				"refund":0.00
    			},
    			"winlose":100.00,
    			"commission":10,
    			"totalDeposit":0.00,
    			"totalWithdrawal":0.00
    		}
    	],
    	"error" :  { "id" : 0, "msg" : "no error"},
    	"serverId":"server ID"
    }
    
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 代理名称或会员名称。
    type String(15) Yes "agent" 或 "player"
    startDate DateTime Yes 格式: "2018-07-23T00:00:00"
    endDate DateTime Yes 格式: "2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    playerRevenue PlayerRevenue[] Yes 若为代理名称,则显示所有会员的流水报表;若为会员名称,则显示该会员之流水报表。请查看 会员收益.

    5.5.1 根据修改时间获取客户历史注单的详细资料

    如会员名称为代理名称,呼叫此函式会根据提供的时间区间并回传该期间内该代理下的所有会员的注单详细资料和总流水。
    修改时间区间需大于或等于3天以及小于或等于60天。
    请求中的日期参数是基于最新的修改日期。
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-customer-history-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"serverId" : "server ID",
    	"username" : "agt001",
    	"startDate" : "2018-07-23T00:00:00",
    	"endDate" : "2018-07-23T00:00:00"
    }
    
    ResponseBody
    {
            "playerBetList":{
                "subBet":[
                    {
                        "transId":123123123,
                        "betOption":"Altinordu(n)",
                        "marketType":"Handicap",
                        "hdp":0,
                        "odds":-0.8,
                        "league":"Turkey Cup",
                        "match":"Altinordu(n) vs Kayserispor",
                        "status":"lose",
                        "winlostDate":"2015-02-04T00:00:00",
                        "liveScore":"0:0",
                        "htScore":"0:0",
                        "ftScore":"0:0",
                        "kickOffTime":"2015-02-04T01:00:00",
                        "customeizedBetType":"",
                        "sportType":"Football"
                    }
                ],
                "refNo":"221929192i",
                "username":"tesewuf",
                "sportType":"Football",
                "orderTime":"2015-02-04T21:35:46.03",
                "winlostDate":"2015-02-04T00:00:00",
                "modifyDate":"2015-02-04T23:14:23.913",
                "odds":-0.8,
                "oddsStyle":"M",
                "stake":100.000000,
                "actualStake":80.000000,
                "currency":"THB",
                "status":"lose",
                "winlose":0.000000,
                "turnover":100.000000,
                "isHalfWonLose":false,
                "isLive":false,
                "MaxWinWithoutActualStake":100,
                "Ip":"123.147.58.47",
                "isSystemTagRisky":false,
                "remark":"",
                "SettledTime":"2015-02-04T23:14:23.913"
            },
            "turnover":100,
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId":"server ID"
    }
    
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 代理名称或会员名称。
    startDate DateTime Yes 格式: "2018-07-23T00:00:00"
    endDate DateTime Yes 格式: "2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    playerBetList PlayerBetList[] Yes 代理或会员的注单。请查看 体育博彩注单.
    turnover Decimal Yes 注单的流水。

    5.5.2 根据修改时间获取客户注单报表

    如会员名称为代理名称,呼叫此函式会根据提供的时间区间并回传该期间内该代理下的所有会员的注单和总流水。
    修改时间区间需小于或等于4天(只限体育博彩)。
    请求中的日期参数是基于最新的修改日期。資料的搜尋範圍必須是在60天以內
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-customer-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"serverId" : "server ID",
    	"username" : "agt001",
    	"startDate" : "2018-06-01 00:00:00",
    	"endDate" : "2018-08-01 00:00:00",
    	"lang" : "EN"
    }
    
    ResponseBody
    {
            "playerBetList":{
                "subBet":[ {
                    "transId":129319083,
                    "betOption":"Altinordu(n)",
                    "marketType":"Handicap",
                    "hdp":0,
                    "odds":-0.8,
                    "league":"Turkey Cup",
                    "status":"lose",
                    "match":"Altinordu(n) vs Kayserispor",
                    "winlostDate":"2018-06-10T00:00:00",
                    "liveScore":"0:0",
                    "htScore":"0:0",
                    "ftScore":"0:0",
                    "customeizedBetType":"",
                    "kickOffTime":"2018-06-10T01:00:00",
                    "isHalfWonLose":false,
                    "isLive":false,
                    "sportType":"Football"
                } ],
                "refNo":"221929192",
                "username":"tesewuf",
                "sportType":"Football",
                "orderTime":"2018-06-10T21:35:46.03",
                "winlostDate":"2018-06-10T00:00:00",
                "modifyDate":"2018-06-10T22:26:56.86",
                "odds":-0.8,
                "oddsStyle":"M",
                "stake":100.000000,
                "actualStake":80.000000,
                "currency":"THB",
                "status":"lose",
                "winlose":0.000000,
                "turnover":100.000000,
                "isHalfWonLose":false,
                "isLive":false,
                "MaxWinWithoutActualStake":100,
                "Ip":"123.147.58.47",
                "isSystemTagRisky":false,
                "remark":"",
                "SettledTime":"2018-06-10T22:26:56.86"
            },
            "turnover":100,
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId":"server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 代理名称或会员名称。
    startDate DateTime Yes 格式: "2018-07-23T00:00:00"
    endDate DateTime Yes 格式: "2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    lang String No 预设值为 EN,所有语言请参考语言
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    playerBetList PlayerBetList[] Yes 代理或会员的注单。请查看 体育博彩注单.
    turnover Decimal Yes 注单的流水
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 代理名称或会员名称。
    startDate DateTime Yes 格式: "2018-07-23T00:00:00"
    endDate DateTime Yes 格式: "2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    lang String No 预设值为 en,所有语言请参考语言
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    playerBetList PlayerBetList[] Yes 代理或会员的注单。请查看 体育博彩注单.
    turnover Decimal Yes 注单的流水

    5.5.3 根据修改时间获取客户真人赌场注单报表

    呼叫此函式,会基于下注结算时间回传特定会员已结算的真人赌场注单。此函次也支援根据代理名称来获取该代理下的会员的注单。请求中的日期参数是基于最新的修改日期。資料的搜尋範圍必須是在60天以內
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-casino-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"serverId" : "server ID",
    	"username" : "player001",
    	"startDate" : "2015-02-04 00:00:00",
    	"endDate" : "2015-02-04 00:00:00"
    }
    
    ResponseBody
    {
            "result":[
            {
                "orderTime":"2016-12-05T00:22:51.783",
                "modifyDate":"2016-12-05T23:14:23.913",
                "refNo":"B001332233",
                "accountId":"player001",
                "gameId":3054746,
                "tableName":"Baccarat G1-25C",
                "stake":10.00,
                "turnover":10.00,
                "winlost":-10.000000,
                "ProductType":"Baccarat",
                "status":"Lose",
                "SubBets":null,
                "BetDetail":"Banker:10",
                "GameResult":"Banker:1(♣J ♥A ♣K); Player:9(♦6 ♣6 ♦7)"
            }, {
                "orderTime":"2016-12-05T00:36:25.873",
                "modifyDate":"2016-12-05T23:14:23.913",
                "refNo":"R001332303",
                "accountId":"player001",
                "gameId":3054877,
                "tableName":"Roulette A5-22",
                "stake":105.00,
                "turnover":105.00,
                "winlost":195.000000,
                "ProductType":"Roulette",
                "status":"Won",
                "SubBets":null,
                "BetDetail":"1st_12(1~12):100;1,2,4,5:5",
                "GameResult":"7
            }, {
                "orderTime":"2016-12-05T02:04:01.79",
                "modifyDate":"2016-12-05T23:14:23.913",
                "refNo":"B001332343",
                "accountId":"player001",
                "gameId":3055737,
                "tableName":"Baccarat A7-29C",
                "stake":100.00,
                "turnover":100.00,
                "winlost":100.000000,
                "ProductType":"Baccarat",
                "status":"Won",
                "SubBets":null,
                "BetDetail":"Player:100",
                "GameResult":"Banker:7(♠Q ♠7); Player:9(♠3 ♦6)"
            } ],
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId":"server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 代理名称或会员名称。
    startDate DateTime Yes 格式: "2018-07-23T00:00:00"
    endDate DateTime Yes 格式: "2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    result CasinoBetList[] Yes 代理或会员的注单。请查看 真人赌场注单.

    5.5.4 根据修改时间获取客户虚拟运动注单报表

    呼叫此函式,会基于注单最新修改时间回传特定会员的虚拟运动注单。此函次也支援根据代理名称来获取该代理下的会员的注单。
    请求中的日期参数是基于最新的修改日期。资料的搜寻范围必须是在 60 天以内
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-virtualsports-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
        "companyKey" : "{CompanyKey}",
        "serverId" : "server ID",
        "username" : "player001",
        "startDate" : "2020-04-27 06:00:00",
        "endDate" : "2020-04-27 06:30:00"
    }
                
    ResponseBody
    {
        "result": [
        {
            "orderTime": "2020-04-27T06:04:05.067",
            "modifyDate": "2020-04-27T06:07:36.287",
            "refNo": "V2682729",
            "accountId": "Player001",
            "gameId": 2682729,
            "tableName": "Virtual Sports",
            "odds": -0.8,
            "oddsStyle": "Malay",
            "stake": 229,
            "actualStake": 183.2,
            "turnover": 229,
            "winlost": 0,
            "status": "Running",
            "ProductType": "VirtualFootballDesktop",
            "WinlostDate": "2020-04-27T00:00:00",
            "SubBets": [
                {
                    "htScore": "1:0",
                    "ftScore": "2:1",
                    "betOption": "VL Rome",
                    "marketType": "AsianHandicap",
                    "hdp": "-1.0",
                    "odds": -0.8,
                    "match": "VL Rome -vs- VL Zagreb",
                    "status": "Running",
                    "winlostDate": "2020-04-27T00:00:00"
                }
            ]
        },
        {
            "orderTime": "2020-04-27T06:04:12.513",
            "modifyDate": "2020-04-27T06:07:36.303",
            "refNo": "V2682730",
            "accountId": "Player001",
            "gameId": 2682730,
            "tableName": "Virtual Sports",
            "odds": 12.15,
            "oddsStyle": "Euro",
            "stake": 1,
            "actualStake": 1,
            "turnover": 1,
            "winlost": -1,
            "status": "Lose",
            "ProductType": "MixParlayDesktop",
            "WinlostDate": "2020-04-27T00:00:00",
            "SubBets": [
                {
                    "htScore": "1:0",
                    "ftScore": "2:1",
                    "betOption": "VL Rome",
                    "marketType": "AsianHandicap",
                    "hdp": "-1.0",
                    "odds": 2.25,
                    "match": "VL Rome -vs- VL Zagreb",
                    "status": "Draw",
                    "winlostDate": "2020-04-27T00:00:00"
                },
                {
                    "htScore": "1:0",
                    "ftScore": "2:1",
                    "betOption": "VL Moscow",
                    "marketType": "AsianHandicap",
                    "hdp": "0.75",
                    "odds": 2,
                    "match": "VL Amsterdam -vs- VL Moscow",
                    "status": "Won",
                    "winlostDate": "2020-04-27T00:00:00"
                },
                {
                    "htScore": "0:1",
                    "ftScore": "1:1",
                    "betOption": "Under",
                    "marketType": "OverUnder",
                    "hdp": "1.5",
                    "odds": 2.7,
                    "match": "VL Athens -vs- VL Vienna",
                    "status": "Lose",
                    "winlostDate": "2020-04-27T00:00:00"
                }
            ]
        },
        {
            "orderTime": "2020-04-27T06:14:21.263",
            "modifyDate": "2020-04-27T06:14:21.27",
            "refNo": "V2682731",
            "accountId": "Player001",
            "gameId": 2682731,
            "tableName": "Virtual Sports",
            "odds": 7.92,
            "oddsStyle": "Euro",
            "stake": 1,
            "actualStake": 1,
            "turnover": 1,
            "winlost": 0,
            "status": "Running",
            "ProductType": "MixParlayDesktop",
            "WinlostDate": "2020-04-27T00:00:00",
            "SubBets": [
                {
                    "htScore": "0:0",
                    "ftScore": "0:0",
                    "betOption": "Under",
                    "marketType": "OverUnder",
                    "hdp": "1.5",
                    "odds": 4.95,
                    "match": "VL Rome -vs- VL London",
                    "status": "Running",
                    "winlostDate": "2020-04-27T00:00:00"
                },
                {
                    "htScore": "0:0",
                    "ftScore": "0:0",
                    "betOption": "Over",
                    "marketType": "OverUnder",
                    "hdp": "1.5",
                    "odds": 1.6,
                    "match": "VL Bern -vs- VL Zagreb",
                    "status": "Running",
                    "winlostDate": "2020-04-27T00:00:00"
                }
            ]
        }
    ],
    "error": {
        "id": 0,
        "msg": "NoError"
    },
    "serverId": "Server Id"
                        }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 代理名称或会员名称。
    lang String No 预设值为 EN,语言包含 EN, ZH-TW, ZH-CN, JA-JP, KO-KR, TH-TH, VI-VN
    startDate DateTime Yes 格式: "2018-07-23T00:00:00"
    endDate DateTime Yes 格式: "2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    result VirtualSportsList[] Yes 代理或会员的注单。请查看 虚拟游戏注单.

    5.5.5 根据修改时间获取无缝游戏注单

    呼叫此函式,会基于下注结算时间回传特定会员已结算的无缝游戏注单。此函次也支援根据代理名称来获取该代理下的会员的注单。请求中的日期参数是基于最新的修改日期。
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-seamlessgameprovider-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
                "companyKey" : "{CompanyKey}",
                "gameProvider" : "wm",
                "serverId" : "server ID",
                "username" : "agt001",
                "startDate" : "2015-02-04 00:00:00",
                "endDate" : "2015-02-04 00:00:00"
            }
            
    ResponseBody - wm,SexyBaccara,
    CQNine,BigGaming
    FlowGamingHub
    JokerGaming
    {"result":[
                        {
                        "orderTime":"2019-02-14T23:03:15.447",
                        "modifyDate":"2019-02-14T23:06:39.967",
                        "refNo":"WM_238_1000102_112164543_3",
                        "accountId":"WuuP003CNY",
                        "gamePeriodId":"112164543",
                        "gameRoundId":"3",
                        "gameType":"WmDragonAndTiger",
                        "stake":10,
                        "turnOverStake":10,
                        "orderDetail":"betdetail[Dragon]:-10",
                        "gameResult":"Dragon:♠10Tiger:♠3",
                        "WinLostDate":"2019-02-14T00:00:00",
                        "status":"Lose",
                        "winLost":-10.00000,
                        "isResettle":true
                    },
                    {
                        "orderTime":"2019-02-15T03:53:28.697",
                        "modifyDate":"2019-02-15T03:54:07.263",
                        "refNo":"WM_238_1000102_112164578_95",
                        "accountId":"WuuP003CNY",
                        "gamePeriodId":"112164578",
                        "gameRoundId":"95",
                        "gameType":"WmDragonAndTiger",
                        "stake":10,
                        "turnOverStake":10,
                        "orderDetail":"betdetail[Dragon]:-10",
                        "gameResult":"Dragon:♥2Tiger:♣4",
                        "WinLostDate":"2019-02-15T00:00:00",
                        "status":"Lose",
                        "winLost":-10.000000,
                        "isResettle":false
                    }],
                    "error":{"id":0,"msg":"NoError"},
                    "serverId":"A60"
    }
    ResponseBody - Lv
    {
              "playerBetList":{
                  "subBet":[ {
                      "betOption":"Altinordu(n)",
                      "marketType":"Handicap",
                      "hdp":0,
                      "odds":-0.8,
                      "league":"Turkey Cup",
                      "status":"lose",
                      "match":"Altinordu(n) vs Kayserispor",
                      "winlostDate":"2018-06-10T00:00:00",
                      "liveScore":"0:0",
                      "htScore":"0:0",
                      "ftScore":"0:0",
                      "kickOffTime":"2018-06-10T01:00:00",
                      "customeizedBetType":""
                  } ],
                  "refNo":"221929192",
                  "username":"tesewuf",
                  "sportType":"Football",
                  "orderTime":"2018-06-10T21:35:46.03",
                  "winlostDate":"2018-06-10T00:00:00",
                  "modifyDate":"2018-06-10T22:26:56.86",
                  "odds":-0.8,
                  "oddsStyle":"M",
                  "stake":100.000000,
                  "actualStake":80.000000,
                  "currency":"THB",
                  "status":"lose",
                  "winlose":0.000000,
                  "turnover":100.000000,
                  "isHalfWonLose":false,
                  "isLive":false,
                  "MaxWinWithoutActualStake":100,
                  "Ip":"123.147.58.47"
              },
              "turnover":100,
              "error" :  { "id" : 0, "msg" : "no error"},
              "serverId":"server ID"
      }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 代理名称或会员名称。
    startDate DateTime Yes 格式: "2018-07-23T00:00:00"
    endDate DateTime Yes 格式: "2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    gameProvider String(15) 必须(如果您想捞取无缝游戏注单) 您想捞取哪个无缝游戏提供商的注单. 可能的值为 无缝游戏提供商
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    result SeamlessGameProviderBetList[] Yes 代理或会员的注单。请查看 无缝游戏注单

    5.5.6 根据修改时间获取无缝游戏 Bonus注单

    呼叫此函式,会基于下注结算时间回传特定会员已结算的无缝游戏 Bonus注单。此函次也支援根据代理名称来获取该代理下的会员的 Bonus注单。请求中的日期参数是基于最新的修改日期。
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-seamlessgameprovider-bonus-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
                "companyKey" : "{CompanyKey}",
                "gameProvider" : "JokerGaming",
                "serverId" : "server ID",
                "username" : "agt001",
                "startDate" : "2019-06-04 00:00:00",
                "endDate" : "2019-06-20 00:00:00"
            }
            
    ResponseBody - wm,SexyBaccarat,
    CQNine,BigGaming
    FlowGamingHub
    JokerGaming
    {
            "result": [
                    
    ResponseBody - wm,SexyBaccarat,
    CQNine,BigGaming
    FlowGamingHub
    JokerGaming
    {
        "result": [
            {
            "gamePeriodId": null,
            "gameRoundId": null,
            "orderTime": "2019-06-04T10:00:00",
            "modifyDate": "2019-06-04T10:00:00",
            "refNo": "JG_001_ebudnqj68wxyz_azw6e86tq1234",
            "accountId": "agt001",
            "stake": 0,
            "turnOverStake": 0,
            "orderDetail": "Bonus",
            "WinLostDate": "2019-06-04T10:00:00",
            "status": "Bonus",
            "winLost": 0
            },
            {
            "gamePeriodId": null,
            "gameRoundId": null,
            "orderTime": "2019-06-04T20:00:00",
            "modifyDate": "2019-06-04T20:00:00",
            "refNo": "JG_001_ne4gq55cpabcd_g5t9h3w634567",
            "accountId": "agt001",
            "stake": 0,
            "turnOverStake": 0,
            "orderDetail": "Bonus",
            "WinLostDate": "2019-06-04T20:00:00",
            "status": "Bonus",
            "winLost": 0.7
            }
            ]
            } ],
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId": "server ID"
            }
                
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 代理名称或会员名称。
    startDate DateTime Yes 格式: "2018-07-23T00:00:00"
    endDate DateTime Yes 格式: "2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    gameProvider String(15) 必须(如果您想捞取无缝游戏注单) 您想捞取哪个无缝游戏提供商的注单. 可能的值为 无缝游戏提供商
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    result SeamlessGameProviderBetList[] Yes 代理或会员的注单。请查看 无缝游戏注单
    ], "error": { "id": 0, "msg": "NoError" }, "serverId": "A15" } remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    username String(20) Yes 代理名称或会员名称。
    startDate DateTime Yes 格式: "2018-07-23T00:00:00"
    endDate DateTime Yes 格式: "2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    gameProvider String(15) 必须(如果您想捞取无缝游戏注单) 您想捞取哪个无缝游戏提供商的注单. 可能的值为 无缝游戏提供商
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    result SeamlessGameProviderBetList[] Yes 代理或会员的注单。请查看 无缝游戏注单

    5.6 根据注单序号获取客户注单报表

    呼叫此函式并提供注单序号可以获取该笔注单的详细,支援一次查询多个注单序号。資料必須是在60天以內
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-customer-bet-list-by-transid.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"transid": "3998211,3998213",
    	"lang": "EN",
    	"companyKey": "DUMMY-COMPANY-KEY",
    	"serverId": "QA-Page"
    }
    
    ResponseBody
    {
            "PlayerBetList": [ {
                "subBet": [
                    {
                    "transId":129301823,
                    "betOption": "Omiya Ardija",
                    "marketType": "Handicap",
                    "hdp": 0.25,
                    "odds": 0.9,
                    "league": "Japan J-League YBC Levain Cup",
                    "status": "won",
                    "match": "Omiya Ardija vs Yokohama F.Marinos",
                    "winlostDate": "2016-08-31T00:00:00",
                    "modifyDate":"2016-08-31T23:14:23.913",
                    "liveScore": "0:0",
                    "htScore": "1:0",
                    "ftScore": "2:1",
                    "kickOffTime":"2016-08-31T01:00:00",
                    "customeizedBetType": "",
                    "sportType":"Football"
                    }
                ],
            "refNo": "3998211",
            "username": "testgg",
            "sportType": "Football",
            "orderTime": "2016-08-30T00:29:27.803",
            "winlostDate": "2016-08-31T00:00:00",
            "modifyDate":"2016-08-31T23:14:23.913",
            "odds": 0.9,
            "oddsStyle": "M",
            "stake": 1000,
            "actualStake": 1000,
            "currency": "CNY",
            "status": "won",
            "winlose": 1900,
            "turnover": 1000,
            "isHalfWonLose":false,
            "isLive":false,
            "MaxWinWithoutActualStake":null,
            "Ip": "122.146.59.233",
            "isSystemTagRisky":false,
            "remark":"",
            "SettledTime":"2016-08-31T23:14:23.913"
            }, {
                "subBet": [
                    {
                    "transId":9238408,
                    "betOption": "Trelleborgs FF",
                    "marketType": "Handicap",
                    "hdp": -0.25,
                    "odds": 0.87,
                    "league": "SWEDEN SUPERETTAN",
                    "match": "Trelleborgs FF vs IK Frej",
                    "status":"lose",
                    "winlostDate": "2016-08-30T00:00:00",
                    "modifyDate":"2016-08-31T23:14:23.913",
                    "liveScore": "0:0",
                    "htScore": "1:0",
                    "ftScore": "4:1",
                    "kickOffTime":"2016-08-30T01:00:00",
                    "customeizedBetType": ""
                    }
                ],
            "refNo": "3998213",
            "username": "tPlayerCNY",
            "sportType": "Football",
            "orderTime": "2016-08-30T10:59:01.9",
            "winlostDate": "2016-08-30T00:00:00",
            "modifyDate":"2016-08-31T23:14:23.913",
            "odds": 0.87,
            "oddsStyle": "M",
            "stake": 2525,
            "actualStake": 2525,
            "currency": "CNY",
            "status": "won",
            "winlose": 4721.75,
            "turnover": 2525,
            "isHalfWonLose":false,
            "isLive":false,
            "MaxWinWithoutActualStake":null,
            "Ip": "122.146.59.233",
            "remark":"",
            "SettledTime":"2016-08-31T23:14:23.913"
            } ],
            "turnover": 3525,
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId": "server ID"
    }
    
    remark
    Request
    Field Name Type Required Description
    transid String(1000) Yes 注单序号,支援一次查询多个注单序号。
    lang String Yes 预设值为 EN,所有语言请参考语言
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    transid String(1000) Yes 注单序号,支援一次查询多个注单序号。
    lang String Yes 预设值为 en,所有语言请参考语言
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    playerBetList PlayerBetList[] Yes 代理或会员的注单。请查看 体育博彩注单.
    turnover Decimal Yes 注单的流水

    5.6.1 根据注单序号获取客户真人赌场注单报表

    呼叫此函式并提供真人赌场注单序号可以获取该笔注单的资料,支援一次查询多个真人赌场注单序号。資料的搜尋範圍必須是在60天以內
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-casino-bet-list-by-transid.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"transid": "B00117581,S00175043,R00175063",
    	"companyKey": "{CompanyKey}",
    	"serverId": "server ID"
    }
    
    ResponseBody
    {
                "result": [
                {
                    "orderTime": "2018-07-23T05:48:32.43",
                    "modifyDate":"2018-07-23T05:49:04.957",
                    "refNo": "B00117581",
                    "accountId": "testFrom568",
                    "gameId": 1636936,
                    "tableName": "Baccarat H1-32C",
                    "stake": 10,
                    "turnover": 10,
                    "winlost": -10,
                    "status": "Lose",
                    "ProductType": "Baccarat",
                    "ProductType": "Baccarat",
                    "BetDetail":"Banker:10",
                    "GameResult":"Banker:1(♣J ♥A ♣K); Player:9(♦6 ♣6 ♦7)"
                }, {
                    "orderTime": "2018-10-12T04:39:56.99",
                    "modifyDate":"2018-10-12T04:41:02.45",
                    "refNo": "S00175043",
                    "accountId": "testFrom568",
                    "gameId": 1957718,
                    "tableName": "Sic Bo A6-21",
                    "stake": 8,
                    "turnover": 8,
                    "winlost": -8,
                    "status": "Lose",
                    "ProductType": "SicBo",
                    "BetDetail":"Big:25;3_Dice_Totalling(11):20;3_Dice_Totalling(12):20;Even:25",
                    "GameResult":"1,3,4"
                }, {
                    "orderTime": "2016-09-21T22:57:32.55",
                    "modifyDate":"2016-09-215T23:14:23.913",
                    "refNo": "R00175063",
                    "accountId": "testFrom568",
                    "gameId": 1957714,
                    "tableName": "Roulette A5-22",
                    "stake": 105,
                    "turnover": 105,
                    "winlost": 195,
                    "status": "Won",
                    "ProductType": "Roulette",
                    "BetDetail":"1st_12(1~12):100;1,2,4,5:5",
                    "GameResult":"7
                } ],
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId": "server ID"
    }
    
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    transid String(1000) Yes 注单序号,支援一次查询多个注单序号。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    result CasinoBetList[] Yes 代理或会员的注单。请查看 真人赌场注单.

    5.6.2 根据注单序号获取客户虚拟运动注单报表

    呼叫此函式并提供虚拟运动注单序号可以获取该笔注单的资料,支援一次查询多个虚拟运动注单序号。資料必須是在60天以內
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-virtualsports-bet-list-by-transid.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
            "transid": "V2682729,V2682730,V2682731",
            "companyKey": "{CompanyKey}",
            "serverId": "server ID"
    }
                
    ResponseBody
    {
        "result": [
            {
                "orderTime": "2020-04-27T06:04:05.067",
                "modifyDate": "2020-04-27T06:07:36.287",
                "refNo": "V2682729",
                "accountId": "Player001",
                "gameId": 2682729,
                "tableName": "Virtual Sports",
                "odds": -0.8,
                "oddsStyle": "Malay",
                "stake": 229,
                "actualStake": 183.2,
                "turnover": 229,
                "winlost": 0,
                "status": "Running",
                "ProductType": "VirtualFootballDesktop",
                "WinlostDate": "2020-04-27T00:00:00",
                "SubBets": [
                    {
                        "htScore": "1:0",
                        "ftScore": "2:1",
                        "betOption": "VL Rome",
                        "marketType": "AsianHandicap",
                        "hdp": "-1.0",
                        "odds": -0.8,
                        "match": "VL Rome -vs- VL Zagreb",
                        "status": "Running",
                        "winlostDate": "2020-04-27T00:00:00"
                    }
                ]
            },
            {
                "orderTime": "2020-04-27T06:04:12.513",
                "modifyDate": "2020-04-27T06:07:36.303",
                "refNo": "V2682730",
                "accountId": "Player001",
                "gameId": 2682730,
                "tableName": "Virtual Sports",
                "odds": 12.15,
                "oddsStyle": "Euro",
                "stake": 1,
                "actualStake": 1,
                "turnover": 1,
                "winlost": -1,
                "status": "Lose",
                "ProductType": "MixParlayDesktop",
                "WinlostDate": "2020-04-27T00:00:00",
                "SubBets": [
                    {
                        "htScore": "1:0",
                        "ftScore": "2:1",
                        "betOption": "VL Rome",
                        "marketType": "AsianHandicap",
                        "hdp": "-1.0",
                        "odds": 2.25,
                        "match": "VL Rome -vs- VL Zagreb",
                        "status": "Draw",
                        "winlostDate": "2020-04-27T00:00:00"
                    },
                    {
                        "htScore": "1:0",
                        "ftScore": "2:1",
                        "betOption": "VL Moscow",
                        "marketType": "AsianHandicap",
                        "hdp": "0.75",
                        "odds": 2,
                        "match": "VL Amsterdam -vs- VL Moscow",
                        "status": "Won",
                        "winlostDate": "2020-04-27T00:00:00"
                    },
                    {
                        "htScore": "0:1",
                        "ftScore": "1:1",
                        "betOption": "Under",
                        "marketType": "OverUnder",
                        "hdp": "1.5",
                        "odds": 2.7,
                        "match": "VL Athens -vs- VL Vienna",
                        "status": "Lose",
                        "winlostDate": "2020-04-27T00:00:00"
                    }
                ]
            },
            {
                "orderTime": "2020-04-27T06:14:21.263",
                "modifyDate": "2020-04-27T06:14:21.27",
                "refNo": "V2682731",
                "accountId": "Player001",
                "gameId": 2682731,
                "tableName": "Virtual Sports",
                "odds": 7.92,
                "oddsStyle": "Euro",
                "stake": 1,
                "actualStake": 1,
                "turnover": 1,
                "winlost": 0,
                "status": "Running",
                "ProductType": "MixParlayDesktop",
                "WinlostDate": "2020-04-27T00:00:00",
                "SubBets": [
                    {
                        "htScore": "0:0",
                        "ftScore": "0:0",
                        "betOption": "Under",
                        "marketType": "OverUnder",
                        "hdp": "1.5",
                        "odds": 4.95,
                        "match": "VL Rome -vs- VL London",
                        "status": "Running",
                        "winlostDate": "2020-04-27T00:00:00"
                    },
                    {
                        "htScore": "0:0",
                        "ftScore": "0:0",
                        "betOption": "Over",
                        "marketType": "OverUnder",
                        "hdp": "1.5",
                        "odds": 1.6,
                        "match": "VL Bern -vs- VL Zagreb",
                        "status": "Running",
                        "winlostDate": "2020-04-27T00:00:00"
                    }
                ]
            }
        ],
        "error": {
            "id": 0,
            "msg": "NoError"
        },
        "serverId": "Server Id"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    lang String No 预设值为 EN,语言包含 EN, ZH-TW, ZH-CN, JA-JP, KO-KR, TH-TH, VI-VN
    transid String(1000) Yes 注单序号,支援一次查询多个注单序号。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    result VirtualSportsBetList[] Yes 代理或会员的注单。请查看 虚拟游戏注单.

    5.6.3 根据注单序号获取无缝游戏注单

    呼叫此函式并提供无缝游戏注单序号可以获取该笔注单的资料,支援一次查询多个无缝游戏注单序号。
    此函示将只会回传已结算注单,且不包含被取消之注单, 如果贵司期望能回传未结算或取消之注单, 再麻烦通知我司对接人员, 我司人员将为您方开启此功能
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-seamlessgameprovider-bet-list-by-refno.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
                    "companyKey" : "{CompanyKey}",
                    "serverId" : "server ID",
                    "refNos":"WM_238_1000102_112164578_95",
                    "gameProvider":"wm"
                }
                
    ResponseBody - wm,SexyBaccara,
    CQNine,BigGaming
    FlowGamingHub
    JokerGaming
    {
                    "result":[
                    {
                        "orderTime":"2019-02-15T03:53:28.697",
                        "modifyDate":"2019-02-15T03:54:07.263",
                        "refNo":"WM_238_1000102_112164578_95",
                        "accountId":"WuuP003CNY",
                        "gamePeriodId":"112164578",
                        "gameRoundId":"95",
                        "gameType":"WmDragonAndTiger",
                        "stake":10,
                        "turnOverStake":10,
                        "orderDetail":"betdetail[Dragon]:-10",
                        "gameResult":"Dragon:♥2Tiger:♣4",
                        "WinLostDate":"2019-02-15T00:00:00",
                        "status":"Lose",
                        "winLost":-10.000000,
                        "isResettle":false
                    }],
                    "error":{"id":0,"msg":"NoError"},
                    "serverId":"A60"
    }
    ResponseBody - lv
    {
                    "playerBetList":{
                        "subBet":[ {
                            "betOption":"Altinordu(n)",
                            "marketType":"Handicap",
                            "hdp":0,
                            "odds":-0.8,
                            "league":"Turkey Cup",
                            "status":"lose",
                            "match":"Altinordu(n) vs Kayserispor",
                            "winlostDate":"2018-06-10T00:00:00",
                            "liveScore":"0:0",
                            "htScore":"0:0",
                            "ftScore":"0:0",
                            "kickOffTime":"2016-06-10T01:00:00",
                            "customeizedBetType":""
                        } ],
                        "refNo":"221929192",
                        "username":"tesewuf",
                        "sportType":"Football",
                        "orderTime":"2018-06-10T21:35:46.03",
                        "winlostDate":"2018-06-10T00:00:00",
                        "modifyDate":"2018-06-10T22:26:56.86",
                        "odds":-0.8,
                        "oddsStyle":"M",
                        "stake":100.000000,
                        "actualStake":80.000000,
                        "currency":"THB",
                        "status":"lose",
                        "winlose":0.000000,
                        "turnover":100.000000,
                        "isHalfWonLose":false,
                        "isLive":false,
                        "MaxWinWithoutActualStake":100,
                        "Ip":"123.147.58.47"
                    },
                    "turnover":100,
                    "error" :  { "id" : 0, "msg" : "no error"},
                    "serverId":"server ID"
            }
            
    remark
    Request
    Field Name Type Required Description
    refNos String(4000) Yes 注单序号,支援一次查询多个注单序号。
    gameProvider String(15) 必须(如果您想捞取无缝游戏注单) 您想捞取哪个无缝游戏提供商的注单. 可能的值为 无缝游戏提供商
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    result SeamlessGameProviderBetList[] Yes 代理或会员的注单。请查看 无缝游戏注单

    5.6.4 根据注单序号获取无缝游戏注单全部状态

    呼叫此函式并提供无缝游戏注单序号可以获取该笔注单全部的资料(已结算,已取消,运行中),支持一次查询多个无缝游戏注单序号。
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-seamlessgameprovider-all-bet-status-list-by-refno.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
                    "companyKey" : "{CompanyKey}",
                    "serverId" : "server ID",
                    "refNos":"WM_238_1000102_112164578_95",
                    "gameProvider":"wm"
                }
                
    ResponseBody - wm,SexyBaccara,
    CQNine,BigGaming
    FlowGaming
    JokerGaming
    {
                    "result":[
                    {
                        "orderTime":"2019-02-15T03:53:28.697",
                        "modifyDate":"2019-02-15T03:54:07.263",
                        "refNo":"WM_238_1000102_112164578_95",
                        "accountId":"WuuP003CNY",
                        "gamePeriodId":"112164578",
                        "gameRoundId":"95",
                        "gameType":"WmDragonAndTiger",
                        "stake":10,
                        "turnOverStake":10,
                        "orderDetail":"betdetail[Dragon]:-10",
                        "gameResult":"Dragon:♥2Tiger:♣4",
                        "WinLostDate":"2019-02-15T00:00:00",
                        "status":"Lose",
                        "winLost":-10.000000,
                        "isResettle":false
                    },
                    {
                        "orderTime":"2019-02-15T03:53:30.697",
                        "modifyDate":"2019-02-15T03:54:09.263",
                        "refNo": "WM_238_1000102_112164578_95",
                        "accountId": "WuuP003CNY",
                        "gamePeriodId": "112164578",
                        "gameRoundId": "95",
                        "gameType": "WmDragonAndTiger",
                        "stake": 20,
                        "turnOverStake": 20,
                        "orderDetail": "",
                        "GameResult":"",
                        "WinLostDate": "2019-02-15T00:00:00",
                        "status": "Running",
                        "winLost": 0.000000,
                        "isResettle": false
                    }
                    ],
                    "error":{"id":0,"msg":"NoError"},
                    "serverId":"A60"
    }
    remark
    Request
    Field Name Type Required Description
    refNos String(4000) Yes 注单序号,支援一次查询多个注单序号。
    gameProvider String(15) 必须(如果您想捞取无缝游戏注单) 您想捞取哪个无缝游戏提供商的注单. 可能的值为 无缝游戏提供商
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    result SeamlessGameProviderBetList[] Yes 代理或会员的注单。请查看 无缝游戏注单

    5.6.5 根据568Win体育博彩注单序号获取客户注单报表(废弃)

    呼叫此函式并提供568Win体育博彩注单序号可以获取该笔注单的详细,支援一次查询多个注单序号。資料必須是在60天以內
    name sample
    path
    http://{api-domain}/web-root/restricted/report/v2/get-customer-568Sports-bet-list-by-transid.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"transid": "3998211,3998213",
    	"lang": "EN",
    	"companyKey": "DUMMY-COMPANY-KEY",
    	"serverId": "QA-Page"
    }
    
    ResponseBody
    {
            "PlayerBetList": [ {
                "subBet": [
                    {
                    "transId":129301823,
                    "betOption": "Omiya Ardija",
                    "marketType": "Handicap",
                    "hdp": 0.25,
                    "odds": 0.9,
                    "league": "Japan J-League YBC Levain Cup",
                    "status": "won",
                    "match": "Omiya Ardija vs Yokohama F.Marinos",
                    "winlostDate": "2016-08-31T00:00:00",
                    "modifyDate":"2016-08-31T23:14:23.913",
                    "liveScore": "0:0",
                    "htScore": "1:0",
                    "ftScore": "2:1",
                    "kickOffTime":"2016-08-31T01:00:00",
                    "customeizedBetType": "",
                    "sportType":"Football"
                    }
                ],
            "refNo": "3998211",
            "username": "testgg",
            "sportType": "Football",
            "orderTime": "2016-08-30T00:29:27.803",
            "winlostDate": "2016-08-31T00:00:00",
            "modifyDate":"2016-08-31T23:14:23.913",
            "odds": 0.9,
            "oddsStyle": "M",
            "stake": 1000,
            "actualStake": 1000,
            "currency": "CNY",
            "status": "won",
            "winlose": 1900,
            "turnover": 1000,
            "isHalfWonLose":false,
            "isLive":false,
            "MaxWinWithoutActualStake":null,
            "Ip": "122.146.59.233",
            "isSystemTagRisky":false,
            "remark":""
            }, {
                "subBet": [
                    {
                    "transId":9238408,
                    "betOption": "Trelleborgs FF",
                    "marketType": "Handicap",
                    "hdp": -0.25,
                    "odds": 0.87,
                    "league": "SWEDEN SUPERETTAN",
                    "match": "Trelleborgs FF vs IK Frej",
                    "status":"lose",
                    "winlostDate": "2016-08-30T00:00:00",
                    "modifyDate":"2016-08-31T23:14:23.913",
                    "liveScore": "0:0",
                    "htScore": "1:0",
                    "ftScore": "4:1",
                    "kickOffTime":"2016-08-30T01:00:00",
                    "customeizedBetType": ""
                    }
                ],
            "refNo": "3998213",
            "username": "tPlayerCNY",
            "sportType": "Football",
            "orderTime": "2016-08-30T10:59:01.9",
            "winlostDate": "2016-08-30T00:00:00",
            "modifyDate":"2016-08-31T23:14:23.913",
            "odds": 0.87,
            "oddsStyle": "M",
            "stake": 2525,
            "actualStake": 2525,
            "currency": "CNY",
            "status": "won",
            "winlose": 4721.75,
            "turnover": 2525,
            "isHalfWonLose":false,
            "isLive":false,
            "MaxWinWithoutActualStake":null,
            "Ip": "122.146.59.233"
            } ],
            "turnover": 3525,
            "error" :  { "id" : 0, "msg" : "no error"},
            "serverId": "server ID"
    }
    
    remark
    Request
    Field Name Type Required Description
    transid String(1000) Yes 注单序号,支援一次查询多个注单序号。
    lang String Yes 预设值为 EN,所有语言请参考语言
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    transid String(1000) Yes 注单序号,支援一次查询多个注单序号。
    lang String Yes 预设值为 en,所有语言请参考语言
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    playerBetList PlayerBetList[] Yes 代理或会员的注单。请查看 体育博彩注单.
    turnover Decimal Yes 注单的流水

    5.7 根据注单最后修改时间获取体育注单

    此功能会回传该时间段的所有玩家体育注单资讯。
    时间段最长只能拿30分钟的资料,如2019-09-16 12:00:00 ~ 2019-09-16 12:30:00。拿取的资料须是3天内的日期。
    name sample
    path
    http://{api-domain}/web-root/restricted/report/v2/get-sports-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {     
        "startDate" : "2019-06-04T00:00:00",
        "endDate" : "2019-06-04T00:30:00",                
        "companyKey" : "{CompanyKey}",
        "serverId" : "{server ID}",
    }
    Postman Example
    ResponseBody
    {
        "result":[{
            "subBet":[{
                "transId":12903810,
                "betOption":"Altinordu(n)",
                "marketType":"Handicap",
                "hdp":0,
                "odds":-0.8,
                "league":"Turkey Cup",
                "status":"lose",
                "match":"Altinordu(n) vs Kayserispor",
                "winlostDate":"2018-06-10T00:00:00",
                "liveScore":"0:0",
                "htScore":"0:0",
                "ftScore":"0:0",
                "customeizedBetType":"",
                "kickOffTime":"2018-06-10T01:00:00",
                "isHalfWonLose":false,
                "isLive":false,
                "sportType":"Football"
            }],
            "refNo":"221929192",
            "username":"tesewuf",
            "sportType":"Football",
            "orderTime":"2018-06-10T21:35:46.03",
            "winlostDate":"2018-06-10T00:00:00",
            "modifyDate":"2018-06-10T22:26:56.86",
            "odds":-0.8,
            "oddsStyle":"M",
            "stake":100.000000,
            "actualStake":80.000000,
            "currency":"THB",
            "status":"lose",
            "winlose":0.000000,
            "turnover":100.000000,
            "isHalfWonLose":false,
            "isLive":false,
            "MaxWinWithoutActualStake":100,
            "Ip":"123.147.58.47",
            "isSystemTagRisky":false,
            "remark":""
        }],
        "error" :  { "id" : 0, "msg" : "no error"},
        "serverId":"server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    startDate DateTime Yes 修改日期包含分钟,格式:"2018-07-23T00:00:00"
    endDate DateTime Yes 修改日期包含分钟,格式:"2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    lang String No 预设值为 EN,语言包含 EN, ZH-TW, ZH-CN, JA-JP, KO-KR, TH-TH, VI-VN
    Response
    Field Name Type Required Description
    result result[] Yes 该时间段内所有玩家的体育博彩列表。请参阅 体育博彩注单.
    Error ApiError Yes 错误。请参考 Api 错误码 .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Note
    Fast Market betOption
    Over Goal
    Under No Goal

    5.7.1 根据568Win体育博彩注单最后修改时间获取体育注单(废弃)

    此功能会回传该时间段的所有玩家568Win体育注单资讯。
    时间段最长只能拿30分钟的资料,如2019-09-16 12:00:00 ~ 2019-09-16 12:30:00。拿取的资料须是3天内的日期。
    name sample
    path
    http://{api-domain}/web-root/restricted/report/v2/get-568Sports-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {     
        "startDate" : "2019-06-04T00:00:00",
        "endDate" : "2019-06-04T00:30:00",                
        "companyKey" : "{CompanyKey}",
        "serverId" : "{server ID}",
    }
    Postman Example
    ResponseBody
    {
        "result":[{
            "subBet":[{
                "transId":12903810,
                "betOption":"Altinordu(n)",
                "marketType":"Handicap",
                "hdp":0,
                "odds":-0.8,
                "league":"Turkey Cup",
                "status":"lose",
                "match":"Altinordu(n) vs Kayserispor",
                "winlostDate":"2018-06-10T00:00:00",
                "liveScore":"0:0",
                "htScore":"0:0",
                "ftScore":"0:0",
                "customeizedBetType":"",
                "kickOffTime":"2018-06-10T01:00:00",
                "isHalfWonLose":false,
                "isLive":false,
                "sportType":"Football"
            }],
            "refNo":"221929192",
            "username":"tesewuf",
            "sportType":"Football",
            "orderTime":"2018-06-10T21:35:46.03",
            "winlostDate":"2018-06-10T00:00:00",
            "modifyDate":"2018-06-10T22:26:56.86",
            "odds":-0.8,
            "oddsStyle":"M",
            "stake":100.000000,
            "actualStake":80.000000,
            "currency":"THB",
            "status":"lose",
            "winlose":0.000000,
            "turnover":100.000000,
            "isHalfWonLose":false,
            "isLive":false,
            "MaxWinWithoutActualStake":100,
            "Ip":"123.147.58.47",
            "isSystemTagRisky":false,
            "remark":""
        }],
        "error" :  { "id" : 0, "msg" : "no error"},
        "serverId":"server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    startDate DateTime Yes 修改日期包含分钟,格式:"2018-07-23T00:00:00"
    endDate DateTime Yes 修改日期包含分钟,格式:"2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    lang String No 预设值为 EN,语言包含 EN, ZH-TW, ZH-CN, JA-JP, KO-KR, TH-TH, VI-VN
    Response
    Field Name Type Required Description
    result result[] Yes 该时间段内所有玩家的体育博彩列表。请参阅 体育博彩注单.
    Error ApiError Yes 错误。请参考 Api 错误码 .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.8 根据注单最后修改时间获取真人賭場注單

    此功能会回传该时间段的所有玩家真人賭場注单资讯。
    时间段最长只能拿30分钟的资料,如2019-09-16 12:00:00 ~ 2019-09-16 12:30:00。拿取的资料须是60天内的日期。
    name sample
    path
    http://{api-domain}/web-root/restricted/report/v2/get-casino-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
        "companyKey" : "{CompanyKey}",
        "serverId" : "{server ID}",
        "startDate" : "2016-12-05T00:00:00",
        "endDate" : "2016-12-05T00:30:00"
    }
    
    ResponseBody
    {
        "result":[
            {
                "orderTime":"2016-12-05T00:22:51.783",
                "modifyDate":"2016-12-05T23:14:23.913",
                "refNo":"B001332233",
                "accountId":"player001",
                "gameId":3054746,
                "tableName":"Baccarat G1-25C",
                "stake":10.00,
                "turnover":10.00,
                "winlost":-10.000000,
                "ProductType":"Baccarat",
                "status":"Lose",
                "WinlostDate":"9/11/2018 12:00:00 AM",
                "SubBets":null,
                "BetDetail":"Banker:10",
                "GameResult":"Banker:1(♣J ♥A ♣K); Player:9(♦6 ♣6 ♦7)"
            },
            {
                "orderTime":"2016-12-05T00:36:25.873",
                "modifyDate":"2016-12-05T23:14:23.913",
                "refNo":"R001332303",
                "accountId":"player001",
                "gameId":3054877,
                "tableName":"Roulette A5-22",
                "stake":105.00,
                "turnover":105.00,
                "winlost":195.000000,
                "ProductType":"Roulette",
                "status":"Won",
                "WinlostDate":"9/11/2018 12:00:00 AM",
                "SubBets":null,
                "BetDetail":"1st_12(1~12):100;1,2,4,5:5",
                "GameResult":"7
            },
            {
                "orderTime":"2016-12-05T02:04:01.79",
                "modifyDate":"2016-12-05T23:14:23.913",
                "refNo":"B001332343",
                "accountId":"player001",
                "gameId":3055737,
                "tableName":"Baccarat A7-29C",
                "stake":100.00,
                "turnover":100.00,
                "winlost":-100.000000,
                "ProductType":"Baccarat",
                "status":"Lose",
                "WinlostDate":"9/11/2018 12:00:00 AM",
                "SubBets":null,
                "BetDetail":"Player:100",
                "GameResult":"Banker:7(♠Q ♠7); Player:9(♠3 ♦6)"
            }
        ],
        "error" :  { "id" : 0, "msg" : "no error"},
        "serverId":"server ID"
    }
    
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    startDate DateTime Yes 修改日期包含分钟,格式:"2018-07-23T00:00:00"
    endDate DateTime Yes 修改日期包含分钟,格式:"2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    result result[] Yes 该时间段内所有玩家的真人赌场列表。请参阅 真人赌场注单 .
    Error ApiError Yes 错误。请参考 Api 错误码 .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.9 根据注单最后修改时间获取游戏注单

    此功能会回传该时间段的所有玩家游戏注单资讯。 
    时间段最长只能拿30分钟的资料,如2019-09-16 12:00:00 ~ 2019-09-16 12:30:00。拿取的资料须是60天内的日期。
    name sample
    path
    http://{api-domain}/web-root/restricted/report/v2/get-games-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
        "companyKey" : "{CompanyKey}",
        "serverId" : "{server ID}",
        "startDate" : "2016-12-05 00:00:00",
        "endDate" : "2016-12-06 00:00:00"
    }
    
    ResponseBody
    {
        "result":[
            {
                "orderTime":"2016-12-05T00:22:51.783",
                "modifyDate":"2016-12-05T23:14:23.913",
                "refNo":"B001332233",
                "accountId":"player001",
                "gameId":3054746,
                "tableName":"Baccarat G1-25C",
                "stake":25.00,
                "turnover":25.00,
                "winlost":5.000000,
                "ProductType":"Baccarat",
                "status":"Won",
                "SubBets":null
            },
            {
                "orderTime":"2016-12-05T00:36:25.873",
                "modifyDate":"2016-12-05T23:14:23.913",
                "refNo":"R001332303",
                "accountId":"player001",
                "gameId":3054877,
                "tableName":"Roulette A5-22",
                "stake":5.00,
                "turnover":5.00,
                "winlost":-5.000000,
                "ProductType":"Roulette",
                "status":"Lose",
                "SubBets":null
            },
            {
                "orderTime":"2016-12-05T02:04:01.79",
                "modifyDate":"2016-12-05T23:14:23.913",
                "refNo":"B001332343",
                "accountId":"player001",
                "gameId":3055737,
                "tableName":"Baccarat A7-29C",
                "stake":15.00,
                "turnover":15.00,
                "winlost":-15.000000,
                "ProductType":"Baccarat",
                "status":"Lose",
                "SubBets":null
            }
        ],
        "error" :  { "id" : 0, "msg" : "no error"},
        "serverId":"server ID"
    }
    
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    startDate DateTime Yes 修改日期包含分钟,格式:"2018-07-23T00:00:00"
    endDate DateTime Yes 修改日期包含分钟,格式:"2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    result result[] Yes 该时间段内所有玩家的游戏列表。请参阅游戏注单.
    Error ApiError Yes 错误。请参考 Api 错误码 .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.10 根据注单最后修改时间获取虚拟运动注单

    此功能会回传该时间段的所有玩家虚拟运动注单资讯。
    时间段最长只能拿30分钟的资料,如 2019-09-16 12:00:00 ~ 2019-09-16 12:30:00。拿取的资料须是60天内的日期。
    name sample
    path
    http://{api-domain}/web-root/restricted/report/v2/get-virtualsports-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
            "companyKey" : "{CompanyKey}",
            "serverId" : "{server ID}",
            "startDate" : "2020-04-27 06:00:00",
            "endDate" : "2020-04-27 06:30:00"
    }
    
    ResponseBody
    {
        "result": [
        {
            "orderTime": "2020-04-27T06:04:05.067",
            "modifyDate": "2020-04-27T06:07:36.287",
            "refNo": "V2682729",
            "accountId": "Player001",
            "gameId": 2682729,
            "tableName": "Virtual Sports",
            "odds": -0.8,
            "oddsStyle": "Malay",
            "stake": 229,
            "actualStake": 183.2,
            "turnover": 229,
            "winlost": 0,
            "status": "Running",
            "ProductType": "VirtualFootballDesktop",
            "WinlostDate": "2020-04-27T00:00:00",
            "SubBets": [
                {
                    "htScore": "1:0",
                    "ftScore": "2:1",
                    "betOption": "VL Rome",
                    "marketType": "AsianHandicap",
                    "hdp": "-1.0",
                    "odds": -0.8,
                    "match": "VL Rome -vs- VL Zagreb",
                    "status": "Running",
                    "winlostDate": "2020-04-27T00:00:00"
                }
            ]
        },
        {
            "orderTime": "2020-04-27T06:04:12.513",
            "modifyDate": "2020-04-27T06:07:36.303",
            "refNo": "V2682730",
            "accountId": "Player001",
            "gameId": 2682730,
            "tableName": "Virtual Sports",
            "odds": 12.15,
            "oddsStyle": "Euro",
            "stake": 1,
            "actualStake": 1,
            "turnover": 1,
            "winlost": -1,
            "status": "Lose",
            "ProductType": "MixParlayDesktop",
            "WinlostDate": "2020-04-27T00:00:00",
            "SubBets": [
                {
                    "htScore": "1:0",
                    "ftScore": "2:1",
                    "betOption": "VL Rome",
                    "marketType": "AsianHandicap",
                    "hdp": "-1.0",
                    "odds": 2.25,
                    "match": "VL Rome -vs- VL Zagreb",
                    "status": "Draw",
                    "winlostDate": "2020-04-27T00:00:00"
                },
                {
                    "htScore": "1:0",
                    "ftScore": "2:1",
                    "betOption": "VL Moscow",
                    "marketType": "AsianHandicap",
                    "hdp": "0.75",
                    "odds": 2,
                    "match": "VL Amsterdam -vs- VL Moscow",
                    "status": "Won",
                    "winlostDate": "2020-04-27T00:00:00"
                },
                {
                    "htScore": "0:1",
                    "ftScore": "1:1",
                    "betOption": "Under",
                    "marketType": "OverUnder",
                    "hdp": "1.5",
                    "odds": 2.7,
                    "match": "VL Athens -vs- VL Vienna",
                    "status": "Lose",
                    "winlostDate": "2020-04-27T00:00:00"
                }
            ]
        },
        {
            "orderTime": "2020-04-27T06:14:21.263",
            "modifyDate": "2020-04-27T06:14:21.27",
            "refNo": "V2682731",
            "accountId": "Player001",
            "gameId": 2682731,
            "tableName": "Virtual Sports",
            "odds": 7.92,
            "oddsStyle": "Euro",
            "stake": 1,
            "actualStake": 1,
            "turnover": 1,
            "winlost": 0,
            "status": "Running",
            "ProductType": "MixParlayDesktop",
            "WinlostDate": "2020-04-27T00:00:00",
            "SubBets": [
                {
                    "htScore": "0:0",
                    "ftScore": "0:0",
                    "betOption": "Under",
                    "marketType": "OverUnder",
                    "hdp": "1.5",
                    "odds": 4.95,
                    "match": "VL Rome -vs- VL London",
                    "status": "Running",
                    "winlostDate": "2020-04-27T00:00:00"
                },
                {
                    "htScore": "0:0",
                    "ftScore": "0:0",
                    "betOption": "Over",
                    "marketType": "OverUnder",
                    "hdp": "1.5",
                    "odds": 1.6,
                    "match": "VL Bern -vs- VL Zagreb",
                    "status": "Running",
                    "winlostDate": "2020-04-27T00:00:00"
                }
            ]
        }
    ],
    "error": {
        "id": 0,
        "msg": "NoError"
    },
    "serverId": "Server Id"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    lang String No 预设值为 EN,语言包含 EN, ZH-TW, ZH-CN, JA-JP, KO-KR, TH-TH, VI-VN
    startDate DateTime Yes 修改日期包含分钟,格式:"2018-07-23T00:00:00"
    endDate DateTime Yes 修改日期包含分钟,格式:"2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    result VirtualSportsList[] Yes 该时间段内所有玩家的虚拟运动列表。请参阅 虚拟运动注单.
    Error ApiError Yes 错误。请参考 Api 错误码 .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.11 根据注单最后修改时间获取无缝游戏注单

    此功能会回传该时间段的所有玩家无缝游戏注单资讯。此功能将只会回传已结算注单,且不包含被取消之注单。
    时间段最长只能拿30分钟的资料,如2019-09-16 12:00:00 ~ 2019-09-16 12:30:00。拿取的资料须是60天内的日期。
    name sample
    path
    http://{api-domain}/web-root/restricted/report/v2/get-seamlessgameprovider-bet-list-with-bonus-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
        "companyKey" : "{CompanyKey}",
        "serverId" : "{server ID}",
        "startDate" : "2015-02-04 00:00:00",
        "endDate" : "2015-02-04 00:00:00"
    }
    ResponseBody - wm,
    SexyBaccarat,
    CQNine, BigGaming,
    FlowGamingHub,
    JokerGaming
    {
        "result":[{
                "orderTime":"2019-02-14T23:03:15.447",
                "modifyDate":"2019-02-14T23:06:39.967",
                "refNo":"WM_238_1000102_112164543_3",
                "accountId":"WuuP003CNY",
                "gamePeriodId":"112164543",
                "gameRoundId":"3",
                "gameType":"WmDragonAndTiger",
                "stake":10,
                "turnOverStake":10,
                "orderDetail":"betdetail[Dragon]:-10",
                "gameResult":"Dragon:♠10Tiger:♠3",
                "WinLostDate":"2019-02-14T00:00:00",
                "status":"Lose",
                "winLost":-10.000000,
                "isResettle":true
            },
            {
                "orderTime":"2019-02-15T03:53:28.697",
                "modifyDate":"2019-02-15T03:54:07.263",
                "refNo":"WM_238_1000102_112164578_95",
                "accountId":"WuuP003CNY",
                "gamePeriodId":"112164578",
                "gameRoundId":"95",
                "gameType":"WmDragonAndTiger",
                "stake":10,
                "turnOverStake":10,
                "orderDetail":"betdetail[Dragon]:-10",
                "gameResult":"Dragon:♥2Tiger:♣4",
                "WinLostDate":"2019-02-15T00:00:00",
                "status":"Lose",
                "winLost": -10.000000,
                "isResettle":false
            }],
        "error":{"id":0,"msg":"NoError"},
        "serverId":"A60"
    }
    ResponseBody - Lv
    {
        "result":{
            "subBet":[ {
                "betOption":"Altinordu(n)",
                "marketType":"Handicap",
                "hdp":0,
                "odds":-0.8,
                "league":"Turkey Cup",
                "status":"lose",
                "match":"Altinordu(n) vs Kayserispor",
                "winlostDate":"2018-06-10T00:00:00",
                "liveScore":"0:0",
                "htScore":"0:0",
                "ftScore":"0:0",
                "kickOffTime":"2016-06-10T01:00:00",
                "customeizedBetType":""
            } ],
            "refNo":"221929192",
            "username":"tesewuf",
            "sportType":"Football",
            "orderTime":"2018-06-10T21:35:46.03",
            "winlostDate":"2018-06-10T00:00:00",
            "modifyDate":"2018-06-10T22:26:56.86",
            "odds":-0.8,
            "oddsStyle":"M",
            "stake":100.000000,
            "actualStake":80.000000,
            "currency":"THB",
            "status":"lose",
            "winlose":0.000000,
            "turnover":100.000000,
            "isHalfWonLose":false,
            "isLive":false,
            "MaxWinWithoutActualStake":100,
            "Ip":"123.147.58.47"
        },
        "error" :  { "id" : 0, "msg" : "no error"},
        "serverId":"server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    startDate DateTime Yes 修改日期包含分钟,格式:"2018-07-23T00:00:00"
    endDate DateTime Yes 修改日期包含分钟,格式:"2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误 。请参考 Api 错误码 .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    result SeamlessGameProviderBetList[] Yes 该时间段内所有玩家的无缝游戏列表。请参阅无缝游戏注单.

    5.12 根据注单最后修改时间获取利记明星秀SBOLive注单(废弃)

    此功能会回传该时间段的所有玩家利记明星秀SBOLive注单资讯。
    时间段最长只能拿30分钟的资料,如2019-09-16 12:00:00 ~ 2019-09-16 12:30:00。拿取的资料须是60天内的日期。
    name sample
    path
    http://{api-domain}/web-root/restricted/report/v2/get-sbolive-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {     
        "startDate" : "2019-06-04T00:00:00",
        "endDate" : "2019-06-07T00:00:00",                
        "companyKey" : "{CompanyKey}",
        "serverId" : "{server ID}",
    }
    Postman Example
    ResponseBody
    {
        "result":[{
            "subBet":[{
                "betOption":"Altinordu(n)",
                "marketType":"Handicap",
                "hdp":0,
                "odds":-0.8,
                "league":"Turkey Cup",
                "status":"lose",
                "match":"Altinordu(n) vs Kayserispor",
                "winlostDate":"2018-06-10T00:00:00",
                "liveScore":"0:0",
                "htScore":"0:0",
                "ftScore":"0:0",
                "customeizedBetType":"",
                "kickOffTime":"2018-06-10T01:00:00",
                "isHalfWonLose":false,
                "isLive":false,
                "sportType":"Football"
            }],
            "refNo":"221929192",
            "username":"tesewuf",
            "sportType":"Football",
            "orderTime":"2018-06-10T21:35:46.03",
            "winlostDate":"2018-06-10T00:00:00",
            "modifyDate":"2018-06-10T22:26:56.86",
            "odds":-0.8,
            "oddsStyle":"M",
            "stake":100.000000,
            "actualStake":80.000000,
            "currency":"THB",
            "status":"lose",
            "winlose":0.000000,
            "turnover":100.000000,
            "isHalfWonLose":false,
            "isLive":false,
            "MaxWinWithoutActualStake":100,
            "Ip":"123.147.58.47"
        }],
        "error" :  { "id" : 0, "msg" : "no error"},
        "serverId":"server ID"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(32) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    startDate DateTime Yes 修改日期包含分钟,格式:"2018-07-23T00:00:00"
    endDate DateTime Yes 修改日期包含分钟,格式:"2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    lang String No 预设值为 EN,语言包含 EN, ZH-TW, ZH-CN, JA-JP, KO-KR, TH-TH, VI-VN
    Response
    Field Name Type Required Description
    result result[] Yes 该时间段内所有玩家的体育博彩列表。请参阅体育博彩注单.
    Error ApiError Yes 错误。请参考 Api 错误码 .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.13 根据注单最后修改时间获取客户沙巴体育注单

    此功能会回传该时间段的所有玩家沙巴体育注单资讯。. 
    时间段最长只能拿30分钟的资料,如2019-09-16 12:00:00 ~ 2019-09-16 12:30:00。拿取的资料须是3天内的日期。 请求中的日期基于修改后的日期. 
    
    name sample
    path
    http://{api-domain}/web-root/restricted/report/v2/get-saba-sportsbook-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {      
        "startDate" : "2019-06-04T00:00:00", 
        "endDate" : "2019-06-07T00:00:00",                 
        "companyKey" : "{CompanyKey}", 
        "serverId" : "{server ID}" 
    }
    ResponseBody
    { 
        "result":[{ 
            "subBet":[{ 
                "betOption":"Altinordu(n)", 
                "marketType":"Handicap", 
                "hdp":0, 
                "odds":-0.8, 
                "league":"Turkey Cup", 
                "status":"lose", 
                "match":"Altinordu(n) vs Kayserispor", 
                "winlostDate":"2018-06-10T00:00:00", 
                "liveScore":"0:0", 
                "isLive":false 
            }], 
            "refNo":"221929192", 
            "username":"tesewuf", 
            "sportType":"Football", 
            "orderTime":"2018-06-10T21:35:46.03", 
            "winlostDate":"2018-06-10T00:00:00", 
            "modifyDate":"2018-06-10T22:26:56.86", 
            "odds":-0.8, 
            "oddsStyle":"M", 
            "stake":100.000000, 
            "actualStake":80.000000, 
            "currency":"THB", 
            "status":"lose", 
            "winlose":0.000000, 
            "turnover":100.000000, 
            "isLive":false, 
            "isParlay": false 
        }], 
        "error" :  { "id" : 0, "msg" : "no error"}, 
        "serverId":"server ID" 
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    startDate DateTime Yes 格式:"2018-07-23T00:00:00"
    endDate DateTime Yes 格式:"2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    lang String No 预设值为 EN,语言包含 EN, ZH-TW, ZH-CN, JA-JP, KO-KR, TH-TH, VI-VN
    Response
    Field Name Type Required Description
    result result[] Yes 该时间段内所有玩家的体育博彩列表。请参阅 沙巴体育注单.
    Error ApiError Yes 错误。请参考 Api错误码 .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.14 根据注单最后修改时间获取客户沙巴虚拟体育注单

    此功能会回传该时间段的所有玩家沙巴虚拟体育注单资讯。 
    时间段最长只能拿30分钟的资料,如2019-09-16 12:00:00 ~ 2019-09-16 12:30:00。拿取的资料须是3天内的日期。 请求中的日期基于修改后的日期. 
    
    name sample
    path
    http://{api-domain}/web-root/restricted/report/v2/get-saba-virtualsports-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : { 
        "startDate" : "2019-06-04T00:00:00", 
        "endDate" : "2019-06-07T00:00:00", 
        "companyKey" : "{CompanyKey}", 
        "serverId" : "{server ID}" 
    }
    ResponseBody
    { 
        "result":[{ 
            "subBet":[{ 
                "betOption":"Altinordu(n)", 
                "marketType":"Handicap", 
                "hdp":0, 
                "odds":-0.8, 
                "league":"Turkey Cup", 
                "status":"lose", 
                "match":"Altinordu(n) vs Kayserispor", 
                "winlostDate":"2018-06-10T00:00:00", 
                "liveScore":"0:0", 
                "isLive":false 
            }], 
            "refNo":"221929192", 
            "username":"tesewuf", 
            "sportType":"Football", 
            "orderTime":"2018-06-10T21:35:46.03", 
            "winlostDate":"2018-06-10T00:00:00", 
            "modifyDate":"2018-06-10T22:26:56.86", 
            "odds":-0.8, 
            "oddsStyle":"M", 
            "stake":100.000000, 
            "actualStake":80.000000, 
            "currency":"THB", 
            "status":"lose", 
            "winlose":0.000000, 
            "turnover":100.000000, 
            "isLive":false, 
            "isParlay": false 
        }], 
        "error" :  { "id" : 0, "msg" : "no error"}, 
        "serverId":"server ID" 
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    startDate DateTime Yes 格式:"2018-07-23T00:00:00"
    endDate DateTime Yes 格式:"2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    lang String No 预设值为 EN,语言包含 EN, ZH-TW, ZH-CN, JA-JP, KO-KR, TH-TH, VI-VN
    Response
    Field Name Type Required Description
    result result[] Yes 该时间段内所有玩家的体育博彩列表。请参阅 沙巴体育注单.
    Error ApiError Yes 错误。请参考 Api 错误码 .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.15 根据修改时间获取客户沙巴体育注单报表

    如果用户名是代理的帐户,则将返回代理下所有玩家的投注清单。如果用户名是玩家的帐户,则只需返回该玩家的所有投注清单. 
    时间段最长只能拿30分钟的资料,如2019-09-16 12:00:00 ~ 2019-09-16 12:30:00。拿取的资料须是3天内的日期。 请求中的日期基于修改后的日期. 
    
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-player-saba-sportsbook-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : { 
        "username" : "tesewuf", 
        "startDate" : "2019-06-04T00:00:00", 
        "endDate" : "2019-06-07T00:00:00", 
        "companyKey" : "{CompanyKey}", 
        "serverId" : "{server ID}" 
    }
    ResponseBody
    { 
        "result":[{ 
            "subBet":[{ 
                "betOption":"Altinordu(n)", 
                "marketType":"Handicap", 
                "hdp":0, 
                "odds":-0.8, 
                "league":"Turkey Cup", 
                "status":"lose", 
                "match":"Altinordu(n) vs Kayserispor", 
                "winlostDate":"2018-06-10T00:00:00", 
                "liveScore":"0:0", 
                "isLive":false 
            }], 
            "refNo":"221929192", 
            "username":"tesewuf", 
            "sportType":"Football", 
            "orderTime":"2018-06-10T21:35:46.03", 
            "winlostDate":"2018-06-10T00:00:00", 
            "modifyDate":"2018-06-10T22:26:56.86", 
            "odds":-0.8, 
            "oddsStyle":"M", 
            "stake":100.000000, 
            "actualStake":80.000000, 
            "currency":"THB", 
            "status":"lose", 
            "winlose":0.000000, 
            "turnover":100.000000, 
            "isLive":false, 
            "isParlay": false 
        }], 
        "error" :  { "id" : 0, "msg" : "no error"}, 
        "serverId":"server ID" 
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    startDate DateTime Yes 格式:"2018-07-23T00:00:00"
    endDate DateTime Yes 格式:"2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    lang String No 预设值为 EN,语言包含 EN, ZH-TW, ZH-CN, JA-JP, KO-KR, TH-TH, VI-VN
    Response
    Field Name Type Required Description
    result result[] Yes 该时间段内所有玩家的体育博彩列表。请参阅 沙巴体育注单.
    Error ApiError Yes 错误。请参考 Api 错误码 .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.16 根据修改时间获取客户沙巴虚拟体育注单报表

    如果用户名是代理的帐户,则将返回代理下所有玩家的投注清单。如果用户名是玩家的帐户,则只需返回该玩家的所有投注清单. 
    时间段最长只能拿30分钟的资料,如2019-09-16 12:00:00 ~ 2019-09-16 12:30:00。拿取的资料须是3天内的日期。 请求中的日期基于修改后的日期 
    
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-player-saba-virtualsports-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : { 
        "username" : "tesewuf", 
        "startDate" : "2019-06-04T00:00:00", 
        "endDate" : "2019-06-07T00:00:00", 
        "companyKey" : "{CompanyKey}", 
        "serverId" : "{server ID}" 
    }
    ResponseBody
    { 
        "result":[{ 
            "subBet":[{ 
                "betOption":"Altinordu(n)", 
                "marketType":"Handicap", 
                "hdp":0, 
                "odds":-0.8, 
                "league":"Turkey Cup", 
                "status":"lose", 
                "match":"Altinordu(n) vs Kayserispor", 
                "winlostDate":"2018-06-10T00:00:00", 
                "liveScore":"0:0", 
                "isLive":false 
            }], 
            "refNo":"221929192", 
            "username":"tesewuf", 
            "sportType":"Football", 
            "orderTime":"2018-06-10T21:35:46.03", 
            "winlostDate":"2018-06-10T00:00:00", 
            "modifyDate":"2018-06-10T22:26:56.86", 
            "odds":-0.8, 
            "oddsStyle":"M", 
            "stake":100.000000, 
            "actualStake":80.000000, 
            "currency":"THB", 
            "status":"lose", 
            "winlose":0.000000, 
            "turnover":100.000000, 
            "isLive":false, 
            "isParlay": false 
        }], 
        "error" :  { "id" : 0, "msg" : "no error"}, 
        "serverId":"server ID" 
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    startDate DateTime Yes 格式:"2018-07-23T00:00:00""
    endDate DateTime Yes 格式:"2018-07-23T00:00:00""
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    lang String No 预设值为 EN,语言包含 EN, ZH-TW, ZH-CN, JA-JP, KO-KR, TH-TH, VI-VN
    Response
    Field Name Type Required Description
    result result[] Yes 该时间段内所有玩家的体育博彩列表。请参阅沙巴体育注单.
    Error ApiError Yes 错误。请参考 Api 错误码 .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.17 根据注单序号获取沙巴体育注单报表

    User用注单序号可以获取该笔注单的资料.  資料的搜尋範圍必須是在60天以內 
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-saba-sportsbook-bet-list-by-transid.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : { 
        "transid" : "12312414", 
        "companyKey" : "{CompanyKey}", 
        "serverId" : "{server ID}" 
    }
    ResponseBody
    { 
        "result":[{ 
            "subBet":[{ 
                "betOption":"Altinordu(n)", 
                "marketType":"Handicap", 
                "hdp":0, 
                "odds":-0.8, 
                "league":"Turkey Cup", 
                "status":"lose", 
                "match":"Altinordu(n) vs Kayserispor", 
                "winlostDate":"2018-06-10T00:00:00", 
                "liveScore":"0:0", 
                "isLive":false 
            }], 
            "refNo":"221929192", 
            "username":"tesewuf", 
            "sportType":"Football", 
            "orderTime":"2018-06-10T21:35:46.03", 
            "winlostDate":"2018-06-10T00:00:00", 
            "modifyDate":"2018-06-10T22:26:56.86", 
            "odds":-0.8, 
            "oddsStyle":"M", 
            "stake":100.000000, 
            "actualStake":80.000000, 
            "currency":"THB", 
            "status":"lose", 
            "winlose":0.000000, 
            "turnover":100.000000, 
            "isLive":false, 
            "isParlay": false 
        }], 
        "error" :  { "id" : 0, "msg" : "no error"}, 
        "serverId":"server ID" 
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    transid String(1000) Yes 注单序号,支援一次查询多个注单序号。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    lang String No 预设值为 EN,语言包含 EN, ZH-TW, ZH-CN, JA-JP, KO-KR, TH-TH, VI-VN
    Response
    Field Name Type Required Description
    result result[] Yes 该时间段内所有玩家的体育博彩列表。 请参考沙巴体育注单.
    Error ApiError Yes 错误。请参考 Api 错误码 .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.18 根据注单序号获取沙巴虚拟体育注单报表

    User用注单序号可以获取该笔注单的资料.  資料的搜尋範圍必須是在60天以內
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-saba-virtualsports-bet-list-by-transid.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : { 
        "transid" : "12312414", 
        "companyKey" : "{CompanyKey}", 
        "serverId" : "{server ID}" 
    }
    ResponseBody
    { 
        "result":[{ 
            "subBet":[{ 
                "betOption":"Altinordu(n)", 
                "marketType":"Handicap", 
                "hdp":0, 
                "odds":-0.8, 
                "league":"Turkey Cup", 
                "status":"lose", 
                "match":"Altinordu(n) vs Kayserispor", 
                "winlostDate":"2018-06-10T00:00:00", 
                "liveScore":"0:0", 
                "isLive":false 
            }], 
            "refNo":"221929192", 
            "username":"tesewuf", 
            "sportType":"Football", 
            "orderTime":"2018-06-10T21:35:46.03", 
            "winlostDate":"2018-06-10T00:00:00", 
            "modifyDate":"2018-06-10T22:26:56.86", 
            "odds":-0.8, 
            "oddsStyle":"M", 
            "stake":100.000000, 
            "actualStake":80.000000, 
            "currency":"THB", 
            "status":"lose", 
            "winlose":0.000000, 
            "turnover":100.000000, 
            "isLive":false, 
            "isParlay": false 
        }], 
        "error" :  { "id" : 0, "msg" : "no error"}, 
        "serverId":"server ID" 
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    transid String(1000) Yes 注单序号,支援一次查询多个注单序号。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    lang String No 预设值为 EN,语言包含 EN, ZH-TW, ZH-CN, JA-JP, KO-KR, TH-TH, VI-VN
    Response
    Field Name Type Required Description
    result result[] Yes 该时间段内所有玩家的体育博彩列表。 请参考沙巴体育注单.
    Error ApiError Yes 错误。请参考 Api 错误码 .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.19 获取客户沙巴交易报表

    可以在我们的服务中获取所有玩家的交易列表,可以在一个代理下获取所有玩家的交易列表,也可以获取一个玩家的交易列表.資料的搜尋範圍必須是在60天以內 
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-customer-saba-transaction.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : { 
        "username" : "test", 
        "startDate" : "2019-06-04T00:00:00", 
        "endDate" : "2019-06-07T00:00:00", 
        "isAllUser" : "false", 
        "companyKey" : "{CompanyKey}", 
        "serverId" : "{server ID}" 
    }
    ResponseBody
    { 
        "result":[{ 
            "agentName": "TestA01", 
            "amount": 1000, 
            "currency": "MYR", 
            "playerName": "test", 
            "transDate": "2019-06-06T13:21:05", 
            "transferType": "DepositToSaba", 
            "txnId": "Saba_277_1_20190606132105944" 
        }], 
        "startDate": "2019-06-04T00:00:00", 
        "endDate": "2019-06-07T00:00:00", 
        "error" :  { "id" : 0, "msg" : "no error"}, 
        "serverId":"server ID" 
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    startDate DateTime Yes 格式:"2018-07-23T00:00:00"
    endDate DateTime Yes 格式:"2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    username String Yes Username可以代理或玩家
    isAllUser bool Yes 如果为true,则此API将忽略用户名并返回该时间段内的所有交易。
    Response
    Field Name Type Required Description
    Error ApiError Yes 错误。请参考 Api 错误码 .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    startDate DateTime Yes The startDate 来自 reuqest.
    endDate DateTime Yes The endDate 来自 reuqest.
    transactionLists TransactionList[] Yes 包含交易清单.
    txnId String(30) Yes 交易的txnId.
    transDate DateTime Yes 交易的时间.
    playerName String(20) Yes 交易的玩家.
    agentName String(20) Yes 交易的代理.
    transferType String(10) Yes 包含存款沙巴和提款沙巴.
    currency String(3) Yes 交易的货币.
    amount Decimal Yes 交易的金额.

    5.20 根据注单最后修改时间获取 Live Casino Beauty 注單

    此功能会回传该时间段的所有玩家 Live Casino Beauty 注单资讯。  
    时间段最长只能拿30分钟的资料,如2019-09-16 12:00:00 ~ 2019-09-16 12:30:00。拿取的资料须是60天内的日期。
    name sample
    path
    http://{api-domain}/web-root/restricted/report/v2/get-livecasinobeauty-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : { 
    	"companyKey" : "{CompanyKey}", 
    	"serverId" : "{server ID}", 
    	"startDate" : "2016-12-05T23:00:00", 
    	"endDate" : "2016-12-05T23:30:00" 
    } 
    
    ResponseBody
    { 
    	"result":[ 
            { 
                "orderTime":"2016-12-05T00:22:51.783", 
                "modifyDate":"2016-12-05T23:14:23.913", 
                "refNo":"B001332233", 
                "accountId":"player001", 
                "gameId":3054746, 
                "tableName":"Baccarat AB7-1C", 
                "stake":10.00,
                "turnover":10.00,
                "winlost":-10.000000,
                "ProductType":"Baccarat", 
                "status":"Lose", 
                "WinlostDate":"9/11/2018 12:00:00 AM",
                "SubBets":null ,
                "BetDetail":"Banker:10",
                "GameResult":"Banker:1(♣J ♥A ♣K); Player:9(♦6 ♣6 ♦7)"
            }, 
            { 
                "orderTime":"2016-12-05T02:04:01.79", 
                "modifyDate":"2016-12-05T23:14:23.913", 
                "refNo":"B001332343", 
                "accountId":"player001", 
                "gameId":3055737, 
                "tableName":"Baccarat AA7-1C", 
                "stake":100.00,
                "turnover":100.00,
                "winlost":100.000000,
                "ProductType":"Baccarat", 
                "status":"Won", 
                "WinlostDate":"9/11/2018 12:00:00 AM",
                "SubBets":null,
                "BetDetail":"Player:100",
                "GameResult":"Banker:7(♠Q ♠7); Player:9(♠3 ♦6)" 
            } 
        ], 
        "error" :  { "id" : 0, "msg" : "no error"}, 
        "serverId":"server ID" 
    } 
    
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes The key pre-agreed between fund provider and white label system.
    startDate DateTime Yes Modify date contains minute, for example: "2018-07-23T00:00:00"
    endDate DateTime Yes Modify date contains minute, for example: "2018-07-23T00:00:00"
    serverId String(15) Yes The ID of calling server for troubleshooting purposes, you can set your own server name as you wish. Each server ID must be unique.
    Response
    Field Name Type Required Description
    result result[] Yes The list of all players' Live Casino Beauty bet within the time period. Please refer to Casino Bet 真人赌场注单.
    Error ApiError Yes Please refer to API 错误码.
    serverId String(15) Yes The ID of calling server for troubleshooting purposes, you can set your own server name as you wish. Each server ID must be unique.

    5.21 根据注单号来拿取详细下注情况

    此功能可以透过注单号拿取注单的详细注单网址
    现阶段提供此服务的无缝游戏提供商: CQNINE, BigGaming, IONLC, SBO Slot, FunkyGame, WM, and SG,PragmaticPlay,PragmaticplayCasino,FlowGamingHub,RealTimeGaming,Allbet,Yggdrasil
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-betdetail-return-url.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
    	"companyKey" : "{CompanyKey}",
    	"serverId" : "server ID",
    	"portfolio" : "SeamlessGameProviderApi",
            "refno" : "FunkyGames_74_Funky_keno_711372",
            "LANGUAGE":"en"
    }
    
    ResponseBody
    {
        "result" : "https://uat-wlkeno.93connect.com/mybet.php?mybet===AdlJWet5keFhXT6NWemRkQ40kVONEV6QSXZUR4JGWslmWYFVP",
        "error" : {"id":0,"msg":"NoError"},
        "serverId" : "A02"
    }
    
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    portfolio String(15) Yes SeamlessGameProviderApi
    LANGUAGE String(20) Yes 语言。若无指定则为系统预设。请参考语言
    refno String(20) Yes 注单序号
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    url result[] Yes 详细注单的URL
    Error ApiError Yes 错误。请参考 API 错误码.
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.22 根据修改时间來拿取无缝游戏winlost报表

    此功能会回传该时间段的无缝游戏winlost报表
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-customer-seamlessgameprovider-report.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {	
    	"companyKey" : "{CompanyKey}",
    	"serverId" : "server ID",
    	"portfolio" : "SeamlessGameProviderApi",
    	"gameProvider":"IONLC",
    	"startDate" : "2014-09-10",
    	"endDate" : "2014-09-11"
    }
    }
    
    ResponseBody
    {"result":[{"gameProvider":"12","betCount":11,"totalStake":870,"totalPlayerWinlose":253.5,"currency":"AUD"},
    {"gameProvider":"12","betCount":11,"totalStake":230,"totalPlayerWinlose":146.5,"currency":"CNY"},
    {"gameProvider":"12","betCount":7,"totalStake":93,"totalPlayerWinlose":57,"currency":"IDR"},
    {"gameProvider":"12","betCount":7,"totalStake":225,"totalPlayerWinlose":288.5,"currency":"USD"}],
    "error":{"id":0,"msg":"NoError"},"serverId":"A02"}
    
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    portfolio String(15) Yes SeamlessGameProviderApi
    gameProvider String(20) Yes 您想捞取哪个无缝游戏提供商的注单. 可能的值为 无缝游戏提供商
    startDate DateTime Yes 开始时间,例如: "2018-07-23T00:00:00"
    endDate DateTime Yes 结束时间,例如: "2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    result result[] Yes 依据币别分成winlost报表
    Error ApiError Yes 错误。请参考 API 错误码.
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.23 根据IdnPoker交易清单

    该API将返回IdnPoker根据区间的交易报告
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-customer-IDNPoker-transaction-list.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {    
        "startDate" : "2020-06-03",
        "endDate" : "2020-06-04",
        "companyKey" : "{CompanyKey}",
        "serverId" : "{server ID}"
    }
    
    ResponseBody
    {
        "startDate" : "2020-06-03T00:55:00",
        "endDate" : "2020-06-03T23:56:00",
        "transactionLists" : [
            {
             "TransactionNo":"{TransactionNo}",
             "playerName":"PlayerIDR",
             "transferDate":"2020-06-03T19:14:17.76",
             "Period":0,"transferType":"Deposit",
             "currency":"IDR",
             "amount":200000,
             "ExchangeRate":0.075,
             "ModifiedOn":"2020-06-03T17:41:58"
            },
            {
             "TransactionNo":"{TransactionNo}",
             "playerName":"PlayerIDR",
             "transferDate":"2020-06-03T19:14:17.76",
             "Period":0,
             "transferType":"Deposit",
             "currency":"IDR",
             "amount":100000,
             "ExchangeRate":0.075,
             "ModifiedOn":"2020-06-03T17:30:56"
            }
        ],
        "error":{"id":0,"msg":"NoError"},
        "serverId":"A02"
    }
    
    remark
    Request
    Field Name Type Required Description
    startDate DateTime Yes 开始时间,例如: "2018-07-23T00:00:00"
    endDate DateTime Yes 结束时间,例如: "2018-07-23T00:00:00"
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response lan
    Field Name Type Required Description
    startDate DateTime Yes 开始时间,例如: "2018-07-23T00:00:00"
    endDate DateTime Yes 结束时间,例如: "2018-07-23T00:00:00"
    result result[] Yes 根据期间的IdnPoker交易报告
    Error ApiError Yes 错误。请参考 Api Error.
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.24 根据TransId获取IdnPoker下注列表

    该API将根据TransId返回IdnPoker投注列表报告
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-idnpoker-bet-list-by-transId.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
        "transid":"10964205",
        "companyKey": "{CompanyKey}",
        "serverId":"{server ID}"
    }
    
    ResponseBody
    {
        "result":
        [
            {
                "TransactionNo":"10964205",
                "TableNo":12258,
                "AccountId":"PlayerIDR",
                "UserId":"IDN1SBO310",
                "OrderTime":"2020-06-03T03:23:35.76",
                "Game":"TXH",
                "Stake":17350,
                "Winlost":0,
                "Currency":"IDR",
                "Status":"Lose",
                "Total":"3650.000000"
           }
        ],
        "error":{"id":0,"msg":"NoError"},
        "serverId":"A02"
    }
    
    remark
    Request
    Field Name Type Required Description
    TransactionNo String(50) Yes 欲查询的交易序号
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    result result[] Yes 根据transId的IdnPoker投注列表报告
    Error ApiError Yes 错误。请参考 Api Error.
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.25 根据Modifydate與客户名获取IdnPoker投注列表

    该API将返回IdnPoker根据Modifydate和特定用户名的投注列表报告
    name sample
    path
    http://{api-domain}/web-root/restricted/report/get-customer-idnpoker-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
        "username":"{username}",
        "startDate" : "2020-06-09",
        "endDate" : "2020-06-10",
        "companyKey":"{CompanyKey}",
        "serverId":"{server ID}"
    }
    
    ResponseBody
    {
        "result":
        [
            {
                "TransactionNo":"10903754",
                "TableNo":5307,
                "AccountId":"test1234",
                "UserId":"IDN1SBO4825",
                "OrderTime":"2020-06-09T16:17:10",
                "Game":"TXH",
                "Stake":200,
                "Winlost":0,
                "Currency":"IDR",
                "Status":"Fold",
                "Total":"8600.000000"
            },
            {
                "TransactionNo":"10883419",
                "TableNo":5307,
                "AccountId":"test1234",
                "UserId":"IDN1SBO4825",
                "OrderTime":"2020-06-09T16:16:18",
                "Game":"TXH",
                "Stake":1200,
                "Winlost":0,
                "Currency":"IDR",
                "Status":"Lose",
                "Total":"8800.000000"
            }
        ],
        "error":{"id":0,"msg":"NoError"},
        "serverId":"A02"
    }
    
    remark
    Request
    Field Name Type Required Description
    username String(50) Yes 欲查詢的用户名
    startDate DateTime Yes 开始时间,例如: "2018-07-23T00:00:00"
    endDate DateTime Yes 结束时间,例如: "2018-07-23T00:00:00"
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    result result[] Yes IdnPoker根据修改日期和特定用户名的投注清单报告。
    Error ApiError Yes 错误。请参考 Api Error.
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.26 根据ModifyDate获取IdnPoker投注列表

    该API将根据ModifyDate返回IdnPoker投注列表报告
    name sample
    path
    http://{api-domain}/web-root/restricted/report/v2/get-idn-poker-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
        "startDate" : "2020-06-03",
        "endDate" : "2020-06-04",
        "companyKey":"{CompanyKey}",
        "serverId":"{server ID}"
    }
    
    ResponseBody
    {
        "result":
        [
            {
                "TransactionNo":"12983751",
                "TableNo":5307,
                "AccountId":"test123",
                "UserId":"IDN1SBO4359",
                "OrderTime":"2020-06-03T19:14:17.76",
                "Game":"TXH",
                "Stake":100,
                "Winlost":0,
                "Currency":"IDR",
                "Status":"Fold",
                "Total":"201582.000000"
            }
        ],
        "error":{"id":0,"msg":"NoError"},
        "serverId":"A02"
    }
    
    remark
    Request
    Field Name Type Required Description
    startDate DateTime Yes 开始时间,例如: "2018-07-23T00:00:00"
    endDate DateTime Yes 结束时间,例如: "2018-07-23T00:00:00"
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    result result[] Yes IDNPoker根据修改日期的投注清单报告。
    Error ApiError Yes 错误。请参考 Api Error.
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.27 根据注单最后修改时间获取体育和虚拟运动投注列表

    此功能会回传该时间段的所有玩家体育注单资讯。 
        时间段最长只能拿30分钟的资料,如2019-09-16 12:00:00 ~ 2019-09-16 12:30:00。拿取的资料须是3天内的日期。
    name sample
    path
    http://{api-domain}/web-root/restricted/report/v2/get-sports-and-vs-bet-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {     
        "startDate" : "2020-07-30T06:10:00",
        "endDate" : "2020-07-30T07:10:00",
        "lang": "EN",
        "companyKey" : "{CompanyKey}",
        "serverId" : "{server ID}"
        }
    ResponseBody
    {
    "result":[
        {
            "subBet":[
                {
                    "transId":65,
                    "betOption":"Over",
                    "marketType":"First Half O/U",
                    "hdp":0.5,
                    "odds":1.84,
                    "league":"FINLAND VEIKKAUSLIIGA",
                    "match":"HIFK Helsinki -vs- TPS Turku",
                    "status":"lose",
                    "winlostDate":"2020-08-10T00:00:00",
                    "liveScore":"0:0",
                    "htScore":"0:0",
                    "ftScore":"2:0",
                    "isHalfWonLose":false,
                    "isLive":true,
                    "kickOffTime":"2020-08-10T11:30:00",
                    "sportType":"Football"
                },
                {
                    "transId":66,
                    "betOption":"Honka Espoo",
                    "marketType":"Handicap",
                    "hdp":-0.75,
                    "odds":1.97,
                    "league":"FINLAND VEIKKAUSLIIGA",
                    "match":"Honka Espoo -vs- Seinajoen JK",
                    "status":"lose",
                    "winlostDate":"2020-08-10T00:00:00",
                    "liveScore":"0:0",
                    "htScore":"0:0",
                    "ftScore":"0:0",
                    "isHalfWonLose":false,
                    "isLive":true,
                    "kickOffTime":"2020-08-10T11:30:00",
                    "sportType":"Football"
                },
                {
                    "transId":67,
                    "betOption":"Under",
                    "marketType":"Over/Under",
                    "hdp":2.5,
                    "odds":1.9,
                    "league":"Finland Ykkonen",
                    "match":"Ekenas IF -vs- Gnistan Helsinki",
                    "status":"lose",
                    "winlostDate":"2020-08-10T00:00:00",
                    "liveScore":"0:0",
                    "htScore":"1:0",
                    "ftScore":"2:1",
                    "isHalfWonLose":false,
                    "isLive":true,
                    "kickOffTime":"2020-08-10T11:30:00",
                    "sportType":"Football"
                }
            ],
            "refNo":"3998631",
            "username":"tPlayerTHB",
            "productType":"SportsMixParlay",
            "orderTime":"2020-08-10T11:47:44.447",
            "winlostDate":"2020-08-10T00:00:00",
            "modifyDate":"2020-08-10T13:24:19.66",
            "odds":6.887,
            "oddsStyle":"Euro",
            "stake":50,
            "actualStake":50,
            "currency":"THB",
            "IP":"122.146.59.233",
            "status":"lose",
            "winlost":-50,
            "turnover":50,
            "isHalfWonLose":false,
            "isLive":true,
            "isSystemTagRisky":false,
            "remark":""
            }
        ],
    	"error":{
    	"id":0,
    	"msg":"NoError"
    	},
    	"serverId":"Z01"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    startDate DateTime Yes 修改日期包含分钟,格式:"2018-07-23T00:00:00"
    endDate DateTime Yes 修改日期包含分钟,格式:"2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    lang String No 预设值为 EN,语言包含 EN, ZH-TW, ZH-CN, JA-JP, KO-KR, TH-TH, VI-VN
    Response
    Field Name Type Required Description
    result result[] Yes 该时间段内所有玩家的体育和虚拟运动博彩列表。请参阅 体育和虚拟运动博彩注单.
    Error ApiError Yes 错误。请参考 Api 错误码 .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    5.28 根据ModifyDate获取LiveCoin购买纪录(废弃)

    该API将根据ModifyDate返回全部玩家的LiveCoin交易纪录.
        时间段最长只能拿30分钟的资料,如2019-09-16 12:00:00 ~ 2019-09-16 12:30:00。拿取的资料须是3天内的日期。
    name sample
    path
    http://{api-domain}/web-root/restricted/report/v2/get-livecoin-transaction-list-by-modifydate.aspx
    method
     POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {     
        "startDate" : "2020-07-30T06:10:00",
        "endDate" : "2020-07-30T07:10:00",
        "companyKey" : "{CompanyKey}",
        "serverId" : "{server ID}"
        }
    ResponseBody
    {   
        "result": [
            {
                "refno": 1,
                "statementDate": "2021-05-06T08:18:00",
                "transDate": "2021-05-06T08:18:07.393",
                "status": "success",
                "username": "tPlayerTHB",
                "amount": 100,
                "modifiedOn": "2021-05-06T08:18:07.393"
            },
            {
                "refno": 2,
                "statementDate": "2021-05-06T08:18:00",
                "transDate": "2021-05-06T08:18:12.893",
                "status": "success",
                "username": "tPlayerTHB",
                "amount": 50,
                "modifiedOn": "2021-05-06T08:18:12.893"
            }       
        ],
        "error": {
            "id": 0,
            "msg": "NoError"
        },
        "serverId": "Z01"
    }
    remark
    Request
    Field Name Type Required Description
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    startDate DateTime Yes 开始时间,例如: "2018-07-23T00:00:00"
    endDate DateTime Yes 结束时间,例如: "2018-07-23T00:00:00"
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    result result[] Yes 根据修改日期的LiveCoin交易纪录。
    Error ApiError Yes 错误。 请参考 Api Error .
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    6. 免转钱包重送 API

    6.1. 重送体育博彩免转钱包 Request

    该API将重送已经结算或是取消的注单,结算将送 SETTLE,取消将送 CANCEL
    name sample
    path
    http://{api-domain}/web-root/restricted/sw/resend-seamless-wallet-for-sports.aspx
    method
    POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
        "transferCode" : "3998216,3998217",
        "companyKey":"{CompanyKey}",
        "serverId":"{server ID}"
    }
    ResponseBody
    {
        "ResendDetail": [
            {
                "UserName": "testplayer001",
                "TransferCode": "3998216",
                "Action": "SETTLE"
            },
            {
                "UserName": "testplayer002",
                "TransferCode": "3998217",
                "Action": "CANCEL"
            }
        ],
        "error": {
            "id": 0,
            "msg": "NoError"
        },
        "serverId": "165"
    }
    
    remark
    Request
    Field Name Type Required Description
    TransferCode String(1000) Yes 注单序号,支援一次查询多个注单序号。
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    ResendDetail ResendDetail[] Yes 实际重送的结果
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    6.2. 重送虚拟运动免转钱包 Request

    该API将重送已经结算或是取消的注单,结算将送 SETTLE,取消将送 CANCEL
    name sample
    path
    http://{api-domain}/web-root/restricted/sw/resend-seamless-wallet-for-virtual-sports.aspx
    method
    POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
        "transferCode" : "B2672088,B2672089",
        "companyKey":"{CompanyKey}",
        "serverId":"{server ID}"
    }
    ResponseBody
    {
        "ResendDetail": [
            {
                "UserName": "testplayer001",
                "TransferCode": "B2672088",
                "Action": "SETTLE"
            },
            {
                "UserName": "testplayer002",
                "TransferCode": "B2672089",
                "Action": "CANCEL"
            }
        ],
        "error": {
            "id": 0,
            "msg": "NoError"
        },
        "serverId": "165"
    }
    
    remark
    Request
    Field Name Type Required Description
    TransferCode String(1000) Yes 注单序号,支援一次查询多个注单序号。
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    ResendDetail ResendDetail[] Yes 实际重送的结果
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    6.3. 重送真人赌场免转钱包 Request

    该API将重送已经结算或是取消的注单,结算将送 SETTLE,取消将送 CANCEL
    name sample
    path
    http://{api-domain}/web-root/restricted/sw/resend-seamless-wallet-for-casino.aspx
    method
    POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
        "transferCode" : "B001481713675,B001481707258",
        "companyKey":"{CompanyKey}",
        "serverId":"{server ID}"
    }
    ResponseBody
    {
        "ResendDetail": [
            {
                "UserName": "testplayer001",
                "TransferCode": "B001481713675",
                "Action": "SETTLE"
            },
            {
                "UserName": "testplayer002",
                "TransferCode": "B001481707258",
                "Action": "CANCEL"
            }
        ],
        "error": {
            "id": 0,
            "msg": "NoError"
        },
        "serverId": "165"
    }
    
    remark
    Request
    Field Name Type Required Description
    TransferCode String(1000) Yes 注单序号,支援一次查询多个注单序号。
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    ResendDetail ResendDetail[] Yes 实际重送的结果
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    6.3. 重送电子游戏免转钱包 Request

    该API将重送已经结算或是取消的注单,结算将送 SETTLE,取消将送 CANCEL
    name sample
    path
    http://{api-domain}/web-root/restricted/sw/resend-seamless-wallet-for-game.aspx
    method
    POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
        "transferCode" : "T10108,T10109",
        "companyKey":"{CompanyKey}",
        "serverId":"{server ID}"
    }
    ResponseBody
    {
        "ResendDetail": [
            {
                "UserName": "testplayer001",
                "TransferCode": "T10108",
                "Action": "SETTLE"
            },
            {
                "UserName": "testplayer002",
                "TransferCode": "T10109",
                "Action": "CANCEL"
            }
        ],
        "error": {
            "id": 0,
            "msg": "NoError"
        },
        "serverId": "165"
    }
    
    remark
    Request
    Field Name Type Required Description
    TransferCode String(1000) Yes 注单序号,支援一次查询多个注单序号。
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    ResendDetail ResendDetail[] Yes 实际重送的结果
    Error ApiError Yes 错误。请参考 Api 错误
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    7. 体育博彩风险控制

    7.1 依据注单延迟派彩

    该API将依据注单延迟派彩
    延迟派彩注单的盘口需为 亚洲盘, 大小盘, 半场让分盘, 半场大小盘
    仅供568win内部使用
    name sample
    path
    http://{api-domain}/web-root/restricted/risk-control/delay-settle-by-bets.aspx
    method
    POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
        "webId" : "0",
        "transIds" : "111,3998801,3998802,3998803,3998807",
        "companyKey":"{CompanyKey}",
        "serverId":"{server ID}"
    }
    ResponseBody
    {
        "Bets": [
            {
                "TransId": 111,,
                "ErrorCode": 2,
                "Status": "BetNotExists"
            },
            {
                "TransId": 3998801,
                "ErrorCode": 4,
                "Status": "NotRunningBet"
            },
    		
            {
                "TransId": 3998802,
                "ErrorCode": 9,
                "Status": "InvalidBetType"
            },
    		
            {
                "TransId": 3998803,
                "ErrorCode": 6,
                "Status": "WebIdNotMapping"
            },
    		
            {
                "TransId": 3998804,
                "ErrorCode": 0,
                "Status": "NoError"
            },
        ],
        "error": {
            "id": 0,
            "msg": "NoError"
        },
        "serverId": "165"
    }
    
    remark
    Request
    Field Name Type Required Description
    webId int Yes 特定网页/群组/客户的web Id.
    transIds String(1000) Yes 注单序号,支援一次延迟派彩多个注单序号。
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    Bets Bets[] Yes 实际延迟派彩的结果,错误请参考风险控制Api错误
    Error ApiError Yes 错误。请参考 Api 错误.
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    7.2 依据注单移除延迟派彩

    该API将依据注单移除延迟派彩
    移除延迟派彩注单的盘口需为 亚洲盘, 大小盘, 半场让分盘, 半场大小盘
    仅供568win内部使用
    name sample
    path
    http://{api-domain}/web-root/restricted/risk-control/remove-delay-settle-by-bets.aspx
    method
    POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
        "webId" : "0",
        "transIds" : "111,3998801,3998802,3998803,3998807",
        "companyKey":"{CompanyKey}",
        "serverId":"{server ID}"
    }
    ResponseBody
    {
        "Bets": [
            {
                "TransId": 111,
                "ErrorCode": 2,
                "Status": "BetNotExists"
            },		
            {
                "TransId": 3998802,
                "ErrorCode": 9,
                "Status": "InvalidBetType"
            },
            {
                "TransId": 3998803,
                "ErrorCode": 6,
                "Status": "WebIdNotMapping"
            },
            {
                "TransId": 3998804,
                "ErrorCode": 0,
                "Status": "NoError"
            },
        ],
        "error": {
            "id": 0,
            "msg": "NoError"
        },
        "serverId": "165"
    }
    
    remark
    Request
    Field Name Type Required Description
    webId int Yes 特定网页/群组/客户的web Id.
    transIds String(1000) Yes 注单序号,支援一次移除延迟派彩多个注单序号。
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    Bets Bets[] Yes 实际移除延迟派彩的结果,错误请参考风险控制Api错误
    Error ApiError Yes 错误。请参考 Api 错误.
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    7.3 依据单号作废注单

    该API将依据单号作废注单
    作废注单的盘口需为 亚洲盘, 大小盘, 半场让分盘, 半场大小盘 只能够作废近三天, 已延迟派彩, 注单状态为 '进行中', 比赛已经结束且最后为赢或平手的注单
    仅供568win内部使用
    name sample
    path
    http://{api-domain}/web-root/restricted/risk-control/void-single-bets-by-transIds.aspx
    method
    POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
        "webId" : "0",
        "transIds" : "111,3998801,3998802,3998803,3998804,3998805,3998806,3998807,3998808,3998809",
        "companyKey":"{CompanyKey}",
        "serverId":"{server ID}"
    }
    ResponseBody
    {
        "Bets": [
            {
                "TransId": 111,
                "ErrorCode": 2,
                "Status": "BetNotExists"
            },
            {
                "TransId": 3998801,
                "ErrorCode": 7,
                "Status": "MatchNotCompleted"
            },
            {
                "TransId": 3998802,
                "ErrorCode": 4,
                "Status": "NotRunningBet"
            },
            {
                "TransId": 3998803,
                "ErrorCode": 5,
                "Status": "NotDelayedBet"
            },
            {
                "TransId": 3998804,
                "ErrorCode": 6,
                "Status": "WebIdNotMapping"
            },
            {
                "TransId": 3998805,
                "ErrorCode": 7,
                "Status": "MatchNotCompleted"
            },
            {
                "TransId": 3998806,
                "ErrorCode": 8,
                "Status": "BetTimeNotInThreeDays"
            },
            {
                "TransId": 3998807,
                "ErrorCode": 9,
                "Status": "InvalidBetType"
            },
            {
                "TransId": 3998808,
                "ErrorCode": 10,
                "Status": "BetNotWonOrDraw"
            },
            {
                "TransId": 3998809,
                "ErrorCode": 0,
                "Status": "NoError"
            },
        ],
        "error": {
            "id": 0,
            "msg": "NoError"
        },
        "serverId": "165"
    }
    
    remark
    Request
    Field Name Type Required Description
    webId int Yes 特定网页/群组/客户的web Id.
    transIds String(1000) Yes 注单序号,支援一次作废多个注单序号。
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    Bets Bets[] Yes 实际作废的结果,错误请参考风险控制Api错误
    Error ApiError Yes 错误。请参考 Api 错误.
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    8. 体育博彩推荐

    8.1 赛事推荐

    该API将返回今日最推荐的三场比赛,
    优先推荐足球的世界杯及五大联赛:
    英格兰超级联赛、意大利甲组联赛、德国甲组联赛、西班牙甲组联赛、法国甲组联赛,
    如果这五大联赛没有足够的数据,将推荐其他热门赛事。
    name sample
    path
    http://{api-domain}/web-root/restricted/recommend/get-recommend-matches.aspx
    method
    POST
    header
    Content-Type : application/x-www-form-urlencoded; charset=UTF-8
    RequestBody
    "param" : {
            "language" : "zh-cn",
            "companyKey":"{CompanyKey}",
            "serverId":"{server ID}"
        }
    ResponseBody
        {
            "result": {
                "RecommendMatches": [
                    {
                        "LeagueName": "西班牙甲组联赛",
                        "MatchId": 24503959,
                        "HomeName": "加的斯",
                        "AwayName": "巴塞罗那",
                        "KickOffTime": "2022-09-10T12:35:00.1",
                        "GameTime": "1H15",
                        "HomeScore": 0,
                        "AwayScore": 0,
                        "HomeTeamIconUrl": "https://img-2-2.cdn568.net/images/teamLogo/CadizCF.png",
                        "AwayTeamIconUrl": "https://img-2-2.cdn568.net/images/teamLogo/Barcelona.png",
                        "Handicap": {
                            "HomeOdds": 0.55,
                            "AwayOdds": -0.62,
                            "Point": 1.25
                        },
                        "OverUnder": {
                            "HomeOdds": 0.58,
                            "AwayOdds": -0.68,
                            "Point": 2.75
                        }
                    },
                    {
                        "LeagueName": "德国甲组联赛",
                        "MatchId": 24095192,
                        "HomeName": "沙尔克04",
                        "AwayName": "波鸿",
                        "KickOffTime": "2022-09-10T12:35:00.1",
                        "GameTime": "2H30",
                        "HomeScore": 0,
                        "AwayScore": 0,
                        "HomeTeamIconUrl": "https://img-2-2.cdn568.net/images/teamLogo/Schalke04.png",
                        "AwayTeamIconUrl": "https://img-2-2.cdn568.net/images/teamLogo/VfLBochum.png",
                        "Handicap": {
                            "HomeOdds": -0.75,
                            "AwayOdds": 0.68,
                            "Point": -1.5
                        },
                        "OverUnder": {
                            "HomeOdds": 0.59,
                            "AwayOdds": -0.69,
                            "Point": 2.5
                        }
                    },
                    {
                        "LeagueName": "法国甲组联赛",
                        "MatchId": 24894880,
                        "HomeName": "马赛",
                        "AwayName": "里尔",
                        "KickOffTime": "2022-09-10T15:03:00.1",
                        "GameTime": "",
                        "HomeScore": 0,
                        "AwayScore": 0,
                        "HomeTeamIconUrl": "https://img-2-2.cdn568.net/images/teamLogo/Marseille.png",
                        "AwayTeamIconUrl": "https://img-2-2.cdn568.net/images/teamLogo/Lille.png",
                        "Handicap": {
                            "HomeOdds": 0.52,
                            "AwayOdds": -0.6,
                            "Point": 0
                        },
                        "OverUnder": {
                            "HomeOdds": 0.8,
                            "AwayOdds": -0.9,
                            "Point": 2.5
                        }
                    }
                ]
            },
            "error": {
                "id": 0,
                "msg": "NoError"
            },
            "serverId": "server id"
        }
        
    remark
    Request
    Field Name Type Required Description
    language Language No 语言。若无指定则为系统预设。请参考 语言。.
    companyKey String(64) Yes 平台和白牌系统之间的预先定义的一组token(CompanyKey)。
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。
    Response
    Field Name Type Required Description
    RecommendMatches RecommendMatches[] Yes 推荐赛事结果, 请参考 推荐赛事
    Error ApiError Yes 错误。请参考 Api 错误。.
    serverId String(15) Yes 自行设定之伺服器名称,每个伺服器名称需唯一。此ID用于故障排除。

    附录