GET LearningPlan/Packages/Unit/{learningPlanDetailed}/{unitId}

Get Contents by unitId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
learningPlanDetailed

Required

unitId

Required

Body Parameters

None.

Response Information

Resource Description

HttpResponseMessage OK

NameDescriptionTypeAdditional information
Unit

None.

Response Formats

application/json, text/json

Sample:
{
  "Unit": {
    "Id": 1,
    "UniqueId": "sample string 2",
    "PackageId": "sample string 3",
    "PackageIds": [
      "sample string 1",
      "sample string 2"
    ],
    "Name": "sample string 4",
    "Description": "sample string 5",
    "TopicsCovered": "sample string 6",
    "Expertise": "sample string 7",
    "Duration": "sample string 8",
    "TotalUsers": 9,
    "TotalShares": 10,
    "TotalExperts": 11,
    "TotalLikes": 12,
    "RepoType": "sample string 13",
    "RepoId": "sample string 14",
    "IconUrl": "sample string 15",
    "ItemType": "sample string 16",
    "ContentCount": 17,
    "IntroVideo": "sample string 18",
    "IntroVideoType": "sample string 19",
    "Experts": [
      "sample string 1",
      "sample string 2"
    ],
    "Badges": {
      "BadgesList": [
        {
          "BadgeId": 1,
          "UniqueId": "sample string 2",
          "BadgeImage": "sample string 3",
          "BadgeName": "sample string 4",
          "Status": "sample string 5",
          "CourseId": "sample string 6",
          "CompletedDate": "2024-11-21T09:54:40.2169266+00:00",
          "Score": 8.0,
          "isMigrated": true,
          "IsFeedbackSet": true,
          "IsFeedbackMandatory": true,
          "IsExternalCertificate": true,
          "IsRetakeMandatory": true
        },
        {
          "BadgeId": 1,
          "UniqueId": "sample string 2",
          "BadgeImage": "sample string 3",
          "BadgeName": "sample string 4",
          "Status": "sample string 5",
          "CourseId": "sample string 6",
          "CompletedDate": "2024-11-21T09:54:40.2169266+00:00",
          "Score": 8.0,
          "isMigrated": true,
          "IsFeedbackSet": true,
          "IsFeedbackMandatory": true,
          "IsExternalCertificate": true,
          "IsRetakeMandatory": true
        }
      ]
    },
    "BadgeIds": [
      1,
      2
    ],
    "Liked": true,
    "RolePackageId": 21,
    "TechnologyPackageId": 22,
    "Internal": true,
    "WorkflowStatus": "sample string 24",
    "Vendor": "sample string 25",
    "WebLink": "sample string 26",
    "Price": "sample string 27",
    "Academy": "sample string 28",
    "Genre": "sample string 29",
    "Skill": "sample string 30",
    "CreatedDate": "2024-11-21T09:54:40.2169266+00:00",
    "ManagerApproval": true,
    "Type": "sample string 33",
    "Classroom": "sample string 34",
    "ClassroomDescription": "sample string 35",
    "Assignment": "sample string 36",
    "AssignmentDescription": "sample string 37",
    "Assessment": "sample string 38",
    "AssessmentDescription": "sample string 39",
    "PreRequisiteMandatory": "sample string 40",
    "PreRequisiteCourses": [
      {
        "courseId": 1,
        "Name": "sample string 2",
        "courseLink": "sample string 3",
        "Internal": true
      },
      {
        "courseId": 1,
        "Name": "sample string 2",
        "courseLink": "sample string 3",
        "Internal": true
      }
    ],
    "PostRecommendedCourses": [
      {
        "courseId": 1,
        "Name": "sample string 2",
        "courseLink": "sample string 3",
        "Internal": true
      },
      {
        "courseId": 1,
        "Name": "sample string 2",
        "courseLink": "sample string 3",
        "Internal": true
      }
    ],
    "Declaration": true,
    "DeclarationID": 42,
    "CourseUniqueId": "sample string 43",
    "Category": "sample string 44",
    "Account": "sample string 45",
    "Project": "sample string 46",
    "Quiz": true,
    "AccountPackage": true,
    "ProjectPackage": true,
    "YorbitCourseUniqueIds": "sample string 50",
    "AccountCourseUniqueIds": "sample string 51",
    "ProjectCourseUniqueIds": "sample string 52",
    "CoursesOrder": "sample string 53",
    "IsPreRequisiteMandatory": true,
    "NewPreRequisiteCourseIDs": "sample string 55",
    "NewPostRecommendedCourseIDs": "sample string 56",
    "ListofCourses": [
      "sample string 1",
      "sample string 2"
    ],
    "CourseCustomOrder": [
      "sample string 1",
      "sample string 2"
    ],
    "StackAndSkillsList": [
      {
        "Stack": "sample string 1",
        "Skills": [
          "sample string 1",
          "sample string 2"
        ]
      },
      {
        "Stack": "sample string 1",
        "Skills": [
          "sample string 1",
          "sample string 2"
        ]
      }
    ],
    "ProgramHighlightImage": "sample string 57",
    "IsPreAssessmentRequired": true,
    "IsHidden": true,
    "HasCustomerAccess": true,
    "ModifiedDate": "2024-11-21T09:54:40.2169266+00:00",
    "Credits": 62,
    "IsRestricted": true,
    "AcademyUniqueId": 64,
    "GenreUniqueId": 65,
    "SkillUniqueId": 66,
    "IsDraftCompleted": true,
    "DraftedBy": "sample string 68",
    "CourseStatus": "sample string 69",
    "OPMActionedBy": "sample string 70",
    "OPMActionedDate": "2024-11-21T09:54:40.2169266+00:00",
    "CourseMaterialType": "sample string 72",
    "CourseMaterialLink": "sample string 73",
    "ContentOwner": "sample string 74",
    "LearningOPMSPOC": "sample string 75"
  }
}

