文档
测试

3.3 Get

POST
/api/log/get

接口描述

Order query

Headers

参数名
类型
描述
必填
Authorization
string
Example:9b358d8549004bd0bb48b3f94ae7e2a5
必填
Content-Language
string
Language packs (optional), the default language for opening an account, Example:ENG
必填

Form Data

参数名
类型
描述
必填
OrderType
string
Order type to be queried, optional, the default is Single. Example:All
必填
All
string
All types
必填
Single
string
Query single orders, the default value is blank.
必填
Combo
string
Combo order
必填
Smart
string
Smart order
必填
Type
string
Query type, optional, the default is UpdateAt. Example:UpdateAt
必填
UpdateAt
string
Query by the update time of the order (recommend to collect order by using the type)
必填
CreateAt
string
Query by betting time
必填
ResultAt
string
Query by draw time
必填
RewardAt
string
Query by award time
必填
UserName
string
Query by username, if Type = UserName, Username field must be filled out.
必填
StartAt
string
Time range start time, the format is:yyyy-MM-dd HH:mm:ss Example:2020-4-1 0:0:0
必填
EndAt
string
Time range end time, the format is:yyyy-MM-dd HH:mm:ss Example:2020-4-1 0:10:0 Note:The diference between start time and end time cannot exceed 24 hours.
必填
UserName
string
This field must be filled out when Type = UserName. Username in query. Example:ceshi01
必填
PageIndex
number
Optional, the page number in query of each page, the default is 1. Example:1
必填
PageSize
number
Optional, the amount that data returned from query of each page, the default is 20 and the maximum is 1024. Example:20
必填

Response

