POST User/MandatoryLP/{role}
Assign item to LP by CDM or ACM/PCM
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
role |
Required |
Body Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UserIds |
None. |
||
itemId |
None. |
||
itemType |
None. |
||
itemName |
None. |
||
itemExpertise |
None. |
||
duration |
None. |
||
dueDate |
None. |
||
assignorId |
None. |
||
CDMIntentOfAssigning |
None. |
||
IsAssigneeOnBench |
None. |
||
IntentId |
None. |
||
IntentDescription |
None. |
||
IsAssigned |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserIds": [ "sample string 1", "sample string 2" ], "itemId": 1, "itemType": "sample string 2", "itemName": "sample string 3", "itemExpertise": "sample string 4", "duration": "sample string 5", "dueDate": "2024-11-21T09:40:55.2915373+00:00", "assignorId": "sample string 7", "CDMIntentOfAssigning": "sample string 8", "IsAssigneeOnBench": true, "IntentId": 10, "IntentDescription": "sample string 11", "IsAssigned": true }
application/xml, text/xml
Sample:
<MandatoryLearningPath xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkillPortal.Data.Models"> <IsAssigned>true</IsAssigned> <CDMIntentOfAssigning>sample string 8</CDMIntentOfAssigning> <IntentDescription>sample string 11</IntentDescription> <IntentId>10</IntentId> <IsAssigneeOnBench>true</IsAssigneeOnBench> <UserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </UserIds> <assignorId>sample string 7</assignorId> <dueDate>2024-11-21T09:40:55.2915373+00:00</dueDate> <duration>sample string 5</duration> <itemExpertise>sample string 4</itemExpertise> <itemId>1</itemId> <itemName>sample string 3</itemName> <itemType>sample string 2</itemType> </MandatoryLearningPath>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response Formats
application/json, text/json
Sample:
{ "sample string 1": "sample string 2", "sample string 3": "sample string 4" }
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfstringstring> <Key>sample string 1</Key> <Value>sample string 2</Value> </KeyValueOfstringstring> <KeyValueOfstringstring> <Key>sample string 3</Key> <Value>sample string 4</Value> </KeyValueOfstringstring> </ArrayOfKeyValueOfstringstring>