GET api/CryptoLearn/v1/GetLanguage?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

language
NameDescriptionTypeAdditional information
id

integer

None.

desc

string

None.

LessonDescriptions

Collection of LessonDescription

None.

LessonQuestions

Collection of LessonQuestion

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "desc": "sample string 2",
  "LessonDescriptions": [
    {
      "$id": "2",
      "ID": 1,
      "Title": "sample string 2",
      "Lesson_Description": "sample string 3",
      "LessonID": 4,
      "Lang_ID": 5,
      "DiagramID": 1,
      "language": {
        "$ref": "1"
      },
      "Lesson_Diagram": {
        "$id": "3",
        "ID": 1,
        "DiagramURL": "sample string 2",
        "DiagramCaption": "sample string 3",
        "LessonDescriptions": [
          {
            "$ref": "2"
          },
          {
            "$ref": "2"
          }
        ]
      }
    },
    {
      "$ref": "2"
    }
  ],
  "LessonQuestions": [
    {
      "$id": "4",
      "ID": 1,
      "Questions": "sample string 2",
      "LessonID": 3,
      "LangID": 4,
      "language": {
        "$ref": "1"
      },
      "QuestionOptions": [
        {
          "$id": "5",
          "ID": 1,
          "Options": "sample string 2",
          "QuestionID": 3,
          "RightAnswer": true,
          "LessonQuestion": {
            "$ref": "4"
          }
        },
        {
          "$ref": "5"
        }
      ]
    },
    {
      "$ref": "4"
    }
  ]
}