GET api/CryptoLearn/v1/GetLessonDescriptions?LessonId={LessonId}&lang={lang}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| LessonId | integer |
Required |
|
| lang | string |
Required |
Body Parameters
None.
Response Information
Resource Description
LessonDescription| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Title | string |
None. |
|
| Lesson_Description | string |
None. |
|
| LessonID | integer |
None. |
|
| Lang_ID | integer |
None. |
|
| DiagramID | integer |
None. |
|
| language | language |
None. |
|
| Lesson_Diagram | Lesson_Diagram |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"Title": "sample string 2",
"Lesson_Description": "sample string 3",
"LessonID": 4,
"Lang_ID": 5,
"DiagramID": 1,
"language": {
"$id": "2",
"id": 1,
"desc": "sample string 2",
"LessonDescriptions": [
{
"$ref": "1"
},
{
"$ref": "1"
}
],
"LessonQuestions": [
{
"$id": "3",
"ID": 1,
"Questions": "sample string 2",
"LessonID": 3,
"LangID": 4,
"language": {
"$ref": "2"
},
"QuestionOptions": [
{
"$id": "4",
"ID": 1,
"Options": "sample string 2",
"QuestionID": 3,
"RightAnswer": true,
"LessonQuestion": {
"$ref": "3"
}
},
{
"$ref": "4"
}
]
},
{
"$ref": "3"
}
]
},
"Lesson_Diagram": {
"$id": "5",
"ID": 1,
"DiagramURL": "sample string 2",
"DiagramCaption": "sample string 3",
"LessonDescriptions": [
{
"$ref": "1"
},
{
"$ref": "1"
}
]
}
}