application/xml, text/xml

Sample:
<UnitAndContents xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkillPortal.Data.Models">
  <Unit>
    <Academy>sample string 28</Academy>
    <AcademyUniqueId>64</AcademyUniqueId>
    <Account>sample string 45</Account>
    <AccountCourseUniqueIds>sample string 51</AccountCourseUniqueIds>
    <AccountPackage>true</AccountPackage>
    <Assessment>sample string 38</Assessment>
    <AssessmentDescription>sample string 39</AssessmentDescription>
    <Assignment>sample string 36</Assignment>
    <AssignmentDescription>sample string 37</AssignmentDescription>
    <BadgeIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </BadgeIds>
    <Badges>
      <BadgesList>
        <Badge>
          <BadgeId>1</BadgeId>
          <BadgeImage>sample string 3</BadgeImage>
          <BadgeName>sample string 4</BadgeName>
          <CompletedDate>2024-11-21T09:54:40.2169266+00:00</CompletedDate>
          <CourseId>sample string 6</CourseId>
          <IsExternalCertificate>true</IsExternalCertificate>
          <IsFeedbackMandatory>true</IsFeedbackMandatory>
          <IsFeedbackSet>true</IsFeedbackSet>
          <IsRetakeMandatory>true</IsRetakeMandatory>
          <Score>8</Score>
          <Status>sample string 5</Status>
          <UniqueId>sample string 2</UniqueId>
          <isMigrated>true</isMigrated>
        </Badge>
        <Badge>
          <BadgeId>1</BadgeId>
          <BadgeImage>sample string 3</BadgeImage>
          <BadgeName>sample string 4</BadgeName>
          <CompletedDate>2024-11-21T09:54:40.2169266+00:00</CompletedDate>
          <CourseId>sample string 6</CourseId>
          <IsExternalCertificate>true</IsExternalCertificate>
          <IsFeedbackMandatory>true</IsFeedbackMandatory>
          <IsFeedbackSet>true</IsFeedbackSet>
          <IsRetakeMandatory>true</IsRetakeMandatory>
          <Score>8</Score>
          <Status>sample string 5</Status>
          <UniqueId>sample string 2</UniqueId>
          <isMigrated>true</isMigrated>
        </Badge>
      </BadgesList>
    </Badges>
    <Category>sample string 44</Category>
    <Classroom>sample string 34</Classroom>
    <ClassroomDescription>sample string 35</ClassroomDescription>
    <ContentCount>17</ContentCount>
    <ContentOwner>sample string 74</ContentOwner>
    <CourseCustomOrder xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </CourseCustomOrder>
    <CourseMaterialLink>sample string 73</CourseMaterialLink>
    <CourseMaterialType>sample string 72</CourseMaterialType>
    <CourseStatus>sample string 69</CourseStatus>
    <CourseUniqueId>sample string 43</CourseUniqueId>
    <CoursesOrder>sample string 53</CoursesOrder>
    <CreatedDate>2024-11-21T09:54:40.2169266+00:00</CreatedDate>
    <Credits>62</Credits>
    <Declaration>true</Declaration>
    <DeclarationID>42</DeclarationID>
    <Description>sample string 5</Description>
    <DraftedBy>sample string 68</DraftedBy>
    <Duration>sample string 8</Duration>
    <Expertise>sample string 7</Expertise>
    <Experts xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Experts>
    <Genre>sample string 29</Genre>
    <GenreUniqueId>65</GenreUniqueId>
    <HasCustomerAccess>true</HasCustomerAccess>
    <IconUrl>sample string 15</IconUrl>
    <Id>1</Id>
    <Internal>true</Internal>
    <IntroVideo>sample string 18</IntroVideo>
    <IntroVideoType>sample string 19</IntroVideoType>
    <IsDraftCompleted>true</IsDraftCompleted>
    <IsHidden>true</IsHidden>
    <IsPreAssessmentRequired>true</IsPreAssessmentRequired>
    <IsPreRequisiteMandatory>true</IsPreRequisiteMandatory>
    <IsRestricted>true</IsRestricted>
    <ItemType>sample string 16</ItemType>
    <LearningOPMSPOC>sample string 75</LearningOPMSPOC>
    <Liked>true</Liked>
    <ListofCourses xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </ListofCourses>
    <ManagerApproval>true</ManagerApproval>
    <ModifiedDate>2024-11-21T09:54:40.2169266+00:00</ModifiedDate>
    <Name>sample string 4</Name>
    <NewPostRecommendedCourseIDs>sample string 56</NewPostRecommendedCourseIDs>
    <NewPreRequisiteCourseIDs>sample string 55</NewPreRequisiteCourseIDs>
    <OPMActionedBy>sample string 70</OPMActionedBy>
    <OPMActionedDate>2024-11-21T09:54:40.2169266+00:00</OPMActionedDate>
    <PackageId>sample string 3</PackageId>
    <PackageIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </PackageIds>
    <PostRecommendedCourses>
      <Course>
        <Internal>true</Internal>
        <Name>sample string 2</Name>
        <courseId>1</courseId>
        <courseLink>sample string 3</courseLink>
      </Course>
      <Course>
        <Internal>true</Internal>
        <Name>sample string 2</Name>
        <courseId>1</courseId>
        <courseLink>sample string 3</courseLink>
      </Course>
    </PostRecommendedCourses>
    <PreRequisiteCourses>
      <Course>
        <Internal>true</Internal>
        <Name>sample string 2</Name>
        <courseId>1</courseId>
        <courseLink>sample string 3</courseLink>
      </Course>
      <Course>
        <Internal>true</Internal>
        <Name>sample string 2</Name>
        <courseId>1</courseId>
        <courseLink>sample string 3</courseLink>
      </Course>
    </PreRequisiteCourses>
    <PreRequisiteMandatory>sample string 40</PreRequisiteMandatory>
    <Price>sample string 27</Price>
    <ProgramHighlightImage>sample string 57</ProgramHighlightImage>
    <Project>sample string 46</Project>
    <ProjectCourseUniqueIds>sample string 52</ProjectCourseUniqueIds>
    <ProjectPackage>true</ProjectPackage>
    <Quiz>true</Quiz>
    <RepoId>sample string 14</RepoId>
    <RepoType>sample string 13</RepoType>
    <RolePackageId>21</RolePackageId>
    <Skill>sample string 30</Skill>
    <SkillUniqueId>66</SkillUniqueId>
    <StackAndSkillsList>
      <StackAndSkills>
        <Skills xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </Skills>
        <Stack>sample string 1</Stack>
      </StackAndSkills>
      <StackAndSkills>
        <Skills xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </Skills>
        <Stack>sample string 1</Stack>
      </StackAndSkills>
    </StackAndSkillsList>
    <TechnologyPackageId>22</TechnologyPackageId>
    <TopicsCovered>sample string 6</TopicsCovered>
    <TotalExperts>11</TotalExperts>
    <TotalLikes>12</TotalLikes>
    <TotalShares>10</TotalShares>
    <TotalUsers>9</TotalUsers>
    <Type>sample string 33</Type>
    <UniqueId>sample string 2</UniqueId>
    <Vendor>sample string 25</Vendor>
    <WebLink>sample string 26</WebLink>
    <WorkflowStatus>sample string 24</WorkflowStatus>
    <YorbitCourseUniqueIds>sample string 50</YorbitCourseUniqueIds>
  </Unit>
</UnitAndContents>