GET Admin/Units/{unitId}/Contents

Get all contents

Request Information

URI Parameters

NameDescriptionTypeAdditional information
unitId

Required

Body Parameters

None.

Response Information

Resource Description

Contents

NameDescriptionTypeAdditional 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>