Get a list of users mapped to groups in LearnCenter

get

/learn.rest/v1/learnCenters/{learnCenterId}/groups/{groupId}/users

Request

Path Parameters
Query Parameters
  • Specifies how many items should be returned in a payload. Must be lower than server default limit size.
  • Specify the starting point of the response.
    Default Value: 0
  • If set to true, the payload includes the total number of rows that satisfies the request. The use of this parameter determines if the 'last' link is displayed for a pageable collection.
Back to Top

Response

Supported Media Types

200 Response

Group users collection fetched.
Body ()
Root Schema : GroupUsersResponse
Type: object
Group users response object.
Show Source
Example:
{
    "items":[
        {
            "groupId":1232,
            "group":{
                "links":[
                    {
                        "rel":"canonical",
                        "href":"https://{url}/learn.rest/v1/learnCenters/178942/groups/1232"
                    }
                ]
            },
            "userId":1120778,
            "user":{
                "links":[
                    {
                        "rel":"canonical",
                        "href":"https://{url}/learn.rest/v1/users/1120778"
                    }
                ]
            },
            "statusFlag":true,
            "excludeFlag":false,
            "links":[
                {
                    "rel":"canonical",
                    "href":"https://{url}/learn.rest/v1/learnCenters/178942/groups/1232/users/1120778"
                }
            ]
        },
        {
            "...":null
        }
    ],
    "limit":100,
    "count":1,
    "hasMore":false,
    "links":[
        {
            "rel":"canonical",
            "href":"..learnCenters/178942/groups/1232/users"
        }
    ]
}
Nested Schema : GroupUserResponse
Type: object
Response object for group user mappings.
Show Source
Nested Schema : group
Type: object
Details of the group being mapped.
Show Source
Nested Schema : user
Type: object
The user object used for group user mappings.
Show Source
Nested Schema : GroupLinkItem
Type: object
Link to a group item.
Show Source
Example:
{
    "rel":"canonical",
    "href":"{url}/learn.rest/v1/learnCenters/178409/groups/456"
}
Nested Schema : GroupUserLinkItem
Type: object
Object comprising links to the users in the group.
Show Source
  • Example: {url}/learn.rest/v1/learnCenter/{learnCenterId}/groups/{groupId}/users/{userId}
  • Example: canonical
Example:
{
    "rel":"canonical",
    "href":"{url}/learn.rest/v1/learnCenter/178409/groups/456/users/112867"
}
Nested Schema : UserLinkItem
Type: object
Object of the User Link Item.
Show Source
Example:
{
    "rel":"canonical",
    "href":"{url}/learn.rest/v1/users/456"
}

401 Response

Authentication refused for provided credentials or token invalid.
Headers

500 Response

Internal server error.
Back to Top