q문의

문의 목록

문의 목록 조회

GET /api/inquiries

사용자가 등록한 문의 목록을 조회

사용자는 자신이 등록한 문의만 조회할 수 있으며, 이를 위해 인증된 사용자 ID에 기반한 필터링이 필요

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

int

문의번호

string

문의제목

string

문의내용

string

카테고리

DateTime

생성일

Response

[
  {
    "inquiryId": 1,
    "inquiryTitle": "문의 제목 1",
    "status": "답변 대기중",
    "category":"결제",
    "createdDate": "2024-11-14T10:30:00"
  },
  {
    "inquiryId": 2,
    "inquiryTitle": "문의 제목 2",
    "status": "답변 완료",
    "category":"결제",
    "createdDate": "2024-11-13T09:45:00"
  }
]

단일 문의 조회

GET /api/inquiries/{inquiryId}

사용자가 특정 문의의 상세 정보를 조회

{inquiryId}: 조회할 문의의 고유 ID

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

int

문의번호

string

문의제목

string

문의내용

string

문의상태

string

카테고리

DateTime

생성일

string

답변

Response


문의 등록

POST /api/inquiries

사용자가 새로운 문의를 등록

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

string

문의제목

string

문의내용

string

카테고리

Response

Last updated