POST api/AdminService/GetSubCategoryResponse

Documentation for 'GetSubCategoryResponse'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "SubCategoryID": 1
}

application/xml, text/xml

Sample:
<SubCategoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.MusicCategory">
  <SubCategoryID>1</SubCategoryID>
</SubCategoryRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'SubCategoryRequest'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "Message": {
    "SubCategoryDetails": {
      "CategoryID": 1,
      "SubCategoryID": 2,
      "SubCategoryName": "sample string 3",
      "Singular_Name": "sample string 4",
      "Url_Name": "sample string 5",
      "SubCategoryContentHeading": "sample string 6",
      "SubCategoryImage": "sample string 7",
      "SubCategoryVideoUrl": "sample string 8",
      "SubCategoryText": "sample string 9",
      "ShowImage": true,
      "ShowVideo": true,
      "Image_alt_text": "sample string 12",
      "IsImageUpdated": true,
      "MusicCategoryTypeId": 14,
      "MusicSubCategoryTypeId": 15
    },
    "MusicCategoryType": [
      {
        "MusicCategoryTypeId": 1,
        "MusicCategoryTypeName": "sample string 2"
      },
      {
        "MusicCategoryTypeId": 1,
        "MusicCategoryTypeName": "sample string 2"
      },
      {
        "MusicCategoryTypeId": 1,
        "MusicCategoryTypeName": "sample string 2"
      }
    ],
    "MusicSubCategoryType": [
      {
        "MusicSubCategoryTypeId": 1,
        "MusicCategoryTypeId": 2,
        "MusicSubCategoryTypeName": "sample string 3"
      },
      {
        "MusicSubCategoryTypeId": 1,
        "MusicCategoryTypeId": 2,
        "MusicSubCategoryTypeName": "sample string 3"
      },
      {
        "MusicSubCategoryTypeId": 1,
        "MusicCategoryTypeId": 2,
        "MusicSubCategoryTypeName": "sample string 3"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResponseBaseOfSubCategoryResponseovXPit8p xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.MessageBase">
  <Message xmlns:d2p1="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.MusicCategory">
    <d2p1:MusicCategoryType xmlns:d3p1="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages">
      <d3p1:MusicCategoryType>
        <d3p1:MusicCategoryTypeId>1</d3p1:MusicCategoryTypeId>
        <d3p1:MusicCategoryTypeName>sample string 2</d3p1:MusicCategoryTypeName>
      </d3p1:MusicCategoryType>
      <d3p1:MusicCategoryType>
        <d3p1:MusicCategoryTypeId>1</d3p1:MusicCategoryTypeId>
        <d3p1:MusicCategoryTypeName>sample string 2</d3p1:MusicCategoryTypeName>
      </d3p1:MusicCategoryType>
      <d3p1:MusicCategoryType>
        <d3p1:MusicCategoryTypeId>1</d3p1:MusicCategoryTypeId>
        <d3p1:MusicCategoryTypeName>sample string 2</d3p1:MusicCategoryTypeName>
      </d3p1:MusicCategoryType>
    </d2p1:MusicCategoryType>
    <d2p1:MusicSubCategoryType xmlns:d3p1="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages">
      <d3p1:MusicSubCategoryType>
        <d3p1:MusicCategoryTypeId>2</d3p1:MusicCategoryTypeId>
        <d3p1:MusicSubCategoryTypeId>1</d3p1:MusicSubCategoryTypeId>
        <d3p1:MusicSubCategoryTypeName>sample string 3</d3p1:MusicSubCategoryTypeName>
      </d3p1:MusicSubCategoryType>
      <d3p1:MusicSubCategoryType>
        <d3p1:MusicCategoryTypeId>2</d3p1:MusicCategoryTypeId>
        <d3p1:MusicSubCategoryTypeId>1</d3p1:MusicSubCategoryTypeId>
        <d3p1:MusicSubCategoryTypeName>sample string 3</d3p1:MusicSubCategoryTypeName>
      </d3p1:MusicSubCategoryType>
      <d3p1:MusicSubCategoryType>
        <d3p1:MusicCategoryTypeId>2</d3p1:MusicCategoryTypeId>
        <d3p1:MusicSubCategoryTypeId>1</d3p1:MusicSubCategoryTypeId>
        <d3p1:MusicSubCategoryTypeName>sample string 3</d3p1:MusicSubCategoryTypeName>
      </d3p1:MusicSubCategoryType>
    </d2p1:MusicSubCategoryType>
    <d2p1:SubCategoryDetails>
      <d2p1:CategoryID>1</d2p1:CategoryID>
      <d2p1:Image_alt_text>sample string 12</d2p1:Image_alt_text>
      <d2p1:IsImageUpdated>true</d2p1:IsImageUpdated>
      <d2p1:MusicCategoryTypeId>14</d2p1:MusicCategoryTypeId>
      <d2p1:MusicSubCategoryTypeId>15</d2p1:MusicSubCategoryTypeId>
      <d2p1:ShowImage>true</d2p1:ShowImage>
      <d2p1:ShowVideo>true</d2p1:ShowVideo>
      <d2p1:Singular_Name>sample string 4</d2p1:Singular_Name>
      <d2p1:SubCategoryContentHeading>sample string 6</d2p1:SubCategoryContentHeading>
      <d2p1:SubCategoryID>2</d2p1:SubCategoryID>
      <d2p1:SubCategoryImage>sample string 7</d2p1:SubCategoryImage>
      <d2p1:SubCategoryName>sample string 3</d2p1:SubCategoryName>
      <d2p1:SubCategoryText>sample string 9</d2p1:SubCategoryText>
      <d2p1:SubCategoryVideoUrl>sample string 8</d2p1:SubCategoryVideoUrl>
      <d2p1:Url_Name>sample string 5</d2p1:Url_Name>
    </d2p1:SubCategoryDetails>
  </Message>
  <status>sample string 1</status>
</ResponseBaseOfSubCategoryResponseovXPit8p>