> For the complete documentation index, see [llms.txt](https://tech.x2bee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tech.x2bee.com/api/api-en/store-front-api-reference/event-api/event-entry.md).

# Event Entry

## Edit Event Comment

> \## Function Description\
> \* This is the basic API for editing an event comment.\
> \---\
> \## Detailed Description\
> \* Login is required.\
> \* Only comments written by yourself can be edited.\
> \* \*\*Comment content (bbcCont), event number (evtNo), member number (mbrNo), and post number (bbcNo)\*\* are required.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE Event API","version":"v1"},"servers":[{"url":"https://api-event.x2bee.com/api/event/","description":"prd"}],"paths":{"/v1/marketing/updateEventEntryReply":{"post":{"tags":["Event Entry"],"summary":"Edit Event Comment","description":"## Function Description\n* This is the basic API for editing an event comment.\n---\n## Detailed Description\n* Login is required.\n* Only comments written by yourself can be edited.\n* **Comment content (bbcCont), event number (evtNo), member number (mbrNo), and post number (bbcNo)** are required.\n","operationId":"updateEventEntryReply","parameters":[{"name":"Authorization","in":"header","description":"Access Token","required":false}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CcEvtBaseRequest"}}},"required":true},"responses":{"200":{"description":"Event comment edited successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/EventEntryResponse"}}}},"900":{"description":"Failed to edit event comment","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}},"components":{"schemas":{"CcEvtBaseRequest":{"type":"object","description":"Event Information Request","properties":{"periodGb":{"type":"string","description":"Period Search Type\n* `Start Date` : \"0\"<br/><br/>\n* `Deadline` : \"1\"<br/><br/>\n* `Drawing Date` : \"2\"<br/><br/>\n* `Shipping Date` : \"3\"<br/><br/>\n"},"startDate":{"type":"string","description":"Start Date"},"endDate":{"type":"string","description":"End Date"},"brandNo":{"type":"string","description":"Brand No."},"evtLgrpCd":{"type":"string","description":"Event Type Major Category Code (EV001)\n* `Drawing Event` : \"10\"<br/><br/>\n* `Non-Drawing Event` : \"20\"<br/><br/>\n"},"evtTyp":{"type":"string","description":"Event Type"},"evtNm":{"type":"string","description":"Event Name"},"evtNo":{"type":"string","description":"Event No."},"deptCd":{"type":"string","description":"Managing Department Code"},"aempId":{"type":"string","description":"Person in Charge ID"},"dispYn":{"type":"string","default":"Y","description":"Display Status"},"evtPrgsStat":{"type":"string","description":"Management Status (EV005)\n* `Temporarily Registered` : \"01\"<br/><br/>\n* `In Progress` : \"02\"<br/><br/>\n* `Awaiting Drawing` : \"03\"<br/><br/>\n* `Awaiting Announcement` : \"04\"<br/><br/>\n* `Tax Payment In Progress` : \"05\"<br/><br/>\n* `Awaiting Prize Shipment` : \"06\"<br/><br/>\n* `Prize Shipment Complete` : \"07\"<br/><br/>\n* `Awaiting Payment` : \"08\"<br/><br/>\n* `Payment Complete` : \"09\"<br/><br/>\n* `Suspended` : \"10\"<br/><br/>\n* `Event Ended` : \"11\"<br/><br/>\n"},"mbrNo":{"type":"string","description":"Member No."},"evtSbscPathCd":{"type":"string","description":"Event Entry Path Code"},"evtSbscAplyChkYn":{"type":"string","description":"Check Event Entry Eligibility"},"winRnk":{"type":"integer","format":"int32","description":"Winning Rank"},"evtTmplRelNo":{"type":"string","description":"Comment Template No."},"bbcNo":{"type":"string","description":"Comment No."},"bbcCont":{"type":"string","description":"Comment Content"},"dispMbrGrade":{"type":"string","description":"Display Membership Grade"},"evtStartEndTabGb":{"type":"string","description":"Event In Progress (01) & Ended (02) Classification"},"evtSortGb":{"type":"string","description":"Event Sort Type"},"uprFixYn":{"type":"string","description":"Pinned Status"},"myQuestViewYn":{"type":"string","description":"View My Participated Survey"},"evtObjCd":{"type":"string","description":"Event Purpose Code"},"questAnsList":{"type":"array","description":"Survey List","items":{"$ref":"#/components/schemas/CcEvtQuestAnsInfo"}},"quizAnsList":{"type":"array","description":"Quiz List","items":{"$ref":"#/components/schemas/CcEvtQuestAnsInfo"}},"previewDate":{"type":"string","description":"Preview"},"recentEvt":{"type":"string","description":"Latest Event"},"trgmnSeq":{"type":"string","description":"Target Sequence No."},"fixCnt":{"type":"integer","format":"int32","description":"Pinned Post Pagination Value"},"mdCd":{"type":"string","description":"Media Code"},"evtFvrSeq":{"type":"string","description":"Event Benefit Sequence No."},"sbscPsbMinOrdAmt":{"type":"integer","format":"int32","description":"Minimum Entry Eligible Amount"},"evtMgrpCd":{"type":"string","description":"Event Sub-Category Code (EV002)"},"searchWord":{"type":"string","description":"Search Term"}}},"CcEvtQuestAnsInfo":{"type":"object","description":"Event Question and Answer Information","properties":{"evtNo":{"type":"string","description":"Event No."},"trgmnSeq":{"type":"string","description":"Target Sequence No."},"questNo":{"type":"string","description":"Question No."},"ansNo":{"type":"string","description":"Response No."},"questAnsCont":{"type":"string","description":"Question and Answer Content"},"cawrYn":{"type":"string","description":"Correct Answer Status"}}},"EventEntryResponse":{"type":"object","description":"Event Entry Response","properties":{"resultCd":{"type":"string","description":"Result Response Code"},"resultMsg":{"type":"string","description":"Result Response Message"},"evtTrgmnGbCd":{"type":"string","description":"Event Target Classification Code (EV012)"},"attenCount":{"type":"integer","format":"int32","description":"Attendance Count"},"payPoint":{"type":"integer","format":"int32","description":"Points Awarded"},"winRnk":{"type":"integer","format":"int32","description":"Winning Rank"}}},"Response":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string","description":"field"},"message":{"type":"string","description":"field message"}}}}}}
```

## Process Event Entry

> \## Function Description\
> \* This is the basic API for event entry.\
> \---\
> \## Detailed Description\
> \* \`Drawing events\`: Purchaser drawing / simple click / survey / comment / roulette\
> \* \`Non-drawing events\`: Attendance check / purchase gift / coupon download\
> \
> \* For purchase gift / purchaser drawing events\
> &#x20;   \* Entry count - once per event period\
> &#x20;   \* Entry check - entry is only possible once the purchase amount meets the allocated amount\
> \
> \* For attendance check / coupon download / roulette events\
> &#x20;   \* Prize or mileage is granted immediately upon entry (winner)\
> \---\
> \## Revision History\
> \* Release v1.02\_231023 : Roulette event\
> \* Release v1.03\_231106 : Purchaser drawing event<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE Event API","version":"v1"},"servers":[{"url":"https://api-event.x2bee.com/api/event/","description":"prd"}],"paths":{"/v1/marketing/registerEvent":{"post":{"tags":["Event Entry"],"summary":"Process Event Entry","description":"## Function Description\n* This is the basic API for event entry.\n---\n## Detailed Description\n* `Drawing events`: Purchaser drawing / simple click / survey / comment / roulette\n* `Non-drawing events`: Attendance check / purchase gift / coupon download\n\n* For purchase gift / purchaser drawing events\n    * Entry count - once per event period\n    * Entry check - entry is only possible once the purchase amount meets the allocated amount\n\n* For attendance check / coupon download / roulette events\n    * Prize or mileage is granted immediately upon entry (winner)\n---\n## Revision History\n* Release v1.02_231023 : Roulette event\n* Release v1.03_231106 : Purchaser drawing event\n","operationId":"registerEvent","parameters":[{"name":"Authorization","in":"header","description":"Access Token","required":false}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventApplyRequest"}}},"required":true},"responses":{"200":{"description":"Event entry successful","content":{"*/*":{"schema":{"$ref":"#/components/schemas/EventEntryResponse"}}}},"900":{"description":"Event entry failed","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}},"components":{"schemas":{"EventApplyRequest":{"type":"object","properties":{"evtNo":{"type":"string","description":"Event No.","minLength":1},"evtSbscPathCd":{"type":"string","description":"Event Entry Path Code"},"evtTmplRelNo":{"type":"string","description":"Comment Template No."},"bbcNo":{"type":"string","description":"Comment No."},"bbcCont":{"type":"string","description":"Comment Content"},"evtFvrSeq":{"type":"string","description":"Event Benefit Sequence No."},"questAnsList":{"type":"array","description":"Survey List","items":{"$ref":"#/components/schemas/CcEvtQuestAnsInfo"}},"commentExists":{"type":"boolean"}},"required":["evtNo"]},"CcEvtQuestAnsInfo":{"type":"object","description":"Event Question and Answer Information","properties":{"evtNo":{"type":"string","description":"Event No."},"trgmnSeq":{"type":"string","description":"Target Sequence No."},"questNo":{"type":"string","description":"Question No."},"ansNo":{"type":"string","description":"Response No."},"questAnsCont":{"type":"string","description":"Question and Answer Content"},"cawrYn":{"type":"string","description":"Correct Answer Status"}}},"EventEntryResponse":{"type":"object","description":"Event Entry Response","properties":{"resultCd":{"type":"string","description":"Result Response Code"},"resultMsg":{"type":"string","description":"Result Response Message"},"evtTrgmnGbCd":{"type":"string","description":"Event Target Classification Code (EV012)"},"attenCount":{"type":"integer","format":"int32","description":"Attendance Count"},"payPoint":{"type":"integer","format":"int32","description":"Points Awarded"},"winRnk":{"type":"integer","format":"int32","description":"Winning Rank"}}},"Response":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string","description":"field"},"message":{"type":"string","description":"field message"}}}}}}
```

## Delete Event Comment

> \## Function Description\
> \* This is the basic API for deleting an event comment.\
> \---\
> \## Detailed Description\
> \* Login is required.\
> \* Only comments written by yourself can be deleted.\
> \* Deleting a comment also removes your entry history.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE Event API","version":"v1"},"servers":[{"url":"https://api-event.x2bee.com/api/event/","description":"prd"}],"paths":{"/v1/marketing/deleteEventEntryReply":{"post":{"tags":["Event Entry"],"summary":"Delete Event Comment","description":"## Function Description\n* This is the basic API for deleting an event comment.\n---\n## Detailed Description\n* Login is required.\n* Only comments written by yourself can be deleted.\n* Deleting a comment also removes your entry history.\n","operationId":"deleteEventEntryReply","parameters":[{"name":"Authorization","in":"header","description":"Access Token","required":false}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CcEvtBaseRequest"}}},"required":true},"responses":{"200":{"description":"Event comment deleted successfully","content":{"*/*":{"schema":{"$ref":"#/components/schemas/EventEntryResponse"}}}},"900":{"description":"Failed to delete event comment","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}},"components":{"schemas":{"CcEvtBaseRequest":{"type":"object","description":"Event Information Request","properties":{"periodGb":{"type":"string","description":"Period Search Type\n* `Start Date` : \"0\"<br/><br/>\n* `Deadline` : \"1\"<br/><br/>\n* `Drawing Date` : \"2\"<br/><br/>\n* `Shipping Date` : \"3\"<br/><br/>\n"},"startDate":{"type":"string","description":"Start Date"},"endDate":{"type":"string","description":"End Date"},"brandNo":{"type":"string","description":"Brand No."},"evtLgrpCd":{"type":"string","description":"Event Type Major Category Code (EV001)\n* `Drawing Event` : \"10\"<br/><br/>\n* `Non-Drawing Event` : \"20\"<br/><br/>\n"},"evtTyp":{"type":"string","description":"Event Type"},"evtNm":{"type":"string","description":"Event Name"},"evtNo":{"type":"string","description":"Event No."},"deptCd":{"type":"string","description":"Managing Department Code"},"aempId":{"type":"string","description":"Person in Charge ID"},"dispYn":{"type":"string","default":"Y","description":"Display Status"},"evtPrgsStat":{"type":"string","description":"Management Status (EV005)\n* `Temporarily Registered` : \"01\"<br/><br/>\n* `In Progress` : \"02\"<br/><br/>\n* `Awaiting Drawing` : \"03\"<br/><br/>\n* `Awaiting Announcement` : \"04\"<br/><br/>\n* `Tax Payment In Progress` : \"05\"<br/><br/>\n* `Awaiting Prize Shipment` : \"06\"<br/><br/>\n* `Prize Shipment Complete` : \"07\"<br/><br/>\n* `Awaiting Payment` : \"08\"<br/><br/>\n* `Payment Complete` : \"09\"<br/><br/>\n* `Suspended` : \"10\"<br/><br/>\n* `Event Ended` : \"11\"<br/><br/>\n"},"mbrNo":{"type":"string","description":"Member No."},"evtSbscPathCd":{"type":"string","description":"Event Entry Path Code"},"evtSbscAplyChkYn":{"type":"string","description":"Check Event Entry Eligibility"},"winRnk":{"type":"integer","format":"int32","description":"Winning Rank"},"evtTmplRelNo":{"type":"string","description":"Comment Template No."},"bbcNo":{"type":"string","description":"Comment No."},"bbcCont":{"type":"string","description":"Comment Content"},"dispMbrGrade":{"type":"string","description":"Display Membership Grade"},"evtStartEndTabGb":{"type":"string","description":"Event In Progress (01) & Ended (02) Classification"},"evtSortGb":{"type":"string","description":"Event Sort Type"},"uprFixYn":{"type":"string","description":"Pinned Status"},"myQuestViewYn":{"type":"string","description":"View My Participated Survey"},"evtObjCd":{"type":"string","description":"Event Purpose Code"},"questAnsList":{"type":"array","description":"Survey List","items":{"$ref":"#/components/schemas/CcEvtQuestAnsInfo"}},"quizAnsList":{"type":"array","description":"Quiz List","items":{"$ref":"#/components/schemas/CcEvtQuestAnsInfo"}},"previewDate":{"type":"string","description":"Preview"},"recentEvt":{"type":"string","description":"Latest Event"},"trgmnSeq":{"type":"string","description":"Target Sequence No."},"fixCnt":{"type":"integer","format":"int32","description":"Pinned Post Pagination Value"},"mdCd":{"type":"string","description":"Media Code"},"evtFvrSeq":{"type":"string","description":"Event Benefit Sequence No."},"sbscPsbMinOrdAmt":{"type":"integer","format":"int32","description":"Minimum Entry Eligible Amount"},"evtMgrpCd":{"type":"string","description":"Event Sub-Category Code (EV002)"},"searchWord":{"type":"string","description":"Search Term"}}},"CcEvtQuestAnsInfo":{"type":"object","description":"Event Question and Answer Information","properties":{"evtNo":{"type":"string","description":"Event No."},"trgmnSeq":{"type":"string","description":"Target Sequence No."},"questNo":{"type":"string","description":"Question No."},"ansNo":{"type":"string","description":"Response No."},"questAnsCont":{"type":"string","description":"Question and Answer Content"},"cawrYn":{"type":"string","description":"Correct Answer Status"}}},"EventEntryResponse":{"type":"object","description":"Event Entry Response","properties":{"resultCd":{"type":"string","description":"Result Response Code"},"resultMsg":{"type":"string","description":"Result Response Message"},"evtTrgmnGbCd":{"type":"string","description":"Event Target Classification Code (EV012)"},"attenCount":{"type":"integer","format":"int32","description":"Attendance Count"},"payPoint":{"type":"integer","format":"int32","description":"Points Awarded"},"winRnk":{"type":"integer","format":"int32","description":"Winning Rank"}}},"Response":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string","description":"field"},"message":{"type":"string","description":"field message"}}}}}}
```
