POST v1/user/survey

WEB - Get Survey Detail

Request Information

URI Parameters

None.

Body Parameters

UserSurveyRequestModel
NameDescriptionTypeAdditional information
survey_id

integer

Required

user_id

User ID (GUID)

string

Required

Data type: Text

user_signature

MD5 hash signature for the active user to validate the request

string

Required

Data type: Text

Request Format

application/json, text/json

Sample:
{
  "survey_id": 1,
  "user_id": "sample string 2",
  "user_signature": "sample string 3"
}

Response Information

Resource Description

WEB - Get Survey Detail

BaseMetaResultModelOfSurvey
NameDescriptionTypeAdditional information
response

Survey

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": {
    "id": 1,
    "title": "sample string 2",
    "create_date": "2024-11-25T22:50:38.8947482+03:00",
    "questions": [
      {
        "question_title": "sample string 3",
        "answers": [
          {
            "id": 1,
            "answer_title": "sample string 4"
          },
          {
            "id": 1,
            "answer_title": "sample string 4"
          }
        ]
      },
      {
        "question_title": "sample string 3",
        "answers": [
          {
            "id": 1,
            "answer_title": "sample string 4"
          },
          {
            "id": 1,
            "answer_title": "sample string 4"
          }
        ]
      }
    ]
  },
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}