POST restapi/personal/courses/{courseId}/synchronisehierarchies/v1
Sync hierarchies to course.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
courseId |
The course identifier. |
integer |
Required |
Body Parameters
List of hierarchy IDs to sync with this course
Collection of Itslearning.RestApi.Entities.CourseHierarchyToSyncName | Description | Type | Additional information |
---|---|---|---|
HierarchyId |
Gets or sets the hierarchy identifier. |
integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "HierarchyId": 1 }, { "HierarchyId": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfCourseHierarchyToSync xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <CourseHierarchyToSync> <HierarchyId>1</HierarchyId> </CourseHierarchyToSync> <CourseHierarchyToSync> <HierarchyId>1</HierarchyId> </CourseHierarchyToSync> </ArrayOfCourseHierarchyToSync>
application/x-www-form-urlencoded
Sample:
No sample available
Response Information
Resource Description
None.