Advertisement
harikrista

Untitled

Feb 26th, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. {
  2. "id": 1,
  3. "user_id": "1",
  4. "body": "Who should be the next prime minister of Nepal?",
  5. "flag": "1",
  6. "status": "1",
  7. "created_at": "2016-01-13 10:48:20",
  8. "updated_at": "2016-01-13 10:48:20",
  9. "answersCount": 5,
  10. "commentsCount": 5,
  11. "votesCount": 3,
  12. "answers": [
  13. {
  14. "id": 1,
  15. "question_id": "1",
  16. "body": "Baburam Bhattarai",
  17. "created_at": "2016-01-13 10:48:20",
  18. "updated_at": "2016-01-13 10:48:20",
  19. "totalVote": 0,
  20. "isVoted": 0
  21. },
  22. {
  23. "id": 2,
  24. "question_id": "1",
  25. "body": "Minendra Rijal",
  26. "created_at": "2016-01-13 10:48:20",
  27. "updated_at": "2016-01-13 10:48:20",
  28. "totalVote": 0,
  29. "isVoted": 0
  30. },
  31. {
  32. "id": 3,
  33. "question_id": "1",
  34. "body": "Give citizens chance to chose their own",
  35. "created_at": "2016-01-13 10:48:20",
  36. "updated_at": "2016-01-13 10:48:20",
  37. "totalVote": 0,
  38. "isVoted": 0
  39. },
  40. {
  41. "id": 9,
  42. "question_id": "1",
  43. "body": "auta naya option",
  44. "created_at": "2016-01-14 14:37:00",
  45. "updated_at": "2016-01-14 14:37:00",
  46. "totalVote": 0,
  47. "isVoted": 0
  48. },
  49. {
  50. "id": 10,
  51. "question_id": "1",
  52. "body": "yo kasto to byatha vayecha mero prem kahaani kasto kasto byatha mero",
  53. "created_at": "2016-01-14 14:41:36",
  54. "updated_at": "2016-01-14 14:41:36",
  55. "totalVote": 0,
  56. "isVoted": 0
  57. }
  58. ],
  59. "comments": [
  60. {
  61. "id": 1,
  62. "question_id": "1",
  63. "user_id": "1",
  64. "body": "Kera jasto question!",
  65. "flag": "1",
  66. "status": "1",
  67. "created_at": "2016-01-13 10:48:20",
  68. "updated_at": "2016-01-13 10:48:20"
  69. },
  70. {
  71. "id": 4,
  72. "question_id": "1",
  73. "user_id": "1",
  74. "body": "This is a comment posted from POSTMAN to dev server.",
  75. "flag": "1",
  76. "status": "1",
  77. "created_at": "2016-01-13 10:55:04",
  78. "updated_at": "2016-01-13 10:55:04"
  79. },
  80. {
  81. "id": 5,
  82. "question_id": "1",
  83. "user_id": "1",
  84. "body": "This is a comment from postman.",
  85. "flag": "1",
  86. "status": "1",
  87. "created_at": "2016-01-13 11:09:19",
  88. "updated_at": "2016-01-13 11:09:19"
  89. },
  90. {
  91. "id": 6,
  92. "question_id": "1",
  93. "user_id": "1",
  94. "body": "This is anoter comment from postman.",
  95. "flag": "1",
  96. "status": "1",
  97. "created_at": "2016-01-13 11:09:27",
  98. "updated_at": "2016-01-13 11:09:27"
  99. },
  100. {
  101. "id": 7,
  102. "question_id": "1",
  103. "user_id": "1",
  104. "body": "this is comment in post man from hari",
  105. "flag": "1",
  106. "status": "1",
  107. "created_at": "2016-02-08 16:16:06",
  108. "updated_at": "2016-02-08 16:16:06"
  109. }
  110. ],
  111. "apiStatus": {
  112. "methodName": "abcd",
  113. "isSuccess": "true",
  114. "errorCode": "100"
  115. }
  116. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement