Authorization: Bearer ********************{
"current": 0,
"pageSize": 10,
"agentUsername": "playj013a",
"providerCode": "H5-JILI",
"roleName": "AGENT",
"datetime": [
"2025-04-23",
"2025-04-24"
],
"timestamp": "{{timestamp}}"
}curl --location --request POST '/v1/agent/report/getCashAgentReport' \
--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": 10,
"agentUsername": "playj013a",
"providerCode": "H5-JILI",
"roleName": "AGENT",
"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_role.admin_role_name": "AGENT",
"cashInAmount": 2.2,
"cashInCount": 1,
"cashOutAmount": -2.2,
"cashOutCount": 1,
"netSales": 0
}
],
"totalCount": 1,
"display": {
"agent": {
"totalCashInAmount": 2.2,
"totalCashInCount": 1,
"totalCashOutAmount": -2.2,
"totalCashOutCount": 1,
"totalNetSales": 0,
"totalInOut": 2
},
"overview": {
"account": "xxxx"
}
}
}