GET api/Home/GetTheBestGroupItems

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of GroupViewModel
NameDescriptionTypeAdditional information
Group

Group

None.

Items

Collection of SearchResultItem

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Group": {
      "$id": "2",
      "GroupID": 1,
      "Name": "sample string 2",
      "Status": true,
      "Color": "sample string 4",
      "Icon": "sample string 5",
      "Path": "sample string 6",
      "Image": "sample string 7",
      "BackgroundImage": "sample string 8",
      "NumOfCourse": 9,
      "NumOfStudents": 10,
      "ParentID": 1,
      "Description": "sample string 11",
      "IsSsuggestion": true,
      "IsNewFeatured": true,
      "Priority": 14,
      "SpecialImageId": 1,
      "SpecialImage": "sample string 15",
      "SubGroups": [
        {
          "$ref": "2"
        },
        {
          "$ref": "2"
        }
      ]
    },
    "Items": [
      {
        "$id": "3",
        "Id": 1,
        "Name": "sample string 2",
        "Introduction": "sample string 3",
        "GroupName": "sample string 4",
        "ImageURL": "sample string 5",
        "Rating": 1.1,
        "RatingCount": 6,
        "Price": 7,
        "OldPrice": 8,
        "Priority": 9,
        "Level": 10,
        "IsPackage": true,
        "CoursesCount": 12,
        "NumberOfStudents": 13,
        "EnrolID": 1,
        "UserStatus": 14,
        "Progress": 15.1,
        "Score": 16.1,
        "PassScore": 17.1,
        "InPackageId": 1,
        "PackageOrderNumber": 18,
        "ContentProgresses": [
          {
            "$id": "4",
            "EnrolId": 1,
            "Type": 1,
            "TotalCount": 2,
            "PassedCount": 3
          },
          {
            "$ref": "4"
          }
        ],
        "TeacherId": 19,
        "TeacherName": "sample string 20",
        "TeacherImageURL": "sample string 21",
        "CourseLength": 22,
        "Comments": "sample string 23",
        "HasCertificate": true,
        "UserRate": 25.1,
        "HasParticipatedInSurvey": true,
        "ImagePath": "sample string 5",
        "CourseID": 1
      },
      {
        "$ref": "3"
      }
    ]
  },
  {
    "$ref": "1"
  }
]