Authorization: ********************curl --location --request GET '/admin/activities//lottery-codes?page&limit&search&status&has_participant_info' \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"lottery_codes": [
{
"id": 0,
"code": "string",
"status": "unused",
"participant_info": {
"name": "string",
"phone": "string",
"email": "user@example.com"
},
"used_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z"
}
],
"pagination": {
"page": 1,
"limit": 1,
"total": 0,
"totalPages": 0
}
},
"message": "string"
}