> 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-guide/api-guides-en/back-office/marketing-bo/event-template-management.md).

# Event Template Management

Created by X2BEE Admin, last modified on 2024-01-05

Provides the ability to efficiently look up event templates using various search conditions in the shopping mall, and to register/edit/delete them. Templates are used to preset an event's basic structure and detail information in advance, improving user convenience.

***

## Key Features

* **Event Template Inquiry**
  * Look up event templates by setting the usage status, template number/name, and template description.
* **Event Template Registration**
  * Register a new event template.
  * The template number is automatically assigned, and the basic and detail information are entered to complete registration.
* **Event Template Editing**
  * Edit an existing event template.
  * When editing the detail information, the existing information is deleted and new information is registered.
* **Event Template Deletion**
  * Delete a selected event template.
  * Select the template in the grid to delete it.

## Process Definition

<figure><img src="https://2999922013-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXTxKSWMmuxEkop1pvuwe%2Fuploads%2FesLMANDfI8IH408KMp6O%2F%E1%84%8B%E1%85%B5%E1%84%87%E1%85%A6%E1%86%AB%E1%84%90%E1%85%B3%20%E1%84%90%E1%85%A6%E1%86%B7%E1%84%91%E1%85%B3%E1%86%AF%E1%84%85%E1%85%B5%E1%86%BA%20%E1%84%80%E1%85%AA%E1%86%AB%E1%84%85%E1%85%B5.png?alt=media&#x26;token=fb47b429-4a3d-4bf5-be53-73039e693f68" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}

### Event Template List Inquiry

Looks up the event template list and count by setting conditions.
{% endstep %}

{% step %}

### Event Template Registration

When a template is registered, a new template number is assigned, and the template base information and template detail information are registered based on that template number.
{% endstep %}

{% step %}

### Event Template Inquiry

Looks up the template basic information and detail information by template number and calls the detail popup.
{% endstep %}

{% step %}

### Event Template Editing

When you edit the basic information in the template detail popup, the template base is updated; when you edit the detail information, all existing detail information is deleted and newly registered from scratch.
{% endstep %}

{% step %}

### Event Template Deletion

After marking a row as deleted in the template grid list and saving, the event template is deleted.
{% endstep %}
{% endstepper %}

## API Function List

<table><thead><tr><th width="127.888916015625">API</th><th width="285">Description</th><th width="92.4444580078125">Server</th><th width="93.5555419921875">Method</th><th>Notes</th></tr></thead><tbody><tr><td>Event Template Grid Save</td><td>Saves the event template grid.</td><td>BO</td><td>POST</td><td><a href="https://apibo.x2bee.com/content?bo=marketing&#x26;depth=%EC%9D%B4%EB%B2%A4%ED%8A%B8%20%ED%85%9C%ED%94%8C%EB%A6%BF%20%EA%B4%80%EB%A6%AC&#x26;path=saveEventTemplateGrid">🔗View API ></a></td></tr><tr><td>Event Template Detail Registration</td><td>Registers the event template detail.</td><td>BO</td><td>POST</td><td><a href="https://apibo.x2bee.com/content?bo=marketing&#x26;depth=%EC%9D%B4%EB%B2%A4%ED%8A%B8%20%ED%85%9C%ED%94%8C%EB%A6%BF%20%EA%B4%80%EB%A6%AC&#x26;path=saveEventTemplateDtlInfo">🔗View API ></a></td></tr><tr><td>Event Template Base Registration</td><td>Registers the event template base.</td><td>BO</td><td>POST</td><td><a href="https://apibo.x2bee.com/content?bo=marketing&#x26;depth=%EC%9D%B4%EB%B2%A4%ED%8A%B8%20%ED%85%9C%ED%94%8C%EB%A6%BF%20%EA%B4%80%EB%A6%AC&#x26;path=saveEventTemplateBase">🔗View API ></a></td></tr><tr><td>Registered Event Template List Inquiry</td><td>Looks up the registered event template list.</td><td>BO</td><td>POST</td><td><a href="https://apibo.x2bee.com/content?bo=marketing&#x26;depth=%EC%9D%B4%EB%B2%A4%ED%8A%B8%20%ED%85%9C%ED%94%8C%EB%A6%BF%20%EA%B4%80%EB%A6%AC&#x26;path=getTemplateListapibo.x2bee.com/content?bo=marketing&#x26;depth=%EC%9D%B4%EB%B2%A4%ED%8A%B8%20%ED%85%9C%ED%94%8C%EB%A6%BF%20%EA%B4%80%EB%A6%AC&#x26;path=saveEventTemplateBase">🔗View API ></a></td></tr><tr><td>Registered Event Template List Count Inquiry</td><td>Looks up the registered event template list count.</td><td>BO</td><td>POST</td><td><a href="https://apibo.x2bee.com/content?bo=marketing&#x26;depth=%EC%9D%B4%EB%B2%A4%ED%8A%B8%20%ED%85%9C%ED%94%8C%EB%A6%BF%20%EA%B4%80%EB%A6%AC&#x26;path=getTemplateListCount">🔗View API ></a></td></tr><tr><td>Event Template Sequence Assignment</td><td>Assigns the event template sequence.</td><td>BO</td><td>GET</td><td><a href="https://apibo.x2bee.com/content?bo=marketing&#x26;depth=%EC%9D%B4%EB%B2%A4%ED%8A%B8%20%ED%85%9C%ED%94%8C%EB%A6%BF%20%EA%B4%80%EB%A6%AC&#x26;path=getTmplNo">🔗View API ></a></td></tr><tr><td>Event Template Edit Inquiry</td><td>Looks up an event template for editing.</td><td>BO</td><td>GET</td><td><a href="https://apibo.x2bee.com/content?bo=marketing&#x26;depth=%EC%9D%B4%EB%B2%A4%ED%8A%B8%20%ED%85%9C%ED%94%8C%EB%A6%BF%20%EA%B4%80%EB%A6%AC&#x26;path=getTmplInfo">🔗View API ></a></td></tr><tr><td>Event Template Detail Data Deletion on Edit</td><td>Deletes the detail data when editing an event template.</td><td>BO</td><td>GET</td><td><a href="https://apibo.x2bee.com/content?bo=marketing&#x26;depth=%EC%9D%B4%EB%B2%A4%ED%8A%B8%20%ED%85%9C%ED%94%8C%EB%A6%BF%20%EA%B4%80%EB%A6%AC&#x26;path=deleteEventTemplateDtlInfo">🔗View API ></a></td></tr></tbody></table>

## Terminology

<table><thead><tr><th width="131.7777099609375">Term</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>Display Period</td><td>The period during which the event is displayed in the event list. Once the display period for an event has ended, you can no longer access its detail.</td><td></td></tr><tr><td>Entry Period<br>(Event Period)</td><td>The period during which entries to the event are accepted</td><td></td></tr><tr><td>Drawing Event</td><td>An event in which winners are determined through a drawing</td><td></td></tr><tr><td>Non-Drawing Event</td><td>An event with immediate payout, or with no reward, instead of a drawing</td><td></td></tr></tbody></table>
