# 상담유형관리

## 상담유형관리 상담유형 등록/수정

> \## 기능설명\
> \* 상담유형관리 화면에서 신규 상담유형을 등록하거나 기존 상담유형을 수정 합니다.\
> \---\
> \## 상세설명\
> \* \[BO/CC] 고객서비스  > 센터 관리 > 상담유형 관리 > 신규 상담유형을 등록하거나 기존 상담유형을 수정할 때 호출되는 기능 입니다.\
> \* 신규 등록 데이터는 create 배열로 들어옵니다.\
> \* 수정 데이터는 update 배열로 들어옵니다.<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":{"RealGridCUDRequestConsultTypeCuRequest":{"type":"object","properties":{"all":{"type":"array","items":{"$ref":"#/components/schemas/ConsultTypeCuRequest"}},"create":{"type":"array","items":{"$ref":"#/components/schemas/ConsultTypeCuRequest"}},"update":{"type":"array","items":{"$ref":"#/components/schemas/ConsultTypeCuRequest"}},"delete":{"type":"array","items":{"$ref":"#/components/schemas/ConsultTypeCuRequest"}}}},"ConsultTypeCuRequest":{"type":"object","description":"상담유형 등록/수정 요청 DTO","properties":{"cnslTypNo":{"type":"string","description":"상담유형"},"cnslTypNm":{"type":"string","description":"상담유형명"},"useYn":{"type":"string","description":"사용여부"},"level":{"type":"integer","format":"int32","description":"레벨"},"sortSeq":{"type":"integer","format":"int32","description":"정렬순서"},"custCnslGbCd":{"type":"string","description":"상담구분코드"},"goodsSelMdtyYn":{"type":"string","description":"상품선택필수여부"},"respBaseMemo":{"type":"string","description":"응대기본메모"},"cnslLrgTypNo":{"type":"string","description":"상담대유형번호"},"cnslMidTypNo":{"type":"string","description":"상담중유형번호"},"cnslSmlTypNo":{"type":"string","description":"상담소유형번호"},"uprCnslTypNo":{"type":"string","description":"상위상담유형번호"},"respBaseMemoData":{"type":"string","description":"응대기본메모내용"}}},"ResponseString":{"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":{"type":"string","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"}}},"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"}}}}}},"paths":{"/v2/customerservice/counselingTypeMgmt/saveCounselingType":{"post":{"tags":["상담유형관리"],"summary":"상담유형관리 상담유형 등록/수정","description":"## 기능설명\n* 상담유형관리 화면에서 신규 상담유형을 등록하거나 기존 상담유형을 수정 합니다.\n---\n## 상세설명\n* [BO/CC] 고객서비스  > 센터 관리 > 상담유형 관리 > 신규 상담유형을 등록하거나 기존 상담유형을 수정할 때 호출되는 기능 입니다.\n* 신규 등록 데이터는 create 배열로 들어옵니다.\n* 수정 데이터는 update 배열로 들어옵니다.\n","operationId":"saveCounselingType","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RealGridCUDRequestConsultTypeCuRequest"}}},"required":true},"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseString"}}}},"900":{"description":"업무처리 오류 내용","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```

## 상담유형관리 1depth 하위 목록 조회