参数名
类型
描述
必填
success
number
Example:1
必填
msg
string
Example:17ms
必填
info
object
Data dictionary
必填
RecordCount
number
Total Records Example:32
必填
PageIndex
number
Page number of current query Example:1
必填
PageSize
number
Size of each page Example:20
必填
data
object
Additional data information reserved for extended use.
必填
list
array
Data list (there are 3 formats: Single (single-level order), Combo (chain-level), Smart (mini-game))
必填
Smart
string
Smart type, Type = Smart
必填
OrderID
number
Order number, Example:10000
必填
Type
string
Order type, Example:Smart
必填
UserName
string
User name for betting, example:ai311
必填
Code
string
Smart type code, Example:LOL
必填
Index
string
Game number, Example:202004010004
必填
Player
string
How to play. Example:LOL.Player.OddEven
必填
Content
string
Betting Content: Example:Odd
必填
Result
string
Draw result Example: 0 For the game hero corresponding to the draw result number, please refer to Appendix 5
必填
CreateAt
string
Bet time example:2020/4/1 00:01:31
必填
RewardAt
string
Payout time example:2020/4/1 00:01:31
必填
BetAmount
string
Bet Amount Example:10.0000
必填
BetMoney
string
Effective Bet Amount Example:63.0000
必填
Money
string
Profit and Loss Amount Example:0.0000
必填
Status
string
Order status Example: None. For the order status type, see "Order Status" in this section.
必填
IP
string
Bet IP address Example:139.162.32.66
必填
Odds
number
Odds (European format)
必填
ReSettlement
bool
Whether to re-settlement the order Yes: 1 No: 0
必填
IsTest
number
Whether it is a trial order, example:0
必填
Currency
string
the currency of betting,example: CNY
必填
Single
string
Single eSport order, Type = Single
必填
OrderID
number
Order ID
必填
UserName
string
Betting username
必填
CateID
number
Game ID
必填
Category
string
Game name
必填
LeagueID
number
League ID
必填
League
string
League name
必填
MatchID
number
Match ID
必填
Match
string
Competition title
必填
BetID
number
Handicap ID
必填
Bet
string
Handicap Name
必填
Content
string
Betting content
必填
Result
string
Result content
必填
BetAmount
number
Bet amount
必填
BetMoney
number
Effective Bet Amount
必填
Money
number
Profit and loss amount
必填
Status
string
Order status (see order status types in this chapter for order status types)
必填
CreateAt
datetime
Betting time
必填
UpdateAt
datetime
Last updated order
必填
StartAt
datetime
Match start time
必填
EndAt
datetime
Match end time
必填
ResultAt
datetime
Match result time
必填
RewardAt
datetime
Match reward time
必填
OddsType
string
Odds types, EU: European odds, HK: Hong Kong odds
必填
Odds
number
Bet odds
必填
IP
string
Bet IP
必填
Language
string
Member's locale
必填
Platform
Array
Example of equipment used by members to place bets: ["PC", "Windows"]
必填
Type
string
Order type, Example: Single
必填
ReSettlement
bool
Whether to re-settlement the order Yes: 1 No: 0
必填
IsTest
bool
Whether it is a trial order, 1: yes, 0: no
必填
Currency
string
the currency of betting,example: CNY
必填
IsLive
bool
is live 1 yes 0 no
必填
Combo
string
Combo eSport order, Type = Combo
必填
Type
string
Order type, Example:Combo
必填
OrderID
number
Order number
必填
UserName
string
Player username
必填
Status
string
Order status example: None. For the order status type, see "Order Status" in this section.
必填
CreateAt
datetime
Example of betting time: 4/1/2020 00:01:31
必填
UpdateAt
datetime
Last updated order
必填
RewardAt
datetime
Payout time
必填
BetAmount
number
Bet amount
必填
BetMoney
number
Effective Bet Amount
必填
Money
number
Profit and loss amount
必填
OddsType
string
Odds types, EU: European odds, HK: Hong Kong odds
必填
Odds
number
Comprehensive odds of chaining
必填
IP
string
Bet IP
必填
Language
string
Member's locale
必填
Platform
Array
Device used by members to place bets, example: ["PC", "Windows"]
必填
Details
Array
Combo Details
必填
CateID
number
Game ID
必填
Category
string
Game name
必填
LeagueID
number
League ID
必填
League
string
League name
必填
MatchID
number
Match ID
必填
Match
string
Competition title
必填
StartAt
datetime
Match start time
必填
EndAt
datetime
Match end time
必填
Bet
string
Handicap Name
必填
Content
string
Betting content
必填
ResultAt
datetime
Match result time
必填
Result
string
Result content
必填
OddsType
string
Odds types, EU: European odds, HK: Hong Kong odds
必填
Odds
number
Individual odds
必填
Status
string
The status of the cross-order child order, Example: None. For the order status type, see "Order Status" in this section.
必填
ReSettlement
bool
Whether to re-settlement the order Yes: 1 No: 0
必填
IsTest
bool
Whether it is a trial order, 1: yes, 0: no
必填
Currency
string
the currency of betting,example: CNY
必填

Description / Example

