POST api/Questions/QuestionList
問答記錄
Request Information
URI Parameters
None.
Body Parameters
QuestionList_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| userId |
會員帳號 |
string |
Required |
| questionType |
問答記錄種類 |
questionType |
Required |
| page |
頁數 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1",
"userId": "sample string 2",
"questionType": 0,
"page": 3
}
text/html
Sample:
{"Ticket":"sample string 1","userId":"sample string 2","questionType":0,"page":3}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
問答記錄
QuestionList_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| pageCount |
總頁數 |
integer |
None. |
| productsQaCount |
商品問答記錄 新訊息總數 |
integer |
None. |
| ordersQaCount |
訂單問答記錄新訊息總數 |
integer |
None. |
| othersQaCount |
其他問答記錄 新訊息總數 |
integer |
None. |
| page |
頁數 |
integer |
None. |
| qaList |
問答記錄清單 |
Collection of QuestionList_qa |
None. |
Response Formats
application/json, text/json
Sample:
{
"ticketVerified": true,
"pageCount": 2,
"productsQaCount": 3,
"ordersQaCount": 4,
"othersQaCount": 5,
"page": 6,
"qaList": [
{
"qaId": "sample string 1",
"time": "sample string 2",
"category": "sample string 3",
"productName": "sample string 4",
"productImageUrl": "sample string 5",
"orderNumber": "sample string 6",
"description": "sample string 7",
"isNew": true,
"messages": [
{
"content": "sample string 1",
"imageURL": "sample string 2",
"sender": "sample string 3",
"time": "sample string 4"
},
{
"content": "sample string 1",
"imageURL": "sample string 2",
"sender": "sample string 3",
"time": "sample string 4"
}
]
},
{
"qaId": "sample string 1",
"time": "sample string 2",
"category": "sample string 3",
"productName": "sample string 4",
"productImageUrl": "sample string 5",
"orderNumber": "sample string 6",
"description": "sample string 7",
"isNew": true,
"messages": [
{
"content": "sample string 1",
"imageURL": "sample string 2",
"sender": "sample string 3",
"time": "sample string 4"
},
{
"content": "sample string 1",
"imageURL": "sample string 2",
"sender": "sample string 3",
"time": "sample string 4"
}
]
}
]
}
text/html
Sample:
{"ticketVerified":true,"pageCount":2,"productsQaCount":3,"ordersQaCount":4,"othersQaCount":5,"page":6,"qaList":[{"qaId":"sample string 1","time":"sample string 2","category":"sample string 3","productName":"sample string 4","productImageUrl":"sample string 5","orderNumber":"sample string 6","description":"sample string 7","isNew":true,"messages":[{"content":"sample string 1","imageURL":"sample string 2","sender":"sample string 3","time":"sample string 4"},{"content":"sample string 1","imageURL":"sample string 2","sender":"sample string 3","time":"sample string 4"}]},{"qaId":"sample string 1","time":"sample string 2","category":"sample string 3","productName":"sample string 4","productImageUrl":"sample string 5","orderNumber":"sample string 6","description":"sample string 7","isNew":true,"messages":[{"content":"sample string 1","imageURL":"sample string 2","sender":"sample string 3","time":"sample string 4"},{"content":"sample string 1","imageURL":"sample string 2","sender":"sample string 3","time":"sample string 4"}]}]}