# 이벤트 템플릿 관리

## 등록된 이벤트 템플릿 목록 조회

> \## 기능 설명\
> \* 등록된 이벤트 템플릿 목록을 조회합니다.\
> \---\
> \## 상세 설명\
> \* 필수값은 없습니다.\
> \* \*\*사용여부(tmplUseYn) , 템플릿번호/명(tmplNo) , 템플릿설명(tmplDtlCont)\*\*\
> \* 위 파라미터로 넘겨받아 조건에 해당하는 데이터를 조회 합니다.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE BO API","version":"v1"},"servers":[{"url":"https://api-bo.x2bee.com/api/bo/","description":"prd"}],"security":[{"accessToken":[]}],"components":{"securitySchemes":{"accessToken":{"type":"http","name":"accessToken","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"CcEvtTmplBaseRequest":{"type":"object","properties":{"tmplNo":{"type":"string","description":"템플릿번호"},"tmplNm":{"type":"string","description":"템플릿명"},"tmplUseYn":{"type":"string","description":"템플릿사용여부"},"tmplDtlCont":{"type":"string","description":"템플릿상세내용"}}},"RealGridListResponseCcEvtTmplBaseResponse":{"type":"object","properties":{"totalCount":{"type":"integer","format":"int32"},"payloads":{"type":"array","items":{"$ref":"#/components/schemas/CcEvtTmplBaseResponse"}}}},"CcEvtTmplBaseResponse":{"type":"object","properties":{"tmplNo":{"type":"string","description":"템플릿번호"},"tmplNm":{"type":"string","description":"템플릿명"},"tmplUseYn":{"type":"string","description":"템플릿사용여부"},"tmplDtlCont":{"type":"string","description":"템플릿상세내용"},"tmplDtlInfoList":{"type":"array","description":"템플릿 상세정보 LIST","items":{"$ref":"#/components/schemas/CcEvtTmplDtlInfoResponse"}}}},"CcEvtTmplDtlInfoResponse":{"type":"object","properties":{"tmplNo":{"type":"string","description":"템플릿번호"},"tmplDtlGbCd":{"type":"string","description":"템플릿상세구분코드(EV014)","enum":["FREE_COMPOSITION","NOTICE_BOARD","FAQ"]},"tmplDtlSeq":{"type":"string","description":"템플릿상세순번"},"tmplDtlCmpsCd":{"type":"string","description":"템플릿상세구성코드(EV016)","enum":["HTML","ONE_LINE","ATTENDANCE","FAQ","POST","POST_COMMENT","POST_IMAGE","POST_COMMENT_IMAGE"]},"tmplPrioRnk":{"type":"string","description":"템플릿우선순위"},"htmlFileCont":{"type":"string","description":"HTML파일내용"},"pcHtmlFileCont":{"type":"string","description":"HTML파일내용_PC용"}}},"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"}}}}},"paths":{"/v2/marketing/eventTemplateMgmt/getTemplateList":{"post":{"tags":["이벤트 템플릿 관리"],"summary":"등록된 이벤트 템플릿 목록 조회","description":"## 기능 설명\n* 등록된 이벤트 템플릿 목록을 조회합니다.\n---\n## 상세 설명\n* 필수값은 없습니다.\n* **사용여부(tmplUseYn) , 템플릿번호/명(tmplNo) , 템플릿설명(tmplDtlCont)**\n* 위 파라미터로 넘겨받아 조건에 해당하는 데이터를 조회 합니다.\n","operationId":"getTemplateList","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CcEvtTmplBaseRequest"}}},"required":true},"responses":{"200":{"description":"템플릿 목록 조회 성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/RealGridListResponseCcEvtTmplBaseResponse"}}}},"900":{"description":"템플릿 목록 조회 실패","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```

## 이벤트 템플릿 그리드 저장

