GET restapi/personal/children/{childId}/permissions/v1
Gets permissions of the parent in the child's organisation.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
childId |
Identifier of the child. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Itslearning.RestApi.Entities.ChildOrganisationPermissionsName | Description | Type | Additional information |
---|---|---|---|
CanUseMessaging |
Defines that a parent can use messages: receive and view them. |
boolean |
None. |
CanInitiateMessages |
Defines that a parent can create and send a new message. |
boolean |
None. |
CanViewCourseContent |
Defines that a parent can view course content where their children participate. |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "CanUseMessaging": true, "CanInitiateMessages": true, "CanViewCourseContent": true }
application/xml, text/xml
Sample:
<ChildOrganisationPermissions xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <CanInitiateMessages>true</CanInitiateMessages> <CanUseMessaging>true</CanUseMessaging> <CanViewCourseContent>true</CanViewCourseContent> </ChildOrganisationPermissions>