curl --location --request GET '/lottery-codes/query?code&activity_id' \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"lottery_code": {
"id": 0,
"code": "string",
"status": "unused",
"participant_name": "string",
"participant_email": "string",
"participant_phone": "string",
"created_at": "2019-08-24T14:15:22Z"
},
"activity": {
"id": 0,
"name": "string",
"status": "string",
"lottery_mode": "string",
"start_time": "2019-08-24T14:15:22Z",
"end_time": "2019-08-24T14:15:22Z"
}
},
"message": "string"
}