Get a list of items mapped to a group in LearnCenter.

get

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

Request

Path Parameters
Query Parameters
  • Specify how many items should be returned in a payload. Must be lower than server default limit size.
  • Specify starting point of the response.
    Default Value: 0
  • If set to true, payload includes the total number of rows that satisfies the request. 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 owners collection fetched.
Body ()
Root Schema : GroupMappedItemsResponse
Type: object
Response object for group mapped items.
Show Source
Example:
{
    "items":[
        {
            "groupId":932,
            "group":{
                "links":[
                    {
                        "rel":"canonical",
                        "href":"https://{url}/learn.rest/v1/learnCenters/178409/groups/932"
                    }
                ]
            },
            "itemId":"bd5207ea-d3b0-433c-9e9b-cd788d764a37",
            "itemType":"learningPlan",
            "itemName":"Name of the item",
            "retainMapping":false
        },
        {
            "...":null
        }
    ],
    "limit":100,
    "count":1,
    "hasMore":false,
    "links":[
        {
            "rel":"canonical",
            "href":"https://{url}/learn.rest/v1/learnCenters/178409/groups/932/mappedItems"
        }
    ]
}
Nested Schema : GroupMappedItemResponse
Type: object
Response object for a group mapped item.
Show Source
Example:
[
    {
        "groupId":932,
        "group":{
            "links":[
                {
                    "rel":"canonical",
                    "href":"https://{url}/learn.rest/v1/learnCenters/178409/groups/932"
                }
            ]
        },
        "itemId":"bd5207ea-d3b0-433c-9e9b-cd788d764a37",
        "itemType":"learningPlan",
        "itemName":"Name of the item",
        "retainMapping":false
    }
]
Nested Schema : group
Type: object
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"
}

401 Response

Authentication refused for provided credentials or token invalid.
Headers

500 Response

Internal server error.
Back to Top