Used to get data for get dashboard win/Lose and turnover by games
Method : [Post]
Path : {{domain}}/ext/getWlDashboard/{{prefix}}/{{agentUsername}}
Content-Type : application/json
{
"agentUsername": "{{agentUsername}}",
"key": "{{key}}",
"top": "game",
"resultType": "turnover",
"startDate": "01-02-2022 (DD-MM-YYYY)",
"endDate": "02-02-2022 (DD-MM-YYYY)",
"limit": 10,
"page": 1,
"size": 10,
"web": "{{whiteLabel}}"
}
Key | Type | Example Value | Description |
---|
agentUsername | String | testag | The agent's username. |
key | String | tnyENKDWvOkBXpvm6UZVa | The agent's unique key. |
top | String | game | top is type select game |
resultType | String | turnover | resultType have 3 type [ win, lose and turnover] win = top win by game, lose = top lose by game, turnover = top turnover by game |
limit | Number | 10 | limit page |
page | Number | 1 | page |
size | Number | 10 | size of page |
startDate | Date | 01-02-2022 | Account viewing start date. |
endDate | Date | 02-02-2022 | Account viewing end date. |
web | String | sportbook101 | Active websites. |
{
"code": 0,
"msg": "SUCCESS",
"data": [
{
"key": "65e591a6a8d4f9e78a2359cb",
"gameInfo": {
"name": "Gemstones Gold",
"image": "https://ambimgcdn.co/img/sportsbook/game/PGS/S/PGS_Gemstones%20Gold_1709544120.webp",
"gameType": "Slot"
},
"providerInfo": {
"name": "PG Soft",
"image": "https://ambimgcdn.co/img/sportsbook/assets/provider/PG-Soft.png"
},
"docCount": 3,
"value": 22752
}
]
}
Key | Type | Example Value | Description |
---|
code | Number | 0 | Response code of API |
msg | String | success | description of code |
data | Object | { "data": [ { "key": "65e591a6a8d4f9e78a2359cb", "gameInfo": { "name": "Gemstones Gold", "image": "https://ambimgcdn.co/img/sportsbook/game/PGS/S/PGS_Gemstones%20Gold_1709544120.webp", "gameType": "Slot" }, "providerInfo": { "name": "PG Soft", "image": "https://ambimgcdn.co/img/sportsbook/assets/provider/PG-Soft.png" }, "docCount": 3, "value": 22752 } ] } | data top turnover by game |
Value | msg |
---|
0 | Success |
100001 | Missing 'agent Username' field. |
100002 | Agent username is type string. |
100003 | Missing 'key' field. |
100004 | Key is type string. |
100005 | Missing 'username' field. |
100006 | Username is type string. |
100009 | Your username must be between 8 and 48 character. |
100012 | Key not found. |
100013 | Agent not found. |
100014 | Member not found. |
1000003 | Top is Only [ player , game , provider ] |
1000004 | ResultType is Only [ win , lose , turnover ] |
100017 | You make multiple transactions, please wait 1 minute and try again. |
Used to get data for get dashboard win/Lose and turnover by provider
Method : [Post]
Path : {{domain}}/ext/getWlDashboard/{{prefix}}/{{agentUsername}}
Content-Type : application/json
{
"agentUsername": "{{agentUsername}}",
"key": "{{key}}",
"top": "provider",
"resultType": "turnover",
"startDate": "01-02-2022 (DD-MM-YYYY)",
"endDate": "02-02-2022 (DD-MM-YYYY)",
"limit": 10,
"page": 1,
"size": 10,
"web": "{{whiteLabel}}"
}
Key | Type | Example Value | Description |
---|
agentUsername | String | testag | The agent's username. |
key | String | tnyENKDWvOkBXpvm6UZVa | The agent's unique key. |
top | String | provider | top is type select provider |
resultType | String | turnover | resultType have 3 type [ win, lose and turnover] win = top win by provider, lose = top lose by provider, turnover = top turnover by provider |
limit | Number | 10 | limit page |
page | Number | 1 | page |
size | Number | 10 | size of page |
startDate | Date | 01-02-2022 | Account viewing start date. |
endDate | Date | 02-02-2022 | Account viewing end date. |
web | String | sportbook101 | Active websites. |
{
"code": 0,
"msg": "SUCCESS",
"data": [
{
"key": "PGS",
"providerInfo": {
"name": "PG Soft",
"image": "https://ambimgcdn.co/img/sportsbook/assets/provider/PG-Soft.png"
},
"docCount": 177,
"value": 235338.8
}
]
}
Key | Type | Example Value | Description |
---|
code | Number | 0 | Response code of API |
msg | String | success | description of code |
data | Object | { "data": [ { "key": "PGS", "providerInfo": { "name": "PG Soft", "image": "https://ambimgcdn.co/img/sportsbook/assets/provider/PG-Soft.png" }, "docCount": 177, "value": 235338.8 } ] } | data top turnover by provider |
Value | msg |
---|
0 | Success |
100001 | Missing 'agent Username' field. |
100002 | Agent username is type string. |
100003 | Missing 'key' field. |
100004 | Key is type string. |
100005 | Missing 'username' field. |
100006 | Username is type string. |
100009 | Your username must be between 8 and 48 character. |
100012 | Key not found. |
100013 | Agent not found. |
100014 | Member not found. |
1000003 | Top is Only [ player , game , provider ] |
1000004 | ResultType is Only [ win , lose , turnover ] |
100017 | You make multiple transactions, please wait 1 minute and try again. |
Used to get data for get dashboard win/Lose and turnover by Player
Method : [Post]
Path : {{domain}}/ext/getWlDashboard/{{prefix}}/{{agentUsername}}
Content-Type : application/json
{
"agentUsername": "{{agentUsername}}",
"key": "{{key}}",
"top": "player",
"resultType": "turnover",
"startDate": "01-02-2022 (DD-MM-YYYY)",
"endDate": "02-02-2022 (DD-MM-YYYY)",
"limit": 10,
"page": 1,
"size": 10,
"web": "{{whiteLabel}}"
}
Key | Type | Example Value | Description |
---|
agentUsername | String | testag | The agent's username. |
key | String | tnyENKDWvOkBXpvm6UZVa | The agent's unique key. |
top | String | player | top is type select player |
resultType | String | turnover | resultType have 3 type [ win, lose and turnover] win = top win by player, lose = top lose by player, turnover = top turnover by player |
limit | Number | 10 | limit page |
page | Number | 1 | page |
size | Number | 10 | size of page |
startDate | Date | 01-02-2022 | Account viewing start date. |
endDate | Date | 02-02-2022 | Account viewing end date. |
web | String | sportbook101 | Active websites. |
{
"code": 0,
"msg": "SUCCESS",
"data": [
{
"key": "agthbmb03",
"docCount": 211,
"value": 382525.29
}
]
}
Key | Type | Example Value | Description |
---|
code | Number | 0 | Response code of API |
msg | String | success | description of code |
data | Object | { "data": [ { "key": "agthbmb03", "docCount": 211, "value": 382525.29 } ] } | data top turnover by player |
Value | msg |
---|
0 | Success |
100001 | Missing 'agent Username' field. |
100002 | Agent username is type string. |
100003 | Missing 'key' field. |
100004 | Key is type string. |
100005 | Missing 'username' field. |
100006 | Username is type string. |
100009 | Your username must be between 8 and 48 character. |
100012 | Key not found. |
100013 | Agent not found. |
100014 | Member not found. |
1000003 | Top is Only [ player , game , provider ] |
1000004 | ResultType is Only [ win , lose , turnover ] |
100017 | You make multiple transactions, please wait 1 minute and try again. |
Used to get data for get dashboard win/Lose, turnover and Player for graph
Method : [Post]
Path : {{domain}}/ext/getGraphDashboard/{{prefix}}/{{agentUsername}}
Content-Type : application/json
{
"agentUsername": "{{agentUsername}}",
"key": "{{key}}",
"startDate": "01-02-2022 (DD-MM-YYYY)",
"endDate": "02-02-2022 (DD-MM-YYYY)",
"web": "{{whiteLabel}}"
}
Key | Type | Example Value | Description |
---|
agentUsername | String | testag | The agent's username. |
key | String | tnyENKDWvOkBXpvm6UZVa | The agent's unique key. |
startDate | Date | 01-02-2022 | Account viewing start date. |
endDate | Date | 02-02-2022 | Account viewing end date. |
web | String | sportbook101 | Active websites. |
{
"code": 0,
"msg": "SUCCESS",
"data": [
{
"keyAsString": "2025-02-05",
"wl": 401.14999999999986,
"turnover": 665.6,
"player": 2
},
{
"keyAsString": "2025-02-06",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-07",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-08",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-09",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-10",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-11",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-12",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-13",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-14",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-15",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-16",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-17",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-18",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-19",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-20",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-21",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-22",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-23",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-24",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-25",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-26",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-27",
"wl": 0,
"turnover": 0,
"player": 0
},
{
"keyAsString": "2025-02-28",
"wl": -1.2,
"turnover": 6,
"player": 1
}
]
}
Key | Type | Example Value | Description |
---|
code | Number | 0 | Response code of API |
msg | String | success | description of code |
data | Object | { "data": [ { "keyAsString": "2025-02-05", "wl": 401.14999999999986, "turnover": 665.6, "player": 2 }, { "keyAsString": "2025-02-06", "wl": 0, "turnover": 0, "player": 0 }, { "keyAsString": "2025-02-07", "wl": 0, "turnover": 0, "player": 0 } ] } | data winlose turnover and player |
Value | msg |
---|
0 | Success |
100001 | Missing 'agent Username' field. |
100002 | Agent username is type string. |
100003 | Missing 'key' field. |
100004 | Key is type string. |
100005 | Missing 'username' field. |
100006 | Username is type string. |
100009 | Your username must be between 8 and 48 character. |
100012 | Key not found. |
100013 | Agent not found. |
100014 | Member not found. |
1000003 | Top is Only [ player , game , provider ] |
1000004 | ResultType is Only [ win , lose , turnover ] |
100017 | You make multiple transactions, please wait 1 minute and try again. |
Used to get data user online by type
Method : [Post]
Path : {{domain}}/ext/getUserOnline/{{prefix}}/{{agentUsername}}
Content-Type : application/json
{
"agentUsername": "{{agentUsername}}",
"key": "{{key}}",
"web": "{{whiteLabel}}"
}
Key | Type | Example Value | Description |
---|
agentUsername | String | testag | The agent's username. |
key | String | tnyENKDWvOkBXpvm6UZVa | The agent's unique key. |
web | String | sportbook101 | Active websites. |
{
"code": 0,
"msg": "SUCCESS",
"data": [
{
"_id": {
"source": "slot"
},
"count": 1
},
{
"_id": {
"source": "plb"
},
"count": 1
}
]
}
Key | Type | Example Value | Description |
---|
code | Number | 0 | Response code of API |
msg | String | success | description of code |
data | Object | { "data": [ { "_id": { "source": "slot" }, "count": 1 }, { "_id": { "source": "plb" }, "count": 1 } ] } | data user online by type |
Value | msg |
---|
0 | Success |
100001 | Missing 'agent Username' field. |
100002 | Agent username is type string. |
100003 | Missing 'key' field. |
100004 | Key is type string. |
100005 | Missing 'username' field. |
100006 | Username is type string. |
100009 | Your username must be between 8 and 48 character. |
100012 | Key not found. |
100013 | Agent not found. |
100014 | Member not found. |
100017 | You make multiple transactions, please wait 1 minute and try again. |