GET api/v1/ShotClass/GetMostLikedClasses?FromDate={FromDate}&ToDate={ToDate}&locale={locale}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
FromDate | date |
Required |
|
ToDate | date |
Required |
|
locale | string |
Default value is |
|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of CourseLikedDetailsName | Description | Type | Additional information |
---|---|---|---|
ClassName | string |
None. |
|
NumberOfLikes | integer |
None. |
|
ClassId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ClassName": "sample string 1", "NumberOfLikes": 2, "ClassId": 3 }, { "ClassName": "sample string 1", "NumberOfLikes": 2, "ClassId": 3 } ]
text/html
Sample:
[{"ClassName":"sample string 1","NumberOfLikes":2,"ClassId":3},{"ClassName":"sample string 1","NumberOfLikes":2,"ClassId":3}]
text/xml
Sample:
<ArrayOfCourseLikedDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models"> <CourseLikedDetails> <ClassId>3</ClassId> <ClassName>sample string 1</ClassName> <NumberOfLikes>2</NumberOfLikes> </CourseLikedDetails> <CourseLikedDetails> <ClassId>3</ClassId> <ClassName>sample string 1</ClassName> <NumberOfLikes>2</NumberOfLikes> </CourseLikedDetails> </ArrayOfCourseLikedDetails>