GET api/CryptoLearn/v1/AllLessonsQuesttionByBook?bookID={bookID}&lang={lang}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bookID | integer |
Required |
|
| lang | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of LessonQuestiones| Name | Description | Type | Additional information |
|---|---|---|---|
| LessonId | integer |
None. |
|
| LessonName | string |
None. |
|
| LessonQuestion | Collection of Questions |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"LessonId": 1,
"LessonName": "sample string 2",
"LessonQuestion": [
{
"$id": "2",
"QuestionDetails": "sample string 1",
"Lesson": "sample string 2",
"lang": "sample string 3",
"options": [
{
"$id": "3",
"OptionDes": "sample string 1",
"RightAnswer": true,
"question": "sample string 3"
},
{
"$ref": "3"
}
]
},
{
"$ref": "2"
}
]
},
{
"$ref": "1"
}
]