Authorization: ********************{
"count": 1
}curl --location --request POST '/admin/activities//lottery-codes/batch' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"count": 1
}'{
"success": true,
"data": {
"created_count": 0,
"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"
}
]
},
"message": "string"
}