> \## 기능 설명\
> \* 이벤트 템플릿 그리드를 저장합니다.\
> \---\
> \## 상세 설명\
> \* \*\*템플릿번호(tmplNo)\*\*는 필수로 있어야 합니다.\
> \* 행삭제 체크된 row 를 저장합니다(row 삭제 기능).<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE BO API","version":"v1"},"servers":[{"url":"https://api-bo.x2bee.com/api/bo/","description":"prd"}],"security":[{"accessToken":[]}],"components":{"securitySchemes":{"accessToken":{"type":"http","name":"accessToken","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"RealGridCUDRequestCcEvtTmplBase":{"type":"object","properties":{"all":{"type":"array","items":{"$ref":"#/components/schemas/CcEvtTmplBase"}},"create":{"type":"array","items":{"$ref":"#/components/schemas/CcEvtTmplBase"}},"update":{"type":"array","items":{"$ref":"#/components/schemas/CcEvtTmplBase"}},"delete":{"type":"array","items":{"$ref":"#/components/schemas/CcEvtTmplBase"}}}},"CcEvtTmplBase":{"type":"object","properties":{"tmplNo":{"type":"string","description":"템플릿번호"},"tmplNm":{"type":"string","description":"템플릿명"},"tmplUseYn":{"type":"string","description":"템플릿사용여부"},"tmplDtlCont":{"type":"string","description":"템플릿상세내용"},"updateFlag":{"type":"string","description":"수정시 사용 컬럼"}}},"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"}}}}},"paths":{"/v1/marketing/eventTemplateMgmt/saveEventTemplateGrid":{"post":{"tags":["이벤트 템플릿 관리"],"summary":"이벤트 템플릿 그리드 저장","description":"## 기능 설명\n* 이벤트 템플릿 그리드를 저장합니다.\n---\n## 상세 설명\n* **템플릿번호(tmplNo)**는 필수로 있어야 합니다.\n* 행삭제 체크된 row 를 저장합니다(row 삭제 기능).\n","operationId":"saveEventTemplateGrid","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealGridCUDRequestCcEvtTmplBase"}}},"required":true},"responses":{"200":{"description":"템플릿 그리드 저장 성공","content":{"*/*":{"schema":{"type":"string"}}}},"900":{"description":"템플릿 그리드 저장 실패","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```

## 이벤트 템플릿 상세 등록

> \## 기능 설명\
> \* 이벤트 템플릿 상세를 등록합니다.\
> \---\
> \## 상세 내용\
> \* \*\*템플릿번호(tmplNo) , 템플릿상세구분코드(EV014)(tmplDtlGbCd) , 템플릿상세순번(tmplDtlSeq) , 템플릿상세구성코드(EV016)(tmplDtlCmpsCd) , 템플릿우선순위(tmplPrioRnk)\*\*은 필수로 있어야 합니다.\
> \* 기존 템플릿을 수정하거나 , 신규 템플릿 베이스를 등록합니다.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE BO API","version":"v1"},"servers":[{"url":"https://api-bo.x2bee.com/api/bo/","description":"prd"}],"security":[{"accessToken":[]}],"components":{"securitySchemes":{"accessToken":{"type":"http","name":"accessToken","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"CcEvtTmplDtlInfo":{"type":"object","properties":{"tmplNo":{"type":"string","description":"템플릿번호"},"tmplDtlGbCd":{"type":"string","description":"템플릿상세구분코드(EV014)","enum":["FREE_COMPOSITION","NOTICE_BOARD","FAQ"]},"tmplDtlSeq":{"type":"string","description":"템플릿상세순번"},"tmplDtlCmpsCd":{"type":"string","description":"템플릿상세구성코드(EV016 11:HTML에디터,21:한줄댓글,22:출석체크,23:FAQ,24:게시글,25:게시글+댓글,26:게시글+이미지,27:게시글+댓글+이미지)"},"tmplPrioRnk":{"type":"integer","format":"int32","description":"템플릿우선순위"},"htmlFileCont":{"type":"string","description":"HTML파일내용"},"pcHtmlFileCont":{"type":"string","description":"HTML파일내용_PC용"}}},"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"}}}}},"paths":{"/v1/marketing/eventTemplateMgmt/saveEventTemplateDtlInfo":{"post":{"tags":["이벤트 템플릿 관리"],"summary":"이벤트 템플릿 상세 등록","description":"## 기능 설명\n* 이벤트 템플릿 상세를 등록합니다.\n---\n## 상세 내용\n* **템플릿번호(tmplNo) , 템플릿상세구분코드(EV014)(tmplDtlGbCd) , 템플릿상세순번(tmplDtlSeq) , 템플릿상세구성코드(EV016)(tmplDtlCmpsCd) , 템플릿우선순위(tmplPrioRnk)**은 필수로 있어야 합니다.\n* 기존 템플릿을 수정하거나 , 신규 템플릿 베이스를 등록합니다.\n","operationId":"saveEventTemplateDtlInfo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CcEvtTmplDtlInfo"}}},"required":true},"responses":{"200":{"description":"템플릿 상세 등록 성공","content":{"*/*":{"schema":{"type":"string"}}}},"900":{"description":"템플릿 상세 등록 실패","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```

