Game Loom
    Game Loom
    • Game Loom
      • πŸ‘‹ Welcome to Game Loom
    • Getting started
      • Introduction
      • πŸ‘€ Authentication
    • User Registration
      • Introduction
      • Single user registration
        POST
      • Bulk Register Users
        POST
    • Notifications
      • Overview
      • Receiving Event Notifications via Webhooks
      • Get All notifications for specific user
        GET
    • Rewards
      • Overview
      • Points
        • Record user point event
        • Get user points
        • Get Specific user point
      • Levels
        • Record user level event
        • Get user levels
        • Get Specific user level
      • Badges
        • Award badge to user
        • Get user badges
        • Get Specific user badge
    • Challenges (Gamification elements)
      • Introduction
      • Leaderboard
        • Get available leaderboards for user
        • Submit score to a leaderboard
        • Get user's leaderboard participation history
        • Get leaderboard details
        • Get leaderboard ranking
        • Get user's record for a leaderboard
        • Get user's entry history for a leaderboard
      • Survey
        • Overview
        • Get available surveys for user
        • Start a new survey participation
        • Get detailed user participation
        • Get user's survey participation history
        • Abandon survey participation
        • Save individual answer to survey question
        • Submit completed survey
        • Submit Survey with answers (One-Step Submission)
      • Open Challenge
        • Overview
        • Get available open challenges for user
        • Complete an open challenge
        • Get user's open challenge participation history
        • Get user open challenge by ID
      • Schemas
        • Survey Schame

    Survey Schame

    Represent the survey details, with an explanation for each variable.

    {
        "id": "string",
        "surveyId": "string",
        "userKey": "string",
        "companyId": "string",
        "status": 0,
        "startedAt": "string",
        "completedAt": "string",
        "updatedDate": "string",
        "createdDate": "string",
        "surveyName": "string",
        "surveyDescription": "string",
        "surveyStartDate": "string",
        "surveyEndDate": "string",
        "totalQuestions": 0,
        "answeredQuestions": 0,
        "progressPercentage": 0,
        "questions": [
            {
                "id": "string",
                "surveyId": "string",
                "questionType": 0,
                "question": "string",
                "orderQuestion": 0,
                "choices": [
                    "string"
                ],
                "createdDate": "string",
                "updatedDate": "string",
                "localizedQuestions": {
                    "ar": "string",
                    "en": "string"
                },
                "localizedChoices": {
                    "ar": [
                        "string"
                    ],
                    "en": [
                        "string"
                    ]
                }
            }
        ],
        "answers": [
            {
                "id": "string",
                "questionId": "string",
                "question": "string",
                "answer": "string",
                "answeredAt": "string"
            }
        ]
    }
    Built with