Authorization: Bearer ********************{
"current": 0,
"pageSize": 50,
"agentUsername": "playj013a",
"providerCode": "APP-918KISS",
"roleName": "",
"datetime": [
"2025-04-23",
"2025-04-24"
],
"timestamp": "{{timestamp}}"
}curl --location --request POST '/v1/agent/report/getWinLoseAgentReport' \
--header 'User-Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"current": 0,
"pageSize": 50,
"agentUsername": "playj013a",
"providerCode": "APP-918KISS",
"roleName": "",
"datetime": [
"2025-04-23",
"2025-04-24"
],
"timestamp": "{{timestamp}}"
}'{
"status": true,
"message": "Retrieve successfully",
"data": [
{
"admin_id": 123456789,
"admin_username": "xxxx",
"admin_name": "xxxx",
"admin_role_id": 4,
"admin_group_id": null,
"admin_role_name": "AGENT",
"provider_id": 11,
"company_rate": 0.83,
"totalBet": 66.5,
"totalWin": 32.13,
"totalWinLoss": 34.37,
"totalRevenue": 6.874,
"totalCompany": 5.63668,
"totalProfit": 1.23732
}
],
"totalCount": 1,
"display": {
"agent": {
"totalAgentBet": 66.5,
"totalAgentWin": 32.13,
"totalAgentWinLoss": 34.37,
"totalAgentRevenue": 6.87,
"totalAgentCompany": 5.64,
"totalAgentProfit": 1.24
},
"overview": {
"account": "xxxx",
"adminID": 100,
"totalBet": 66.5,
"totalWin": 32.13,
"totalWinLoss": 34.37,
"totalPlayerRevenue": 0,
"totalRevenue": 6.87,
"totalCompany": 5.64,
"totalProfit": 1.24
}
}
}