GET api/SectionV2/GetSectionItems

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of SectionDTO
NameDescriptionTypeAdditional information
SectionId

integer

None.

Name

string

None.

items

Collection of SectionItemDTO

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "2",
    "SectionId": 1,
    "Name": "sample string 2",
    "items": {
      "$id": "3",
      "$values": [
        {
          "$id": "4",
          "title": "sample string 1",
          "subtitle": "sample string 2",
          "itemtype": 3,
          "idofitem": 4,
          "url": "sample string 5",
          "image": "sample string 6"
        },
        {
          "$ref": "4"
        }
      ]
    }
  },
  {
    "$ref": "2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSectionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JalsoApi.ViewModel">
  <SectionDTO>
    <Name>sample string 2</Name>
    <SectionId>1</SectionId>
    <items>
      <SectionItemDTO>
        <idofitem>4</idofitem>
        <image>sample string 6</image>
        <itemtype>3</itemtype>
        <subtitle>sample string 2</subtitle>
        <title>sample string 1</title>
        <url>sample string 5</url>
      </SectionItemDTO>
      <SectionItemDTO>
        <idofitem>4</idofitem>
        <image>sample string 6</image>
        <itemtype>3</itemtype>
        <subtitle>sample string 2</subtitle>
        <title>sample string 1</title>
        <url>sample string 5</url>
      </SectionItemDTO>
    </items>
  </SectionDTO>
  <SectionDTO>
    <Name>sample string 2</Name>
    <SectionId>1</SectionId>
    <items>
      <SectionItemDTO>
        <idofitem>4</idofitem>
        <image>sample string 6</image>
        <itemtype>3</itemtype>
        <subtitle>sample string 2</subtitle>
        <title>sample string 1</title>
        <url>sample string 5</url>
      </SectionItemDTO>
      <SectionItemDTO>
        <idofitem>4</idofitem>
        <image>sample string 6</image>
        <itemtype>3</itemtype>
        <subtitle>sample string 2</subtitle>
        <title>sample string 1</title>
        <url>sample string 5</url>
      </SectionItemDTO>
    </items>
  </SectionDTO>
</ArrayOfSectionDTO>