Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "id": 1,
- "user_id": "1",
- "body": "Who should be the next prime minister of Nepal?",
- "flag": "1",
- "status": "1",
- "created_at": "2016-01-13 10:48:20",
- "updated_at": "2016-01-13 10:48:20",
- "answersCount": 5,
- "commentsCount": 5,
- "votesCount": 3,
- "answers": [
- {
- "id": 1,
- "question_id": "1",
- "body": "Baburam Bhattarai",
- "created_at": "2016-01-13 10:48:20",
- "updated_at": "2016-01-13 10:48:20",
- "totalVote": 0,
- "isVoted": 0
- },
- {
- "id": 2,
- "question_id": "1",
- "body": "Minendra Rijal",
- "created_at": "2016-01-13 10:48:20",
- "updated_at": "2016-01-13 10:48:20",
- "totalVote": 0,
- "isVoted": 0
- },
- {
- "id": 3,
- "question_id": "1",
- "body": "Give citizens chance to chose their own",
- "created_at": "2016-01-13 10:48:20",
- "updated_at": "2016-01-13 10:48:20",
- "totalVote": 0,
- "isVoted": 0
- },
- {
- "id": 9,
- "question_id": "1",
- "body": "auta naya option",
- "created_at": "2016-01-14 14:37:00",
- "updated_at": "2016-01-14 14:37:00",
- "totalVote": 0,
- "isVoted": 0
- },
- {
- "id": 10,
- "question_id": "1",
- "body": "yo kasto to byatha vayecha mero prem kahaani kasto kasto byatha mero",
- "created_at": "2016-01-14 14:41:36",
- "updated_at": "2016-01-14 14:41:36",
- "totalVote": 0,
- "isVoted": 0
- }
- ],
- "comments": [
- {
- "id": 1,
- "question_id": "1",
- "user_id": "1",
- "body": "Kera jasto question!",
- "flag": "1",
- "status": "1",
- "created_at": "2016-01-13 10:48:20",
- "updated_at": "2016-01-13 10:48:20"
- },
- {
- "id": 4,
- "question_id": "1",
- "user_id": "1",
- "body": "This is a comment posted from POSTMAN to dev server.",
- "flag": "1",
- "status": "1",
- "created_at": "2016-01-13 10:55:04",
- "updated_at": "2016-01-13 10:55:04"
- },
- {
- "id": 5,
- "question_id": "1",
- "user_id": "1",
- "body": "This is a comment from postman.",
- "flag": "1",
- "status": "1",
- "created_at": "2016-01-13 11:09:19",
- "updated_at": "2016-01-13 11:09:19"
- },
- {
- "id": 6,
- "question_id": "1",
- "user_id": "1",
- "body": "This is anoter comment from postman.",
- "flag": "1",
- "status": "1",
- "created_at": "2016-01-13 11:09:27",
- "updated_at": "2016-01-13 11:09:27"
- },
- {
- "id": 7,
- "question_id": "1",
- "user_id": "1",
- "body": "this is comment in post man from hari",
- "flag": "1",
- "status": "1",
- "created_at": "2016-02-08 16:16:06",
- "updated_at": "2016-02-08 16:16:06"
- }
- ],
- "apiStatus": {
- "methodName": "abcd",
- "isSuccess": "true",
- "errorCode": "100"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement