POST Users/AddRole

Users/AddRole

Request Information

URI Parameters

None.

Body Parameters

NameDescriptionTypeAdditional information
UserIds

None.

Role

None.

Request Formats

application/json, text/json

Sample:
{
  "UserIds": [
    "sample string 1",
    "sample string 2"
  ],
  "Role": "sample string 1"
}

application/xml, text/xml

Sample:
<UsersRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkillPortal.Data.Models">
  <Role>sample string 1</Role>
  <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>
</UsersRole>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NameDescriptionTypeAdditional information
PackageProgress

None.

LearningPathProgress

None.

UserProgress

None.

CourseProgress

None.

Response Formats

application/json, text/json

Sample:
{
  "PackageProgress": "sample string 1",
  "LearningPathProgress": "sample string 2",
  "UserProgress": "sample string 3",
  "CourseProgress": "sample string 4"
}

application/xml, text/xml

Sample:
<Progress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkillPortal.Data.Models">
  <CourseProgress>sample string 4</CourseProgress>
  <LearningPathProgress>sample string 2</LearningPathProgress>
  <PackageProgress>sample string 1</PackageProgress>
  <UserProgress>sample string 3</UserProgress>
</Progress>