GET api/v1/Subject/GetByUserName?userName={userName}&drivingSchoolId={drivingSchoolId}

通过用户帐号获取用户科目视频信息

Request Information

Parameters

NameDescriptionAdditional information
userName
用户帐号

Define this parameter in the request URI.

drivingSchoolId
驾校Id

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "data": {
    "subjects": [
      {
        "isFinished": true,
        "finishedMsg": "sample string 2",
        "keyFinishedMsg": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ],
        "lessons": [
          {
            "practice": {
              "questions": [
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                }
              ]
            },
            "videos": [
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              }
            ],
            "canLearn": true,
            "isLearned": true,
            "subjectId": 3,
            "lessonId": 4,
            "lessonName": "sample string 5",
            "teacherName": "sample string 6",
            "thumbnail": "sample string 7",
            "hasPractice": true
          },
          {
            "practice": {
              "questions": [
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                }
              ]
            },
            "videos": [
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              }
            ],
            "canLearn": true,
            "isLearned": true,
            "subjectId": 3,
            "lessonId": 4,
            "lessonName": "sample string 5",
            "teacherName": "sample string 6",
            "thumbnail": "sample string 7",
            "hasPractice": true
          },
          {
            "practice": {
              "questions": [
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                }
              ]
            },
            "videos": [
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              }
            ],
            "canLearn": true,
            "isLearned": true,
            "subjectId": 3,
            "lessonId": 4,
            "lessonName": "sample string 5",
            "teacherName": "sample string 6",
            "thumbnail": "sample string 7",
            "hasPractice": true
          }
        ],
        "subjectId": 3,
        "subjectName": "sample string 4"
      },
      {
        "isFinished": true,
        "finishedMsg": "sample string 2",
        "keyFinishedMsg": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ],
        "lessons": [
          {
            "practice": {
              "questions": [
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                }
              ]
            },
            "videos": [
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              }
            ],
            "canLearn": true,
            "isLearned": true,
            "subjectId": 3,
            "lessonId": 4,
            "lessonName": "sample string 5",
            "teacherName": "sample string 6",
            "thumbnail": "sample string 7",
            "hasPractice": true
          },
          {
            "practice": {
              "questions": [
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                }
              ]
            },
            "videos": [
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              }
            ],
            "canLearn": true,
            "isLearned": true,
            "subjectId": 3,
            "lessonId": 4,
            "lessonName": "sample string 5",
            "teacherName": "sample string 6",
            "thumbnail": "sample string 7",
            "hasPractice": true
          },
          {
            "practice": {
              "questions": [
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                }
              ]
            },
            "videos": [
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              }
            ],
            "canLearn": true,
            "isLearned": true,
            "subjectId": 3,
            "lessonId": 4,
            "lessonName": "sample string 5",
            "teacherName": "sample string 6",
            "thumbnail": "sample string 7",
            "hasPractice": true
          }
        ],
        "subjectId": 3,
        "subjectName": "sample string 4"
      },
      {
        "isFinished": true,
        "finishedMsg": "sample string 2",
        "keyFinishedMsg": [
          "sample string 1",
          "sample string 2",
          "sample string 3"
        ],
        "lessons": [
          {
            "practice": {
              "questions": [
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                }
              ]
            },
            "videos": [
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              }
            ],
            "canLearn": true,
            "isLearned": true,
            "subjectId": 3,
            "lessonId": 4,
            "lessonName": "sample string 5",
            "teacherName": "sample string 6",
            "thumbnail": "sample string 7",
            "hasPractice": true
          },
          {
            "practice": {
              "questions": [
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                }
              ]
            },
            "videos": [
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              }
            ],
            "canLearn": true,
            "isLearned": true,
            "subjectId": 3,
            "lessonId": 4,
            "lessonName": "sample string 5",
            "teacherName": "sample string 6",
            "thumbnail": "sample string 7",
            "hasPractice": true
          },
          {
            "practice": {
              "questions": [
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                },
                {
                  "id": 1,
                  "question": "sample string 2",
                  "image": "sample string 3",
                  "imageWidth": 4,
                  "imageHeight": 5,
                  "options": [
                    "sample string 1",
                    "sample string 2",
                    "sample string 3"
                  ],
                  "answer": [
                    1,
                    2,
                    3
                  ]
                }
              ]
            },
            "videos": [
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              },
              {
                "isWatched": true,
                "videoSecondsTxt": "00:00:07",
                "videoId": 2,
                "lessonId": 3,
                "videoName": "sample string 4",
                "playOrder": 5,
                "videoThumbnail": "sample string 6",
                "videoSeconds": 7,
                "playUrl": "sample string 8",
                "extension": "sample string 9"
              }
            ],
            "canLearn": true,
            "isLearned": true,
            "subjectId": 3,
            "lessonId": 4,
            "lessonName": "sample string 5",
            "teacherName": "sample string 6",
            "thumbnail": "sample string 7",
            "hasPractice": true
          }
        ],
        "subjectId": 3,
        "subjectName": "sample string 4"
      }
    ]
  },
  "status": 0,
  "friendlyMessage": "sample string 1",
  "message": "sample string 2",
  "requestId": "ccddd2c35a3a40129a3836cdeb7529bf",
  "appOwnerId": 0
}