POST LearningPlan/Unit/Contents
Get content bundle based on unit id
Request Information
URI Parameters
None.
Body Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ItemId |
None. |
||
AccountPackage |
None. |
||
ProjectPackage |
None. |
||
AccountId |
None. |
||
ProjectId |
None. |
Request Formats
application/json, text/json
Sample:
{ "ItemId": "sample string 1", "AccountPackage": true, "ProjectPackage": true, "AccountId": "sample string 4", "ProjectId": "sample string 5" }
application/xml, text/xml
Sample:
<EntityDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkillPortal.Data.Models.Entity"> <AccountId>sample string 4</AccountId> <AccountPackage>true</AccountPackage> <ItemId>sample string 1</ItemId> <ProjectId>sample string 5</ProjectId> <ProjectPackage>true</ProjectPackage> </EntityDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage OK
Name | Description | Type | Additional information |
---|---|---|---|
ContentList |
None. |
Response Formats
application/json, text/json
Sample:
{ "ContentList": [ { "Id": 1, "UniqueId": "sample string 2", "UnitId": "sample string 3", "Expertise": "sample string 4", "Title": "sample string 5", "Duration": "sample string 6", "SourceUrl": "sample string 7", "Image": "sample string 8", "SourceType": "sample string 9", "Progress": 10.0, "Compliance": true, "AccountPackage": true, "ProjectPackage": true, "Account": "sample string 14", "Project": "sample string 15", "ItemType": "sample string 16", "IsBroken": true }, { "Id": 1, "UniqueId": "sample string 2", "UnitId": "sample string 3", "Expertise": "sample string 4", "Title": "sample string 5", "Duration": "sample string 6", "SourceUrl": "sample string 7", "Image": "sample string 8", "SourceType": "sample string 9", "Progress": 10.0, "Compliance": true, "AccountPackage": true, "ProjectPackage": true, "Account": "sample string 14", "Project": "sample string 15", "ItemType": "sample string 16", "IsBroken": true } ] }
application/xml, text/xml
Sample:
<Contents xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkillPortal.Data.Models"> <ContentList> <Content> <Account>sample string 14</Account> <AccountPackage>true</AccountPackage> <Compliance>true</Compliance> <Duration>sample string 6</Duration> <Expertise>sample string 4</Expertise> <Id>1</Id> <Image>sample string 8</Image> <IsBroken>true</IsBroken> <ItemType>sample string 16</ItemType> <Progress>10</Progress> <Project>sample string 15</Project> <ProjectPackage>true</ProjectPackage> <SourceType>sample string 9</SourceType> <SourceUrl>sample string 7</SourceUrl> <Title>sample string 5</Title> <UniqueId>sample string 2</UniqueId> <UnitId>sample string 3</UnitId> </Content> <Content> <Account>sample string 14</Account> <AccountPackage>true</AccountPackage> <Compliance>true</Compliance> <Duration>sample string 6</Duration> <Expertise>sample string 4</Expertise> <Id>1</Id> <Image>sample string 8</Image> <IsBroken>true</IsBroken> <ItemType>sample string 16</ItemType> <Progress>10</Progress> <Project>sample string 15</Project> <ProjectPackage>true</ProjectPackage> <SourceType>sample string 9</SourceType> <SourceUrl>sample string 7</SourceUrl> <Title>sample string 5</Title> <UniqueId>sample string 2</UniqueId> <UnitId>sample string 3</UnitId> </Content> </ContentList> </Contents>