``` curl https://api.xx.com/api/log/get -X POST -H "Authorization: 9b358d8549004bd0bb48b3f94ae7e2a5" -H "Content-Type:application/x-www-form-urlencoded" -d "Type=UpdateAt&OrderType=All&StartAt=2020-4-1 0:0:0&EndAt=2020-4-1 23:59:59&PageIndex=1&PageSize=1024&LANGUAGE=CHN" ``` Response body: ``` { "success":1, "msg":"6ms", "info":{ "RecordCount":124, "PageIndex":1, "PageSize":20, "data":null, "list":[ // Single type { "OrderID":3266, "Type":"Single", "UserName":"john", "CateID":2040, "Category":"Honor of Kings", "LeagueID":2041, "League":"2018 Honor of Kings Professional league", "MatchID":45626, "Match":"JV VS QGYoung", "BetID":373193, "Bet":"Winner", "Content":"JV", "Result":"", "BetAmount":10, "BetMoney":0, "Money":0, "StartAt":"2020-02-20 11:26:00", "EndAt":"2020-02-20 15:26:00", "CreateAt":"2020-03-26 17:15:31", "ResultAt":null, "RewardAt":null, "OddsType":"EU", "Odds":1.88, "Status":"None", "Language":"ENG", "IP":"180.191.159.229", "Platform":[ "PC", "Windows" ], "ReSettlement":0, "IsTest":0, "Currency":"CNY" }, // Combo type { "Type":"Combo", "OrderID":124771, "UserName":"134334530563f52", "Status":"None", "CreateAt":"2020-03-31 22:57:01", "UpdateAt":"2020-03-31 22:57:03", "RewardAt":null, "BetAmount":10.0000, "BetMoney":0.0000, "Money":0.0000, "OddsType":"EU", "Odds":29.7263, "IP":"113.81.27.154", "Language":"ENG", "Platform":["Mobile","Android"], "ReSettlement":0, "IsTest":0, "Currency":"CNY" "Details":[ { "CateID":2, "Category":"League of Legends", "LeagueID":1, "League":"2020 Korean Professional League Spring", "MatchID":248, "Match":"SANDBOX Gaming VS DragonX", "StartAt":"2020-04-01 14:00:00", "EndAt":"2020-04-01 17:00:00", "Bet":"Map 1-Destroy the first tower", "Content":"DRX", "ResultAt":null, "Result":"", "OddsType":"EU", "Odds":1.6000 }, { "CateID":2, "Category":"League of Legends", "LeagueID":1, "League":"2020 Korean Professional League Spring", "MatchID":249, "Match":"KT Rolster VS Griffin", "StartAt":"2020-04-01 17:00:00", "EndAt":"2020-04-01 20:00:00", "Bet":"Map 1-Destroy the first tower", "Content":"KT", "ResultAt":null, "Result":"", "OddsType":"EU", "Odds":1.4800 }] }, // Smart type { "OrderID":"124865", "Type":"Smart", "UserName":"ceshi028d42", "Code":"LOL", "Index":"98405", "Player":"Smart.LOL.OddEven", "Content":"Odd", "Result":"118", "CreateAt":"2020/3/31 23:14:56", "RewardAt":"2020/3/31 23:15:28", "BetAmount":"1.0000", "BetMoney":"1.0000", "Money":"-1.0000", "Status":"Lose", "IsTest":0, "IP":"175.45.179.254", "Odds":"1.98", "ReSettlement":0, "IsTest":0, "Currency":"CNY" } ] } } ``` ### Order Status Type | Status Code | Status Description | |-|-|-| | None | Waiting for the draw | | Cancel | Cancel | | Win | Win | | Lose | lose | | WinHalf | Win half | | LoseHalf | Lose half | | Revoke | Invalid Order | ### Device Code Description | Equipment Code | Status Description | |-|-|-| | PC | PC machine | | Windows | Windows Operating System | | Mac | Apple Operating System | | Mobile | Using a mobile device | | Android | Android phone | | IOS | Apple phone | ### Smart Code Type | Code | Game Name | |-|-| | LOL | LOL Heroes | | PVP | King Heroes | | Dota | Dota Heroes | |LOL3|Hero Minute 3 |PVP5|King Minute 5 |Dota1|Dota Minute ### Smart Play Type #### LOL (LOL Heroes) | Code | Game name | |-|-| | Smart.LOL.OddEven | Hero number single and double | | Smart.LOL.Gender | Hero Gender | | Smart.LOL.Magic | With or without magic value | | Smart.LOL.Attack | Hero Attacks | #### LOL | Code | Game name | |-|-| | Smart.PVP.OddEven | Hero number single and double | | Smart.PVP.Gender | Hero Gender | | Smart.PVP.Magic | With or without magic value | | Smart.PVP.Attack | Hero Attacks | #### Dota (Dota Heroes) | Code | Game name | |-|-| | Smart.Dota.OddEven | Hero Number Single and Double | | Smart.Dota.Camp | Campus | | Smart.Dota.Abilities | Hero Properties | | Smart.Dota.Attack | Hero Attacks |