GET api/SubCategories

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of SubCategory
NameDescriptionTypeAdditional information
SubCategoryID

integer

None.

SubCategoryName

string

None.

MediaImageID

integer

None.

IsDeleted

boolean

None.

UserID

integer

None.

CreatedDate

date

None.

ModifiedDate

date

None.

CategoryID

integer

None.

ParentSubCategoryID

integer

None.

PositionNo

integer

None.

subtitle

string

None.

MediaImage

MediaImage

None.

SubCategoryAlbums

Collection of SubCategoryAlbum

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "2",
    "SubCategoryID": 1,
    "SubCategoryName": "sample string 2",
    "MediaImageID": 3,
    "IsDeleted": true,
    "UserID": 5,
    "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
    "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
    "CategoryID": 7,
    "ParentSubCategoryID": 8,
    "PositionNo": 9,
    "subtitle": "sample string 10",
    "MediaImage": {
      "$id": "3",
      "MediaImageID": 1,
      "ImageFileName": "sample string 2",
      "IsDeleted": true,
      "UserID": 4,
      "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
      "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
      "Albums": {
        "$id": "4",
        "$values": [
          {
            "$id": "5",
            "AlbumID": 1,
            "AlbumName": "sample string 2",
            "AlbumType": "sample string 3",
            "MediaImageID": 4,
            "ReleaseDate": "2018-05-10T16:09:52.2349382+00:00",
            "IsDeleted": true,
            "UserID": 6,
            "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
            "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
            "subtitle": "sample string 8",
            "MediaImage": {
              "$ref": "3"
            },
            "AlbumSongs": {
              "$id": "6",
              "$values": [
                {
                  "$id": "7",
                  "AlbumSongID": 1,
                  "AlbumID": 2,
                  "SongID": 3,
                  "IsDeleted": true,
                  "UserID": 5,
                  "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
                  "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
                  "PositionNo": 7,
                  "Album": {
                    "$ref": "5"
                  },
                  "Song": {
                    "$id": "8",
                    "SongID": 1,
                    "SongTitle": "sample string 2",
                    "Duration": "sample string 3",
                    "SongType": "sample string 4",
                    "Lyrics": "sample string 5",
                    "Details": "sample string 6",
                    "MediaSoundID": 7,
                    "IsDeleted": true,
                    "UserID": 9,
                    "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
                    "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
                    "AlbumSongs": {
                      "$id": "9",
                      "$values": [
                        {
                          "$ref": "7"
                        },
                        {
                          "$ref": "7"
                        }
                      ]
                    },
                    "MediaSound": {
                      "$id": "10",
                      "MediaSoundID": 1,
                      "SoundFileName": "sample string 2",
                      "IsDeleted": true,
                      "UserID": 4,
                      "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
                      "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
                      "Songs": {
                        "$id": "11",
                        "$values": [
                          {
                            "$ref": "8"
                          },
                          {
                            "$ref": "8"
                          }
                        ]
                      }
                    },
                    "SongArtists": {
                      "$id": "12",
                      "$values": [
                        {
                          "$id": "13",
                          "SongArtistID": 1,
                          "SongID": 2,
                          "ArtistID": 3,
                          "ArtistType": "sample string 4",
                          "IsDeleted": true,
                          "UserID": 6,
                          "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
                          "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
                          "Artist": {
                            "$id": "14",
                            "ArtistID": 1,
                            "ArtistName": "sample string 2",
                            "MediaImageID": 3,
                            "Biography": "sample string 4",
                            "IsDeleted": true,
                            "UserID": 6,
                            "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
                            "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
                            "MediaImage": {
                              "$ref": "3"
                            },
                            "SongArtists": {
                              "$id": "15",
                              "$values": [
                                {
                                  "$ref": "13"
                                },
                                {
                                  "$ref": "13"
                                }
                              ]
                            }
                          },
                          "Song": {
                            "$ref": "8"
                          }
                        },
                        {
                          "$ref": "13"
                        }
                      ]
                    },
                    "SongInFavorites": {
                      "$id": "16",
                      "$values": [
                        {
                          "$id": "17",
                          "SongInFavoriteId": 1,
                          "UserId": "sample string 2",
                          "SongId": 3,
                          "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
                          "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
                          "IsDeleted": true,
                          "Song": {
                            "$ref": "8"
                          }
                        },
                        {
                          "$ref": "17"
                        }
                      ]
                    },
                    "WeeklyTopSongs": {
                      "$id": "18",
                      "$values": [
                        {
                          "$id": "19",
                          "WeeklyTopSongID": 1,
                          "SongID": 2,
                          "PositionNo": 3,
                          "UpdatedUserID": "sample string 4",
                          "UpdatedDate": "2018-05-10T16:09:52.2349382+00:00",
                          "Song": {
                            "$ref": "8"
                          }
                        },
                        {
                          "$ref": "19"
                        }
                      ]
                    }
                  }
                },
                {
                  "$ref": "7"
                }
              ]
            },
            "CategoryAlbums": {
              "$id": "20",
              "$values": [
                {
                  "$id": "21",
                  "CategoryAlbumID": 1,
                  "CategoryID": 2,
                  "AlbumID": 3,
                  "IsDeleted": true,
                  "UserID": 5,
                  "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
                  "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
                  "PositionNo": 7,
                  "Album": {
                    "$ref": "5"
                  },
                  "Category": {
                    "$id": "22",
                    "CategoryID": 1,
                    "CategoryName": "sample string 2",
                    "MediaImageID": 1,
                    "IsDeleted": true,
                    "UserID": 1,
                    "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
                    "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
                    "RootCategoryID": 1,
                    "subtitle": "sample string 3",
                    "MediaImage": {
                      "$ref": "3"
                    },
                    "CategoryAlbums": {
                      "$id": "23",
                      "$values": [
                        {
                          "$ref": "21"
                        },
                        {
                          "$ref": "21"
                        }
                      ]
                    }
                  }
                },
                {
                  "$ref": "21"
                }
              ]
            },
            "SubCategoryAlbums": {
              "$id": "24",
              "$values": [
                {
                  "$id": "25",
                  "SubCategoryAlbumID": 1,
                  "SubCategoryID": 2,
                  "AlbumID": 3,
                  "IsDeleted": true,
                  "UserID": "sample string 5",
                  "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
                  "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
                  "PositionNo": 7,
                  "Album": {
                    "$ref": "5"
                  },
                  "SubCategory": {
                    "$ref": "2"
                  }
                },
                {
                  "$ref": "25"
                }
              ]
            },
            "AlbumRatings": {
              "$id": "26",
              "$values": [
                {
                  "$id": "27",
                  "AlbumRatingID": 1,
                  "AlbumID": 2,
                  "UserID": "sample string 3",
                  "rate": 4,
                  "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
                  "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
                  "Album": {
                    "$ref": "5"
                  }
                },
                {
                  "$ref": "27"
                }
              ]
            },
            "TreasureAlbums": {
              "$id": "28",
              "$values": [
                {
                  "$id": "29",
                  "TreasureAlbumId": 1,
                  "AlbumId": 1,
                  "Title": "sample string 2",
                  "MediaImageID": 1,
                  "IsDeleted": true,
                  "UserID": 1,
                  "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
                  "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
                  "RedirectURL": "sample string 3",
                  "Isactive": true,
                  "TreasureID": 1,
                  "Album": {
                    "$ref": "5"
                  },
                  "MediaImage": {
                    "$ref": "3"
                  },
                  "Treasure": {
                    "$id": "30",
                    "TreasureId": 1,
                    "Title": "sample string 2",
                    "Starttime": "2018-05-10T16:09:52.2349382+00:00",
                    "Endtime": "2018-05-10T16:09:52.2349382+00:00",
                    "IsDeleted": true,
                    "UserID": 1,
                    "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
                    "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
                    "Isactive": true,
                    "IsLIVE": true,
                    "TreasureAlbums": {
                      "$id": "31",
                      "$values": [
                        {
                          "$ref": "29"
                        },
                        {
                          "$ref": "29"
                        }
                      ]
                    }
                  },
                  "TreasureHistories": {
                    "$id": "32",
                    "$values": [
                      {
                        "$id": "33",
                        "Id": 1,
                        "TreasureAlbumId": 1,
                        "UserID": "sample string 2",
                        "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
                        "TreasureAlbum": {
                          "$ref": "29"
                        }
                      },
                      {
                        "$ref": "33"
                      }
                    ]
                  }
                },
                {
                  "$ref": "29"
                }
              ]
            }
          },
          {
            "$ref": "5"
          }
        ]
      },
      "Artists": {
        "$id": "34",
        "$values": [
          {
            "$ref": "14"
          },
          {
            "$ref": "14"
          }
        ]
      },
      "Categories": {
        "$id": "35",
        "$values": [
          {
            "$ref": "22"
          },
          {
            "$ref": "22"
          }
        ]
      },
      "SubCategories": {
        "$id": "36",
        "$values": [
          {
            "$ref": "2"
          },
          {
            "$ref": "2"
          }
        ]
      },
      "JalsoScreens": {
        "$id": "37",
        "$values": [
          {
            "$id": "38",
            "JalsoScreenID": 1,
            "ScreenType": "sample string 2",
            "ScreenName": "sample string 3",
            "MediaImageID": 4,
            "PositionNo": 5,
            "IsDeleted": true,
            "CreatedUserID": "sample string 7",
            "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
            "ModifiedUserID": "sample string 9",
            "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
            "MediaImage": {
              "$ref": "3"
            }
          },
          {
            "$ref": "38"
          }
        ]
      },
      "SectionItems": {
        "$id": "39",
        "$values": [
          {
            "$id": "40",
            "SectionItemID": 1,
            "SectionID": 1,
            "Title": "sample string 2",
            "Itemtype": 1,
            "image": "sample string 3",
            "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
            "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
            "UserID": 1,
            "IsDeleted": true,
            "Subtitle": "sample string 4",
            "MediaImageID": 1,
            "idofitem": 1,
            "PositionNo": 1,
            "URL": "sample string 5",
            "MediaImage": {
              "$ref": "3"
            },
            "Section": {
              "$id": "41",
              "SectionId": 1,
              "Name": "sample string 2",
              "PositionNo": 1,
              "IsDeleted": true,
              "CreatedDate": "2018-05-10T16:09:52.2349382+00:00",
              "ModifiedDate": "2018-05-10T16:09:52.2349382+00:00",
              "UserID": 1,
              "SectionItems": {
                "$id": "42",
                "$values": [
                  {
                    "$ref": "40"
                  },
                  {
                    "$ref": "40"
                  }
                ]
              }
            }
          },
          {
            "$ref": "40"
          }
        ]
      },
      "TreasureAlbums": {
        "$id": "43",
        "$values": [
          {
            "$ref": "29"
          },
          {
            "$ref": "29"
          }
        ]
      }
    },
    "SubCategoryAlbums": {
      "$id": "44",
      "$values": [
        {
          "$ref": "25"
        },
        {
          "$ref": "25"
        }
      ]
    }
  },
  {
    "$ref": "2"
  }
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.