1. Get Answer
1) Purpose
채널이 AX Cloud 등록한 특정 상품의 여행자 문의에 대한 답변을 조회 합니다.
2) Detail
상품 별로 문의를 등록하고 답변을 조회할 수 있습니다.
답변 생성 여부도 조회하여 확인할 수 있습니다.
유효한 API Key를 Request Header에 토큰으로 입력해야만 호출 가능합니다.
2. API spec
1) Request
Endpoint | |
---|---|
Method | GET |
Description | 특정 Product의 문의 답변을 조회 합니다. |
Content-Type | application/json |
Headers > Authorization | Token {api_key} |
Headers > Channel | Code {channel_code} |
2) Query Parameter
Name | Required | Type | Description |
---|---|---|---|
question_code | O | string | 답변을 식별할 수 있도록 채널에서 생성한 질문의 식별자 |
3) Response
Name | Type | Description |
---|---|---|
question_code | string | 답변을 식별할 수 있도록 채널에서 생성한 질문의 식별자 |
answer | string | 문의 질문에 대한 답변 |
5) Error Spec
3. Request Example
1) CURL
curl -X 'GET' \ 'https://prod.ax-cloud.com/v1/channel/question/tour/?question_code=090a9be0397' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -H "Authorization: Token api_key_secret" \ -H "Channel: Code code_secret"