Updates a group mapped item
patch
/learn.rest/v1/learnCenters/{learnCenterId}/groups/{groupId}/mappedItems
Request
Supported Media Types
- application/json
Path Parameters
-
groupId: number
Unique identifier of a Group.
-
learnCenterId: number
Unique identifier of LearnCenter.
Group mapped item object that needs to be updated.
Root Schema : GroupMappedItemRequest
Type:
object
Request object to Group Map an item
Show Source
-
itemid:
string
Maximum Length:
50
Unique identifier of the mapped item(learning plan/job profile/skill). -
itemtype:
string
Allowed Values:
[ "learningplan", "jobprofile", "skill" ]
The item type of a Group mapped Item. -
retainMapping(optional):
boolean
Allowed Values:
[ true, false ]
Flag to retain mapping.
Example:
{
"itemid":"83767656-81b2-422d-85c8-c0a4f7972620",
"itemtype":"learningplan",
"retainmapping":true
}
Security
-
auth: basic
Type:
basic
Description:Basic Authentication
Response
Supported Media Types
- application/xml
- application/json
200 Response
Updated mapping of a group to an item.
400 Response
Request has incorrect syntax or does not contain a field that is required.
409 Response
Another resource with the same identifier already exists.
500 Response
Internal server error.