Artikel Service
HomeArtikel Service
Api Reference
  • Artikel Controller
  • File Controller
  • Migration Controller
  • Milestone Controller
  • Q&A Controller
Changelog Release
HomeArtikel Service
Api Reference
  • Artikel Controller
  • File Controller
  • Migration Controller
  • Milestone Controller
  • Q&A Controller
Changelog Release
  1. question-and-ask-controller
  • Introduction
  • Changelog Release
  • Local Development
  • Artikel Docs
    • Artikel Controller Docs
    • File Controller Docs
  • article-controller
    • getArticleDiscovery
      GET
    • get user's list of viewed / liked articles
      GET
    • getTaxonomies
      GET
    • get list of featured articles by mode
      GET
    • getListSubCategory
      GET
    • get list of curated article by week
      GET
    • bulk index all published article to elastic search
      GET
    • delete all indexed article in elastic search
      DELETE
    • like / unlike an article
      POST
    • get article by slug and increase read counter
      GET
    • readDetailArticleV2
      GET
    • readDetailArticle
      GET
    • getWeeklyRecomendedArticle
      GET
    • get list of articles related to specific article by slug
      GET
    • get list of articles related to specific article by id
      GET
    • search (return list of articles related to) in all user's liked articles by term
      GET
    • search (return list of articles related to) in all articles by term
      GET
    • get url for sharing an article by id
      GET
    • get list of all article slug
      GET
    • getArticleOverviewSubCategory
      GET
    • getWeeklyTipsArticle
      GET
    • get list of user's activity (view, like, and share article)
      GET
    • getArticleByCategoryParent
      GET
    • getWeeklyRandomText
      GET
  • file-controller
    • streamPrivateData
  • migration-controller
    • testMigrateDev
  • milestone-controller
    • get list of baby milestones by month
    • get list of pregnancy milestones by week
  • question-and-ask-controller
    • get list of all specialists
      GET
    • create new user's question
      POST
    • update user's question
      POST
    • get list of all user's questions
      GET
    • get user's question detail by id
      GET
  1. question-and-ask-controller

get user's question detail by id

GET
/qna/user-question/{questionId}
question-and-ask-controller

Request

Path Params
questionId
integer 
required
selected id

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/qna/user-question/'

Responses

🟢200OK
application/json
Body
code
integer <int32>
optional
data
object (QuestionResponse) 
optional
answer
string 
optional
answeredDate
string <date-time>
optional
attachments
array[object (ImageResponse) {2}] 
optional
avatarDoctor
string 
optional
question
string 
optional
questionDate
string <date-time>
optional
questionId
integer <int64>
optional
repliedById
integer <int64>
optional
repliedByName
string 
optional
status
string 
optional
titleDoctor
string 
optional
message
string 
optional
Example
{
    "code": 0,
    "data": {
        "answer": "string",
        "answeredDate": "2019-08-24T14:15:22Z",
        "attachments": [
            {
                "id": 0,
                "url": "string"
            }
        ],
        "avatarDoctor": "string",
        "question": "string",
        "questionDate": "2019-08-24T14:15:22Z",
        "questionId": 0,
        "repliedById": 0,
        "repliedByName": "string",
        "status": "string",
        "titleDoctor": "string"
    },
    "message": "string"
}
Modified at 2023-01-23 06:59:19
Previous
get list of all user's questions
Built with