FAQ View API
1. Overview
2. Request URL
- http://{Account Id}.cafe24.com/_api/module/faq/{Sequence Number}/view
3. Request Parameters
| Name |
Type |
Mandatory |
Description |
Value |
|---|
| idx |
integer |
Y |
Faq Idx |
|
4. Response Code
| Code |
Description |
|---|
| 200 |
Success |
| 500 |
Error (Error Message Display) |
5. Response Fields
| Name |
Type |
Description |
|---|
| idx |
integer |
Index of the question |
| subject |
integer |
Subject of the question |
| answer |
string |
Answer of the question |
| answer_striptags |
string |
Answer of the question (html tags stript) |
| author |
string |
Author of the question |
| seo_idx |
integer |
SEO index |
| most_popular |
string |
Most Popular Question Status |
| media_idx |
integer |
Attached media index |
| date_registered |
integer(timestamp) |
Registered date |
| date_modified |
integer(timestamp) |
Modified date |
| category_idx |
integer |
Category index |
| category_name |
string |
Category name |
| category_description |
string |
Category description |
| category_seo_idx |
integer |
SEO index of the category |
| attachment_name |
string |
Name of the the attached media |
| attachment_url |
string |
Download url of the attached media |
| attachment_size |
string |
Size of the attached media |
6. Response Sample Data
{
"code": "200",
"msg": "success",
"data": {
"idx": "1663",
"subject": "test question 1",
"status" : "N",
"answer": "test answer",
"author": "test author",
"seo_idx": "981",
"most_popular": "N",
"media_idx": "24909",
"answer_striptags": "test answer",
"date_registered": "1312868831",
"date_modified": "1312868831",
"category_idx": "599",
"category_name": "Default Category",
"category_description": "It's the default category",
"category_seo_idx" : "949",
"attachment_name" : "test_L.txt",
"attachment_url" : "/_attach/2011/08/25/media/file/0d6726d342a1a7e6cf76a32ee03b15d57d8a8ff7.txt",
"attachment_size" : "312.81"
}
}