## 이벤트 템플릿 베이스 등록

> \## 기능 설명\
> \* 이벤트 템플릿 베이스를 등록합니다.\
> \---\
> \## 상세 설명\
> \* \*\*템플릿번호(tmplNo) , 템플릿이름(tmplNm) , 사용여부(tmplUseYn) , 상세내용(tmplDtlCont)\*\*은 필수로 있어야 합니다.\
> \* 기존 템플릿을 수정하거나 , 신규 템플릿 베이스를 등록합니다.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE BO API","version":"v1"},"servers":[{"url":"https://api-bo.x2bee.com/api/bo/","description":"prd"}],"security":[{"accessToken":[]}],"components":{"securitySchemes":{"accessToken":{"type":"http","name":"accessToken","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"CcEvtTmplBase":{"type":"object","properties":{"tmplNo":{"type":"string","description":"템플릿번호"},"tmplNm":{"type":"string","description":"템플릿명"},"tmplUseYn":{"type":"string","description":"템플릿사용여부"},"tmplDtlCont":{"type":"string","description":"템플릿상세내용"},"updateFlag":{"type":"string","description":"수정시 사용 컬럼"}}},"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"}}}}},"paths":{"/v1/marketing/eventTemplateMgmt/saveEventTemplateBase":{"post":{"tags":["이벤트 템플릿 관리"],"summary":"이벤트 템플릿 베이스 등록","description":"## 기능 설명\n* 이벤트 템플릿 베이스를 등록합니다.\n---\n## 상세 설명\n* **템플릿번호(tmplNo) , 템플릿이름(tmplNm) , 사용여부(tmplUseYn) , 상세내용(tmplDtlCont)**은 필수로 있어야 합니다.\n* 기존 템플릿을 수정하거나 , 신규 템플릿 베이스를 등록합니다.\n","operationId":"saveEventTemplateBase","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CcEvtTmplBase"}}},"required":true},"responses":{"200":{"description":"템플릿 베이스 등록 성공","content":{"*/*":{"schema":{"type":"string"}}}},"900":{"description":"템플릿 베이스 등록 실패","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```

## 이벤트 템플릿 시퀀스 채번

> \## 기능 설명\
> \* 이벤트 템플릿 시퀀스를 채번합니다.\
> \---\
> \## 상세 설명\
> \* 필수값 없습니다.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE BO API","version":"v1"},"servers":[{"url":"https://api-bo.x2bee.com/api/bo/","description":"prd"}],"security":[{"accessToken":[]}],"components":{"securitySchemes":{"accessToken":{"type":"http","name":"accessToken","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"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"}}}}},"paths":{"/v1/marketing/eventTemplateMgmt/getTmplNo":{"get":{"tags":["이벤트 템플릿 관리"],"summary":"이벤트 템플릿 시퀀스 채번","description":"## 기능 설명\n* 이벤트 템플릿 시퀀스를 채번합니다.\n---\n## 상세 설명\n* 필수값 없습니다.\n","operationId":"getTmplNo","responses":{"200":{"description":"템플릿 시퀀스 채번 성공","content":{"*/*":{"schema":{"type":"integer","format":"int32"}}}},"900":{"description":"템플릿 시퀀스 채번 실패","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```

## 이벤트 템플릿 수정용 조회

