GET restapi/personal/courses/{courseId}/tasks/count/v1
Retrieves followUp task count and task count for the given course for the current user.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| courseId |
Course identifier of the course to retrieve |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Object containing tasks count and followUp count
Itslearning.RestApi.Entities.PersonCourseCardTaskCount| Name | Description | Type | Additional information |
|---|---|---|---|
| FollowUpTaskCount |
The follow-up tasks in course for a person. |
integer |
None. |
| TaskCount |
The tasks in course for a person. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"FollowUpTaskCount": 1,
"TaskCount": 2
}
application/xml, text/xml
Sample:
<PersonCourseCardTaskCount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Itslearning.RestApi.Entities"> <FollowUpTaskCount>1</FollowUpTaskCount> <TaskCount>2</TaskCount> </PersonCourseCardTaskCount>