POST api/AdminService/UpdateSubCategoryDetails

Documentation for 'UpdateSubCategoryDetails'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "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
}

application/xml, text/xml

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

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 'SubCategory'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "Message": {
    "Success": true
  }
}

application/xml, text/xml

Sample:
<ResponseBaseOfExecutionStatusyiGVY2vN 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">
    <d2p1:Success>true</d2p1:Success>
  </Message>
  <status>sample string 1</status>
</ResponseBaseOfExecutionStatusyiGVY2vN>