GET academy/categories

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

CategoryResponse
NameDescriptionTypeAdditional information
Categories

Collection of Category

None.

Locations

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "categories": [
    {
      "id": 1,
      "name": "sample string 2",
      "courses": [
        {
          "id": 1,
          "name": "sample string 2",
          "description": "sample string 3",
          "duration": "sample string 4",
          "nqfLevel": "sample string 5",
          "requirements": "sample string 6",
          "validity": "sample string 7",
          "venue": "sample string 8",
          "featuredImageUrl": "sample string 9"
        },
        {
          "id": 1,
          "name": "sample string 2",
          "description": "sample string 3",
          "duration": "sample string 4",
          "nqfLevel": "sample string 5",
          "requirements": "sample string 6",
          "validity": "sample string 7",
          "venue": "sample string 8",
          "featuredImageUrl": "sample string 9"
        }
      ],
      "description": "sample string 3",
      "featuredImageUrl": "sample string 4"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "courses": [
        {
          "id": 1,
          "name": "sample string 2",
          "description": "sample string 3",
          "duration": "sample string 4",
          "nqfLevel": "sample string 5",
          "requirements": "sample string 6",
          "validity": "sample string 7",
          "venue": "sample string 8",
          "featuredImageUrl": "sample string 9"
        },
        {
          "id": 1,
          "name": "sample string 2",
          "description": "sample string 3",
          "duration": "sample string 4",
          "nqfLevel": "sample string 5",
          "requirements": "sample string 6",
          "validity": "sample string 7",
          "venue": "sample string 8",
          "featuredImageUrl": "sample string 9"
        }
      ],
      "description": "sample string 3",
      "featuredImageUrl": "sample string 4"
    }
  ],
  "locations": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<CategoryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Academy">
  <Categories>
    <Category>
      <Courses>
        <Course>
          <Description>sample string 3</Description>
          <Duration>sample string 4</Duration>
          <FeaturedImageUrl>sample string 9</FeaturedImageUrl>
          <Id>1</Id>
          <Name>sample string 2</Name>
          <NqfLevel>sample string 5</NqfLevel>
          <Requirements>sample string 6</Requirements>
          <Validity>sample string 7</Validity>
          <Venue>sample string 8</Venue>
        </Course>
        <Course>
          <Description>sample string 3</Description>
          <Duration>sample string 4</Duration>
          <FeaturedImageUrl>sample string 9</FeaturedImageUrl>
          <Id>1</Id>
          <Name>sample string 2</Name>
          <NqfLevel>sample string 5</NqfLevel>
          <Requirements>sample string 6</Requirements>
          <Validity>sample string 7</Validity>
          <Venue>sample string 8</Venue>
        </Course>
      </Courses>
      <Description>sample string 3</Description>
      <FeaturedImageUrl>sample string 4</FeaturedImageUrl>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </Category>
    <Category>
      <Courses>
        <Course>
          <Description>sample string 3</Description>
          <Duration>sample string 4</Duration>
          <FeaturedImageUrl>sample string 9</FeaturedImageUrl>
          <Id>1</Id>
          <Name>sample string 2</Name>
          <NqfLevel>sample string 5</NqfLevel>
          <Requirements>sample string 6</Requirements>
          <Validity>sample string 7</Validity>
          <Venue>sample string 8</Venue>
        </Course>
        <Course>
          <Description>sample string 3</Description>
          <Duration>sample string 4</Duration>
          <FeaturedImageUrl>sample string 9</FeaturedImageUrl>
          <Id>1</Id>
          <Name>sample string 2</Name>
          <NqfLevel>sample string 5</NqfLevel>
          <Requirements>sample string 6</Requirements>
          <Validity>sample string 7</Validity>
          <Venue>sample string 8</Venue>
        </Course>
      </Courses>
      <Description>sample string 3</Description>
      <FeaturedImageUrl>sample string 4</FeaturedImageUrl>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </Category>
  </Categories>
  <Locations xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Locations>
</CategoryResponse>