Inquiry History
➊ List of customer tickets
This API retrieves the list of tickets submitted by a customer.
The product system must provide the ID (userCode) as a required path parameter.
The API returns the list of tickets associated with the specified user ID.
(1) Interface Description
URL: https://{domain}.oc.nhncloud.com/{serviceId}/openapi/v1/ticket/enduser/{usercode}/list.json
URL(Beta Test Environment) : https://{domain}.oc.beta-nhncloud.com/{serviceId}/openapi/v1/ticket/enduser/{usercode}/list.json
URL(Development Test Environment) : https://{domain}.oc.alpha-nhncloud.com/{serviceId}/openapi/v1/ticket/enduser/{usercode}/list.json
List of customer tickets
HTTPS
GET
UTF-8
JSON
검색 조건을 통해 조건에 맞는 고객의 티켓 리스트 노출
Common Authentication
(2) Request Parameter
Service ID
serviceId
String
path
O
Service ID configured in the URL path
Usercode
usercode
String
path
O
Usercode(Unique) configured in the URL path
Category ID
categoryId
Integer
query
X
Category(Submission type) ID
Ticket status
status
String
query
X
Ticket Status
(new: Unassigned, open: In progress, reply: Pending, solved: Solved, closed: Closed)
Language
language
String
query
X
Default helpcenter language of the service
Channel
source
String
query
X
문의 채널(web: PC웹, spweb: 모바일 웹, api: API. 복수의 채널 조회 시 콤마로 구분하여 사용(예: web,spweb,api). 기본 값은 web,spweb,api
Sort order
sort
String
query
X
정렬 순서(기본값: updatedDt:desc; 정렬 형식: 오름차순:asc, 내림차순:desc)
Page
page
Integer
query
X
Default value: 1
Items per page
pageSize
Integer
query
X
Default value: 10; max=200
(3) Response data
result.contents
ticketId
String
Ticket ID
subject
String
Ticket title
categoryId
Integer
Submission type ID
categoryName
String
Submission type Name
categoryFullName
String
Submission type depth (Each depth is separated by the “>” symbol.)
status
String
Ticket Status
(new: Unassigned, open: In progress, reply: Pending, solved: Solved, closed: Closed)
statusName
String
Ticket status name
createdDt
Long
Created date
updatedDt
Long
Updated date
displayDt
String
Displayed date (yyyy.MM.dd)
result
total
Integer
Total
pages
Integer
Total pages
pageNum
Integer
Current page
pageSize
Integer
Items per page
(4) Response Body
➋ Ticket Details
This API retrieves detailed information for the selected ticket, including the inquiry content and processing details.
You must provide the ticket ID (ticketId) of the ticket selected from the ➊ List of Customer tickets. The API then returns the detailed information for the specified ticket.
(1) Interface description
URL: https://{domain}.oc.nhncloud.com/{serviceId}/openapi/v1/ticket/enduser/{usercode}/{ticketId}/detail.json
URL(Beta Test Environment) : https://{domain}.oc.beta-nhncloud.com/{serviceId}/openapi/v1/ticket/enduser/{usercode}/{ticketId}/detail.json
URL(Development Test Environment) : https://{domain}.oc.alpha-nhncloud.com/{serviceId}/openapi/v1/ticket/enduser/{usercode}/{ticketId}/detail.json
Ticket details
HTTPS
GET
UTF-8
JSON
Retrieves detailed information for the ticket
Common Authentication
(2) Request parameter
Service ID
serviceId
String
path
O
Service ID configured in the URL path
ID
usercode
String
path
O
User ID (User unique ID
Ticket ID
ticketId
String
path
O
Ticket ID
Language
language
String
query
X
Default helpcenter language of the service
(3) Response data
result.content
ticketId
String
Ticket ID
subject
String
Service ID
categoryId
Integer
Category(Submission type) ID
categoryName
String
Category name
categoryFullName
String
Category depth (Each depth is separated by the “>” symbol.)
status
String
Ticket status
(new: Unassigned, open: In progress, reply: Pending, solved: Solved, closed: Closed)
statusName
String
Ticket status name
content
String
Contents
createdDt
Long
Created date
updatedDt
Long
Updated date
contents
Array
티켓 상세 내용
contents.content
String
내용 상세
contents.type
String
문의 유형. enduser: 문의(접수 완료), csuser: 답변(접수 완료)
contents.typeName
String
내용 유형 명
contents.createdDt
Long
티켓 처리 시간
contents.displayDt
String
내용 노출 시간(yyyy.MM.dd)
contents.attachments
Array
티켓 처리 내용 첨부파일
contents.attachments.attachmentId
String
티켓 처리 내용 첨부파일 ID
contents.attachments.fileName
String
티켓 처리 내용 첨부파일 명
contents.attachments.contentType
String
티켓 처리 내용 첨부파일 유형
contents.attachments.disposition
String
티켓 처리 내용 첨부파일 처리 방식(attachment: 첨부파일)
contents.attachments.size
Long
티켓 처리 내용 첨부파일 사이즈
contents.attachments.createdDt
Long
티켓 처리 내용 첨부파일 업로드 시간
attachments
Array
티켓 문의 첨부파일
attachments.attachmentId
String
티켓 문의 첨부파일 ID
attachments.fileName
String
티켓 문의 첨부파일 명
attachments.contentType
String
티켓 문의 첨부파일 유형
attachments.disposition
String
티켓 문의 첨부파일 처리 방식(attachment: 첨부파일)
attachments.size
Long
티켓 문의 첨부파일 사이즈
attachments.createdDt
Long
티켓 문의 첨부파일 업로드 시간
displayDt
String
노출 시간(yyyy.MM.dd)
result
total
Integer
총 건수
pages
Integer
총 페이지 수
pageNum
Integer
페이지
pageSize
Integer
페이지 당 건수
(4) Response Body
➌ 티켓 첨부파일
티켓에 첨부파일이 있을 경우, 열기 및 다운로드할 수 있는 API 입니다.
➋ 티켓 상세에서 반환된 첨부파일 ID(attachmentId)를 필수로 제공해야 합니다.
(1) 인터페이스 설명
URL: https://{domain}.oc.nhncloud.com/{serviceId}/api/v2/ticket/attachments/{id}
URL (생산 테스트 환경) : https://{domain}.oc.beta-nhncloud.com/{serviceId}/api/v2/ticket/attachments/{id}
URL (개발 테스트 환경) : https://{domain}.oc.alpha-nhncloud.com/{serviceId}/api/v2/ticket/attachments/{id}
티켓 첨부파일 열기 및 다운로드
HTTPS
GET
UTF-8
JSON
티켓 첨부파일 열기/다운로드
필요 없음
(2) 요청 파라미터 정의
서비스 ID
serviceId
String
path
O
URL PATH 내에 설정한 {serviceId}
첨부한 파일 ID
id
String
path
O
첨부파일 ID, URL PATH 내에 설정한 {id}
처리방식
type
String
query
X
기본 값은 브라우저로 열기(download: 다운로드, open: 브라우저로 열기)
(3) 결과 데이터
File
➍ 고객 재문의
고객이 답변 내역에 대해 추가 질문을 할 수 있도록 구현하고 싶을 경우 사용하는 API 입니다.
➋ 티켓 상세에서 상세 내역을 조회한 후 고객이 추가질문을 작성할 수 있는 필드를 제공하고, 재문의 API를 호출하면 해당 티켓에 추가 질문이 등록되는 방식입니다.
(1) 인터페이스 설명
URL: https://{domain}.oc.nhncloud.com/{serviceId}/openapi/v1/ticket/enduser/{usercode}/{ticketId}/comment.json
URL (생산 테스트 환경) : https://{domain}.oc.beta-nhncloud.com/{serviceId}/openapi/v1/ticket/enduser/{usercode}/{ticketId}/comment.json
URL (개발 테스트 환경) : https://{domain}.oc.alpha-nhncloud.com/{serviceId}/openapi/v1/ticket/enduser/{usercode}/{ticketId}/comment.json
고객 재문의
HTTPS
POST
UTF-8
JSON
티켓 ID 기준으로 고객 재문의
공통 인증
(2) 요청 파라미터 정의
서비스 ID
serviceId
String
path
O
서비스 ID,URL PATH 내에 설정한 {serviceId}
아이디
usercode
String
path
O
아이디(사용자 고유 ID), 문의 접수 시의 usercode
티켓 ID
ticketId
String
path
O
티켓 ID
내용
comment
String
body
O
재문의 내용
첨부파일
attachments
String
query
X
첨부파일 ID. 복수의 파일 첨부시 파일 ID를 (,)로 분리, max는 5건(파일ID1,파일ID2,…,파일ID5)
(3) 결과 데이터
result.content
content
String
재문의 내용
type
String
타입. 고정값: enduser
typeName
String
타입 명칭
createdDt
Long
제출 시간
displayDt
String
노출 시간(yyyy.MM.dd)
attachments
Array
첨부파일
attachments.attachmentId
String
첨부파일 ID
attachments.fileName
String
첨부파일 명
attachments.contentType
String
첨부파일 유형
attachments.disposition
String
파일 처리방식(attachment: 첨부파일)
attachments.size
Long
첨부파일 사이즈
attachments.createdDt
Long
첨부파일 업로드 시간
(4) Response Body
Last updated