> \## 기능설명\
> \* 상담유형관리 화면에서 상담유형 1depth 하위 목록을 조회하는 기능 입니다.\
> \---\
> \## 상세설명\
> \* \[BO/CC] 고객서비스  > 센터 관리 > 상담유형 관리 > 상담유형 선택 시 하위 목록을 조회하기위해 호출되는 기능 입니다.\
> \* 선택한 상담유형에 속한 하위 상담유형을 모두 조회 합니다.\
> \* 조회된 데이터는 배열 형태로 노출 됩니다.<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":{"GetLowerCounselingTypeListRequest":{"type":"object","description":"상담유형관리 하위depth 조회 요청 DTO","properties":{"uprCnslTypNo":{"type":"string","description":"상위상담유형번호"}}},"RealGridListResponseCounselingTypeResponse":{"type":"object","properties":{"totalCount":{"type":"integer","format":"int32"},"payloads":{"type":"array","items":{"$ref":"#/components/schemas/CounselingTypeResponse"}}}},"CounselingTypeResponse":{"type":"object","properties":{"level":{"type":"integer","format":"int32","description":"level"},"cnslTypNo":{"type":"string","description":"상담유형번호"},"cnslTypNm":{"type":"string","description":"상담유형명"},"useYn":{"type":"string","description":"사용여부"},"sortSeq":{"type":"string","description":"정렬순서"},"custCnslGbCd":{"type":"string","description":"상담구분코드(CS001)"},"goodsSelMdtyYn":{"type":"string","description":"상품선택필수여부"},"respBaseMemo":{"type":"string","description":"응대기본메모"},"cnslLrgTypNo":{"type":"string","description":"상담대유형번호"},"cnslLrgTypNm":{"type":"string","description":"상담대유형명"},"cnslMidTypNo":{"type":"string","description":"상담중유형번호"},"cnslMidTypNm":{"type":"string","description":"상담중유형명"},"cnslSmlTypNo":{"type":"string","description":"상담소유형번호"},"cnslSmlTypNm":{"type":"string","description":"상담소유형명"},"uprCnslTypNo":{"type":"string","description":"상위상담유형번호"},"hierarchy":{"type":"string","description":"계층구조"},"hierarchyText":{"type":"string","description":"계층구조명"},"respBaseMemoData":{"type":"string","description":"응대기본메모내용"},"useCnt":{"type":"integer","format":"int32","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":{"/v2/customerservice/counselingTypeMgmt/getLowerCounselingTypeList":{"get":{"tags":["상담유형관리"],"summary":"상담유형관리 1depth 하위 목록 조회","description":"## 기능설명\n* 상담유형관리 화면에서 상담유형 1depth 하위 목록을 조회하는 기능 입니다.\n---\n## 상세설명\n* [BO/CC] 고객서비스  > 센터 관리 > 상담유형 관리 > 상담유형 선택 시 하위 목록을 조회하기위해 호출되는 기능 입니다.\n* 선택한 상담유형에 속한 하위 상담유형을 모두 조회 합니다.\n* 조회된 데이터는 배열 형태로 노출 됩니다.\n","operationId":"getLowerCounselingTypeList","parameters":[{"name":"request","in":"query","required":true,"schema":{"$ref":"#/components/schemas/GetLowerCounselingTypeListRequest"}},{"name":"uprCnslTypNo","in":"query","description":"상위상담유형번호","schema":{"type":"String"}}],"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/RealGridListResponseCounselingTypeResponse"}}}},"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":{"ResponseListCounselingTypeResponse":{"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":{"type":"array","description":"payload","items":{"$ref":"#/components/schemas/CounselingTypeResponse"}},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}},"CounselingTypeResponse":{"type":"object","properties":{"level":{"type":"integer","format":"int32","description":"level"},"cnslTypNo":{"type":"string","description":"상담유형번호"},"cnslTypNm":{"type":"string","description":"상담유형명"},"useYn":{"type":"string","description":"사용여부"},"sortSeq":{"type":"string","description":"정렬순서"},"custCnslGbCd":{"type":"string","description":"상담구분코드(CS001)"},"goodsSelMdtyYn":{"type":"string","description":"상품선택필수여부"},"respBaseMemo":{"type":"string","description":"응대기본메모"},"cnslLrgTypNo":{"type":"string","description":"상담대유형번호"},"cnslLrgTypNm":{"type":"string","description":"상담대유형명"},"cnslMidTypNo":{"type":"string","description":"상담중유형번호"},"cnslMidTypNm":{"type":"string","description":"상담중유형명"},"cnslSmlTypNo":{"type":"string","description":"상담소유형번호"},"cnslSmlTypNm":{"type":"string","description":"상담소유형명"},"uprCnslTypNo":{"type":"string","description":"상위상담유형번호"},"hierarchy":{"type":"string","description":"계층구조"},"hierarchyText":{"type":"string","description":"계층구조명"},"respBaseMemoData":{"type":"string","description":"응대기본메모내용"},"useCnt":{"type":"integer","format":"int32","description":"사용건수"}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string","description":"field"},"message":{"type":"string","description":"field message"}}},"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"}}}}}},"paths":{"/v2/customerservice/counselingTypeMgmt/getCounselingTypeNoList":{"get":{"tags":["상담유형관리"],"summary":"선택한 상담유형번호의 대/중/소 유형 조회","description":"## 기능설명\n* 선택한 상담유형번호에 해당하는 대/중/소 유형을 조회합니다.\n---\n## 상세설명\n* 선택한 상담유형에 해당하는 대/중/소 유형을 조회할 때 호출되는 기능 입니다.\n","operationId":"getCounselingTypeNoList","parameters":[{"name":"cnslTypNo","in":"query","description":"상담유형번호","required":false,"schema":{"type":"String"}}],"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseListCounselingTypeResponse"}}}},"900":{"description":"업무처리 오류 내용","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```

## 상담유형관리 목록 조회(Tree)