> \## 기능 설명\
> \* 이벤트 템플릿 수정용 조회합니다.\
> \---\
> \## 상세 설명\
> \* \*\*템플릿번호(tmplNo)\*\*는 필수로 있어야 합니다.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE BO API","version":"v1"},"servers":[{"url":"https://api-bo.x2bee.com/api/bo/","description":"prd"}],"security":[{"accessToken":[]}],"components":{"securitySchemes":{"accessToken":{"type":"http","name":"accessToken","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"CcEvtTmplBaseResponse":{"type":"object","properties":{"tmplNo":{"type":"string","description":"템플릿번호"},"tmplNm":{"type":"string","description":"템플릿명"},"tmplUseYn":{"type":"string","description":"템플릿사용여부"},"tmplDtlCont":{"type":"string","description":"템플릿상세내용"},"tmplDtlInfoList":{"type":"array","description":"템플릿 상세정보 LIST","items":{"$ref":"#/components/schemas/CcEvtTmplDtlInfoResponse"}}}},"CcEvtTmplDtlInfoResponse":{"type":"object","properties":{"tmplNo":{"type":"string","description":"템플릿번호"},"tmplDtlGbCd":{"type":"string","description":"템플릿상세구분코드(EV014)","enum":["FREE_COMPOSITION","NOTICE_BOARD","FAQ"]},"tmplDtlSeq":{"type":"string","description":"템플릿상세순번"},"tmplDtlCmpsCd":{"type":"string","description":"템플릿상세구성코드(EV016)","enum":["HTML","ONE_LINE","ATTENDANCE","FAQ","POST","POST_COMMENT","POST_IMAGE","POST_COMMENT_IMAGE"]},"tmplPrioRnk":{"type":"string","description":"템플릿우선순위"},"htmlFileCont":{"type":"string","description":"HTML파일내용"},"pcHtmlFileCont":{"type":"string","description":"HTML파일내용_PC용"}}},"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"}}}}},"paths":{"/v1/marketing/eventTemplateMgmt/getTmplInfo":{"get":{"tags":["이벤트 템플릿 관리"],"summary":"이벤트 템플릿 수정용 조회","description":"## 기능 설명\n* 이벤트 템플릿 수정용 조회합니다.\n---\n## 상세 설명\n* **템플릿번호(tmplNo)**는 필수로 있어야 합니다.\n","operationId":"getTmplInfo","parameters":[{"name":"tmplNo","in":"query","description":"템플릿번호","required":true,"schema":{"type":"String"}}],"responses":{"200":{"description":"템플릿 수정용 조회 성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CcEvtTmplBaseResponse"}}}},"900":{"description":"템플릿 수정용 조회 실패","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```

## 이벤트 템플릿 수정시 상세 데이터 삭제

> \## 기능 설명\
> \* 이벤트 템플릿 수정시 상세 데이터를 삭제합니다.\
> \---\
> \## 상세 설명\
> \* \*\*템플릿번호(tmplNo)\*\*는 필수로 있어야 합니다.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE BO API","version":"v1"},"servers":[{"url":"https://api-bo.x2bee.com/api/bo/","description":"prd"}],"security":[{"accessToken":[]}],"components":{"securitySchemes":{"accessToken":{"type":"http","name":"accessToken","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"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"}}}}},"paths":{"/v1/marketing/eventTemplateMgmt/deleteEventTemplateDtlInfo":{"get":{"tags":["이벤트 템플릿 관리"],"summary":"이벤트 템플릿 수정시 상세 데이터 삭제","description":"## 기능 설명\n* 이벤트 템플릿 수정시 상세 데이터를 삭제합니다.\n---\n## 상세 설명\n* **템플릿번호(tmplNo)**는 필수로 있어야 합니다.\n","operationId":"deleteEventTemplateDtlInfo","parameters":[{"name":"tmplNo","in":"query","description":"템플릿번호","required":true,"schema":{"type":"String"}}],"responses":{"200":{"description":"상세 데이터 삭제 성공","content":{"*/*":{"schema":{"type":"string"}}}},"900":{"description":"상세 데이터 삭제 실패","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tech.x2bee.com/api/back-office-api/marketing-bo-api/undefined-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
