GET api/RedBookSurvey/GetRedBookSurvey
Reds the book survey.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Survey| Name | Description | Type | Additional information |
|---|---|---|---|
| SurveyID | integer |
None. |
|
| SurveyName | string |
None. |
|
| SurveyDescription | string |
None. |
|
| SurveyType | integer |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| PublishedDate | date |
None. |
|
| IsActive | boolean |
None. |
|
| CreatedBy | string |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedBy | string |
None. |
|
| ModifiedDate | date |
None. |
|
| SurveyResponses | Collection of SurveyResponse |
None. |
|
| SurveyQuestions | Collection of SurveyQuestion |
None. |
Response Formats
application/json, text/json
Sample:
{
"SurveyID": 1,
"SurveyName": "sample string 2",
"SurveyDescription": "sample string 3",
"SurveyType": 1,
"StartDate": "2026-01-09T15:56:25.3429664-05:00",
"EndDate": "2026-01-09T15:56:25.3429664-05:00",
"PublishedDate": "2026-01-09T15:56:25.3429664-05:00",
"IsActive": true,
"CreatedBy": "sample string 4",
"CreatedDate": "2026-01-09T15:56:25.3429664-05:00",
"ModifiedBy": "sample string 5",
"ModifiedDate": "2026-01-09T15:56:25.3429664-05:00",
"SurveyResponses": [
{
"SurveyResponseID": 1,
"SurveyUserID": 1,
"SurveyQuestionID": 1,
"OtherResponse": "sample string 2",
"QuestionTitle": "sample string 3",
"SurveyID": 1,
"CreatedBy": 1,
"CreatedDate": "2026-01-09T15:56:25.3429664-05:00",
"ModifiedDate": "2026-01-09T15:56:25.3429664-05:00",
"ModifiedBy": 1,
"SurveyUser": {
"SurveyUserID": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Email": "sample string 4",
"Age": 1,
"Phone": "sample string 5",
"CreatedDate": "2026-01-09T15:56:25.3429664-05:00",
"DeviceID": "sample string 6",
"SurveyResponses": []
},
"SurveyResponseOptions": [
{
"SurveyResponseOptionID": 1,
"SurveyResponseID": 1,
"SurveyQuestionOptionID": 1,
"CreatedBy": 1,
"CreatedDate": "2026-01-09T15:56:25.3429664-05:00",
"OptionValue": "sample string 2"
},
{
"SurveyResponseOptionID": 1,
"SurveyResponseID": 1,
"SurveyQuestionOptionID": 1,
"CreatedBy": 1,
"CreatedDate": "2026-01-09T15:56:25.3429664-05:00",
"OptionValue": "sample string 2"
}
]
},
{
"SurveyResponseID": 1,
"SurveyUserID": 1,
"SurveyQuestionID": 1,
"OtherResponse": "sample string 2",
"QuestionTitle": "sample string 3",
"SurveyID": 1,
"CreatedBy": 1,
"CreatedDate": "2026-01-09T15:56:25.3429664-05:00",
"ModifiedDate": "2026-01-09T15:56:25.3429664-05:00",
"ModifiedBy": 1,
"SurveyUser": {
"SurveyUserID": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Email": "sample string 4",
"Age": 1,
"Phone": "sample string 5",
"CreatedDate": "2026-01-09T15:56:25.3429664-05:00",
"DeviceID": "sample string 6",
"SurveyResponses": []
},
"SurveyResponseOptions": [
{
"SurveyResponseOptionID": 1,
"SurveyResponseID": 1,
"SurveyQuestionOptionID": 1,
"CreatedBy": 1,
"CreatedDate": "2026-01-09T15:56:25.3429664-05:00",
"OptionValue": "sample string 2"
},
{
"SurveyResponseOptionID": 1,
"SurveyResponseID": 1,
"SurveyQuestionOptionID": 1,
"CreatedBy": 1,
"CreatedDate": "2026-01-09T15:56:25.3429664-05:00",
"OptionValue": "sample string 2"
}
]
}
],
"SurveyQuestions": [
{
"SurveyQuestionID": 1,
"SurveyID": 1,
"SurveyQuestionTypeID": 1,
"QuestionTitle": "sample string 2",
"IsActive": true,
"QuestionOrder": 1,
"createdBY": "sample string 3",
"modifiedBY": "sample string 4",
"createdDate": "sample string 5",
"modifiedDate": "sample string 6",
"SurveyQuestionType": {
"SurveyQuestionTypeID": 1,
"QuestionType": "sample string 2",
"IsActive": true,
"SurveyQuestions": []
},
"SurveyQuestionOptions": [
{
"SurveyQuestionOptionID": 1,
"SurveyQuestionID": 1,
"OptionValue": "sample string 2"
},
{
"SurveyQuestionOptionID": 1,
"SurveyQuestionID": 1,
"OptionValue": "sample string 2"
}
]
},
{
"SurveyQuestionID": 1,
"SurveyID": 1,
"SurveyQuestionTypeID": 1,
"QuestionTitle": "sample string 2",
"IsActive": true,
"QuestionOrder": 1,
"createdBY": "sample string 3",
"modifiedBY": "sample string 4",
"createdDate": "sample string 5",
"modifiedDate": "sample string 6",
"SurveyQuestionType": {
"SurveyQuestionTypeID": 1,
"QuestionType": "sample string 2",
"IsActive": true,
"SurveyQuestions": []
},
"SurveyQuestionOptions": [
{
"SurveyQuestionOptionID": 1,
"SurveyQuestionID": 1,
"OptionValue": "sample string 2"
},
{
"SurveyQuestionOptionID": 1,
"SurveyQuestionID": 1,
"OptionValue": "sample string 2"
}
]
}
]
}
text/html
Sample:
{"SurveyID":1,"SurveyName":"sample string 2","SurveyDescription":"sample string 3","SurveyType":1,"StartDate":"2026-01-09T15:56:25.3429664-05:00","EndDate":"2026-01-09T15:56:25.3429664-05:00","PublishedDate":"2026-01-09T15:56:25.3429664-05:00","IsActive":true,"CreatedBy":"sample string 4","CreatedDate":"2026-01-09T15:56:25.3429664-05:00","ModifiedBy":"sample string 5","ModifiedDate":"2026-01-09T15:56:25.3429664-05:00","SurveyResponses":[{"SurveyResponseID":1,"SurveyUserID":1,"SurveyQuestionID":1,"OtherResponse":"sample string 2","QuestionTitle":"sample string 3","SurveyID":1,"CreatedBy":1,"CreatedDate":"2026-01-09T15:56:25.3429664-05:00","ModifiedDate":"2026-01-09T15:56:25.3429664-05:00","ModifiedBy":1,"SurveyUser":{"SurveyUserID":1,"FirstName":"sample string 2","LastName":"sample string 3","Email":"sample string 4","Age":1,"Phone":"sample string 5","CreatedDate":"2026-01-09T15:56:25.3429664-05:00","DeviceID":"sample string 6","SurveyResponses":[]},"SurveyResponseOptions":[{"SurveyResponseOptionID":1,"SurveyResponseID":1,"SurveyQuestionOptionID":1,"CreatedBy":1,"CreatedDate":"2026-01-09T15:56:25.3429664-05:00","OptionValue":"sample string 2"},{"SurveyResponseOptionID":1,"SurveyResponseID":1,"SurveyQuestionOptionID":1,"CreatedBy":1,"CreatedDate":"2026-01-09T15:56:25.3429664-05:00","OptionValue":"sample string 2"}]},{"SurveyResponseID":1,"SurveyUserID":1,"SurveyQuestionID":1,"OtherResponse":"sample string 2","QuestionTitle":"sample string 3","SurveyID":1,"CreatedBy":1,"CreatedDate":"2026-01-09T15:56:25.3429664-05:00","ModifiedDate":"2026-01-09T15:56:25.3429664-05:00","ModifiedBy":1,"SurveyUser":{"SurveyUserID":1,"FirstName":"sample string 2","LastName":"sample string 3","Email":"sample string 4","Age":1,"Phone":"sample string 5","CreatedDate":"2026-01-09T15:56:25.3429664-05:00","DeviceID":"sample string 6","SurveyResponses":[]},"SurveyResponseOptions":[{"SurveyResponseOptionID":1,"SurveyResponseID":1,"SurveyQuestionOptionID":1,"CreatedBy":1,"CreatedDate":"2026-01-09T15:56:25.3429664-05:00","OptionValue":"sample string 2"},{"SurveyResponseOptionID":1,"SurveyResponseID":1,"SurveyQuestionOptionID":1,"CreatedBy":1,"CreatedDate":"2026-01-09T15:56:25.3429664-05:00","OptionValue":"sample string 2"}]}],"SurveyQuestions":[{"SurveyQuestionID":1,"SurveyID":1,"SurveyQuestionTypeID":1,"QuestionTitle":"sample string 2","IsActive":true,"QuestionOrder":1,"createdBY":"sample string 3","modifiedBY":"sample string 4","createdDate":"sample string 5","modifiedDate":"sample string 6","SurveyQuestionType":{"SurveyQuestionTypeID":1,"QuestionType":"sample string 2","IsActive":true,"SurveyQuestions":[]},"SurveyQuestionOptions":[{"SurveyQuestionOptionID":1,"SurveyQuestionID":1,"OptionValue":"sample string 2"},{"SurveyQuestionOptionID":1,"SurveyQuestionID":1,"OptionValue":"sample string 2"}]},{"SurveyQuestionID":1,"SurveyID":1,"SurveyQuestionTypeID":1,"QuestionTitle":"sample string 2","IsActive":true,"QuestionOrder":1,"createdBY":"sample string 3","modifiedBY":"sample string 4","createdDate":"sample string 5","modifiedDate":"sample string 6","SurveyQuestionType":{"SurveyQuestionTypeID":1,"QuestionType":"sample string 2","IsActive":true,"SurveyQuestions":[]},"SurveyQuestionOptions":[{"SurveyQuestionOptionID":1,"SurveyQuestionID":1,"OptionValue":"sample string 2"},{"SurveyQuestionOptionID":1,"SurveyQuestionID":1,"OptionValue":"sample string 2"}]}]}