> \## 기능설명\
> \* 상담유형관리 화면에서 상담유형 목록을 Tree 형태로 조회하는 기능 입니다.\
> \---\
> \## 상세설명\
> \* \[BO/CC] 고객서비스  > 센터 관리 > 상담유형 관리 > 상담유형 목록 조회하는 화면 진입 시 호출되는 기능 입니다.\
> \* 등록된 상담유형을 모든 상담유형을 조회 합니다.\
> \* 조회된 상담유형은 상담유형 목록 레이아웃에 계층형 트리구조 형태로 노출 됩니다.<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":{"ResponseListCounselingTypeResponse":{"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":{"type":"array","description":"payload","items":{"$ref":"#/components/schemas/CounselingTypeResponse"}},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}},"CounselingTypeResponse":{"type":"object","properties":{"level":{"type":"integer","format":"int32","description":"level"},"cnslTypNo":{"type":"string","description":"상담유형번호"},"cnslTypNm":{"type":"string","description":"상담유형명"},"useYn":{"type":"string","description":"사용여부"},"sortSeq":{"type":"string","description":"정렬순서"},"custCnslGbCd":{"type":"string","description":"상담구분코드(CS001)"},"goodsSelMdtyYn":{"type":"string","description":"상품선택필수여부"},"respBaseMemo":{"type":"string","description":"응대기본메모"},"cnslLrgTypNo":{"type":"string","description":"상담대유형번호"},"cnslLrgTypNm":{"type":"string","description":"상담대유형명"},"cnslMidTypNo":{"type":"string","description":"상담중유형번호"},"cnslMidTypNm":{"type":"string","description":"상담중유형명"},"cnslSmlTypNo":{"type":"string","description":"상담소유형번호"},"cnslSmlTypNm":{"type":"string","description":"상담소유형명"},"uprCnslTypNo":{"type":"string","description":"상위상담유형번호"},"hierarchy":{"type":"string","description":"계층구조"},"hierarchyText":{"type":"string","description":"계층구조명"},"respBaseMemoData":{"type":"string","description":"응대기본메모내용"},"useCnt":{"type":"integer","format":"int32","description":"사용건수"}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string","description":"field"},"message":{"type":"string","description":"field message"}}},"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"}}}}}},"paths":{"/v2/customerservice/counselingTypeMgmt/getCounselingTypeList":{"get":{"tags":["상담유형관리"],"summary":"상담유형관리 목록 조회(Tree)","description":"## 기능설명\n* 상담유형관리 화면에서 상담유형 목록을 Tree 형태로 조회하는 기능 입니다.\n---\n## 상세설명\n* [BO/CC] 고객서비스  > 센터 관리 > 상담유형 관리 > 상담유형 목록 조회하는 화면 진입 시 호출되는 기능 입니다.\n* 등록된 상담유형을 모든 상담유형을 조회 합니다.\n* 조회된 상담유형은 상담유형 목록 레이아웃에 계층형 트리구조 형태로 노출 됩니다.\n","operationId":"getCounselingTypeList","responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseListCounselingTypeResponse"}}}},"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":{"CounselingTypePopupRequest":{"type":"object","description":"상담유형 조회 요청 DTO","properties":{"cnslTypNm":{"type":"string","description":"상담유형명"},"custCnslGbCd":{"type":"string","description":"상담구분코드(CS001)"},"cnslLrgTypNo":{"type":"string","description":"상담대유형번호"},"cnslMidTypNo":{"type":"string","description":"상담중유형번호"},"cnslSmlTypNo":{"type":"string","description":"상담소유형번호"},"rootCnslTypNo":{"type":"string","description":"최상위상담유형"}}},"RealGridListResponseCounselingTypeResponse":{"type":"object","properties":{"totalCount":{"type":"integer","format":"int32"},"payloads":{"type":"array","items":{"$ref":"#/components/schemas/CounselingTypeResponse"}}}},"CounselingTypeResponse":{"type":"object","properties":{"level":{"type":"integer","format":"int32","description":"level"},"cnslTypNo":{"type":"string","description":"상담유형번호"},"cnslTypNm":{"type":"string","description":"상담유형명"},"useYn":{"type":"string","description":"사용여부"},"sortSeq":{"type":"string","description":"정렬순서"},"custCnslGbCd":{"type":"string","description":"상담구분코드(CS001)"},"goodsSelMdtyYn":{"type":"string","description":"상품선택필수여부"},"respBaseMemo":{"type":"string","description":"응대기본메모"},"cnslLrgTypNo":{"type":"string","description":"상담대유형번호"},"cnslLrgTypNm":{"type":"string","description":"상담대유형명"},"cnslMidTypNo":{"type":"string","description":"상담중유형번호"},"cnslMidTypNm":{"type":"string","description":"상담중유형명"},"cnslSmlTypNo":{"type":"string","description":"상담소유형번호"},"cnslSmlTypNm":{"type":"string","description":"상담소유형명"},"uprCnslTypNo":{"type":"string","description":"상위상담유형번호"},"hierarchy":{"type":"string","description":"계층구조"},"hierarchyText":{"type":"string","description":"계층구조명"},"respBaseMemoData":{"type":"string","description":"응대기본메모내용"},"useCnt":{"type":"integer","format":"int32","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":{"/v2/customerservice/counselingTypeMgmt/getCounselingTypeListPopup":{"get":{"tags":["상담유형관리"],"summary":"상담유형 조회","description":"## 기능설명\n* 상담유형조회 공통 팝업에서 사용되는 상담유형을 조회 합니다.\n---\n## 상세설명\n* 상담유형조회 공통 팝업에서 상담유형을 조회할 때 사용 합니다.\n","operationId":"getCounselingTypeListPopup","parameters":[{"name":"counselingTypePopupRequest","in":"query","required":true,"schema":{"$ref":"#/components/schemas/CounselingTypePopupRequest"}}],"responses":{"200":{"description":"성공","content":{"*/*":{"schema":{"$ref":"#/components/schemas/RealGridListResponseCounselingTypeResponse"}}}},"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/cs-bo-api/undefined-6.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.
