GET api/courses/SearchCourses?orderBy={orderBy}&groupId={groupId}&institueId={institueId}&teacherId={teacherId}&skip={skip}&take={take}&userGroupCourseAccessCategory={userGroupCourseAccessCategory}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderBy

CourseSearchOrderBy

Required

groupId

integer

None.

institueId

integer

None.

teacherId

integer

None.

skip

integer

Default value is 0

take

integer

Default value is 12

userGroupCourseAccessCategory

EUserGroupCourseAccessCategory

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CourseModel
NameDescriptionTypeAdditional information
ImageURL

string

None.

TeacherName

string

None.

TeacherImage

string

None.

MovieURL

string

None.

UserStatus

integer

None.

EnrolID

integer

None.

NumberOfUsers

integer

None.

OldCourseFee

integer

None.

Rating

decimal number

None.

RatingCount

integer

None.

UserRate

integer

None.

Discountable

boolean

None.

Comments

string

None.

FilesCount

integer

None.

TeacherRating

integer

None.

TeacherCoursesCount

integer

None.

TeacherTitle

string

None.

Price

integer

None.

TeacherIntroduction

string

None.

Subtitles

Collection of ContentModel

None.

MovieID

integer

None.

CourseAccessCategory

integer

None.

IsFree

boolean

None.

IsWishList

boolean

None.

CourseID

integer

None.

Name

string

None.

CourseLength

integer

None.

CourseFee

integer

None.

ImageID

integer

None.

CourseUsage

string

None.

CourseObjectives

string

None.

CourseAudience

string

None.

TeacherID

integer

None.

Introduction

string

None.

IntroductionMovie

integer

None.

Status

boolean

None.

GroupID

integer

None.

NumberOfSession

integer

None.

CreateDate

date

None.

JalaliCreateDate

string

None.

CourseLengthDay

integer

None.

MovieScore

integer

None.

ExamScore

integer

None.

ExerciseScore

integer

None.

OfflineSessionScore

integer

None.

MinScore

integer

None.

InstitueID

integer

None.

LastUpdate

date

None.

SpecialOffer

integer

None.

WeeklySpecialOffer

boolean

None.

HasCertificate

boolean

None.

MainGroupID

integer

None.

UnLimit

boolean

None.

InSubscription

boolean

None.

HardshipLevel

EHardshipLevel

None.

Priority

integer

None.

GroupName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "ImageURL": "sample string 1",
    "TeacherName": "sample string 2",
    "TeacherImage": "sample string 3",
    "MovieURL": "https://video.danaapp.ir/api/video/intro/?filename=21",
    "UserStatus": 4,
    "EnrolID": 5,
    "NumberOfUsers": 6,
    "OldCourseFee": 1,
    "Rating": 7.1,
    "RatingCount": 8,
    "UserRate": 9,
    "Discountable": true,
    "Comments": "sample string 11",
    "FilesCount": 12,
    "TeacherRating": 13,
    "TeacherCoursesCount": 14,
    "TeacherTitle": "sample string 15",
    "Price": 24,
    "TeacherIntroduction": "sample string 16",
    "Subtitles": [
      {
        "$id": "2",
        "Url": "sample string 1",
        "Lang": "sample string 2",
        "LangName": "sample string 3"
      },
      {
        "$ref": "2"
      }
    ],
    "MovieID": 17,
    "CourseAccessCategory": 18,
    "IsFree": true,
    "IsWishList": true,
    "CourseID": 21,
    "Name": "sample string 22",
    "CourseLength": 23,
    "CourseFee": 24,
    "ImageID": 25,
    "CourseUsage": "sample string 26",
    "CourseObjectives": "sample string 27",
    "CourseAudience": "sample string 28",
    "TeacherID": 29,
    "Introduction": "sample string 30",
    "IntroductionMovie": 31,
    "Status": true,
    "GroupID": 33,
    "NumberOfSession": 34,
    "CreateDate": "2020-07-05T18:21:33.21044+04:30",
    "JalaliCreateDate": "sample string 36",
    "CourseLengthDay": 37,
    "MovieScore": 38,
    "ExamScore": 39,
    "ExerciseScore": 40,
    "OfflineSessionScore": 41,
    "MinScore": 42,
    "InstitueID": 43,
    "LastUpdate": "2020-07-05T18:21:33.2114395+04:30",
    "SpecialOffer": 45,
    "WeeklySpecialOffer": true,
    "HasCertificate": true,
    "MainGroupID": 1,
    "UnLimit": true,
    "InSubscription": true,
    "HardshipLevel": 0,
    "Priority": 50,
    "GroupName": "sample string 51"
  },
  {
    "$ref": "1"
  }
]