POST api/ActionService/SubCategoryInfoData

Documentation for 'SubCategoryInfoData'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ConceptID": 1,
  "CountryCode": "sample string 2"
}

application/xml, text/xml

Sample:
<CountryDataRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages">
  <ConceptID>1</ConceptID>
  <CountryCode>sample string 2</CountryCode>
</CountryDataRequest>

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "Message": {
    "CategoryInfo": [
      {
        "CategoryId": 2,
        "CategoryName": "sample string 1",
        "CategoryUrl": "sample string 3"
      },
      {
        "CategoryId": 2,
        "CategoryName": "sample string 1",
        "CategoryUrl": "sample string 3"
      },
      {
        "CategoryId": 2,
        "CategoryName": "sample string 1",
        "CategoryUrl": "sample string 3"
      }
    ],
    "SubCategoryInfo": [
      {
        "CategoryID": 1,
        "SubCategoryName": "sample string 2",
        "SubCategoryUrl": "sample string 3"
      },
      {
        "CategoryID": 1,
        "SubCategoryName": "sample string 2",
        "SubCategoryUrl": "sample string 3"
      },
      {
        "CategoryID": 1,
        "SubCategoryName": "sample string 2",
        "SubCategoryUrl": "sample string 3"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResponseBaseOfSubCategoryInfoDataK8eNC3q0 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">
    <d2p1:CategoryInfo>
      <d2p1:CategoryInfo>
        <d2p1:CategoryId>2</d2p1:CategoryId>
        <d2p1:CategoryName>sample string 1</d2p1:CategoryName>
        <d2p1:CategoryUrl>sample string 3</d2p1:CategoryUrl>
      </d2p1:CategoryInfo>
      <d2p1:CategoryInfo>
        <d2p1:CategoryId>2</d2p1:CategoryId>
        <d2p1:CategoryName>sample string 1</d2p1:CategoryName>
        <d2p1:CategoryUrl>sample string 3</d2p1:CategoryUrl>
      </d2p1:CategoryInfo>
      <d2p1:CategoryInfo>
        <d2p1:CategoryId>2</d2p1:CategoryId>
        <d2p1:CategoryName>sample string 1</d2p1:CategoryName>
        <d2p1:CategoryUrl>sample string 3</d2p1:CategoryUrl>
      </d2p1:CategoryInfo>
    </d2p1:CategoryInfo>
    <d2p1:SubCategoryInfo>
      <d2p1:SubCategoryInfo>
        <d2p1:CategoryID>1</d2p1:CategoryID>
        <d2p1:SubCategoryName>sample string 2</d2p1:SubCategoryName>
        <d2p1:SubCategoryUrl>sample string 3</d2p1:SubCategoryUrl>
      </d2p1:SubCategoryInfo>
      <d2p1:SubCategoryInfo>
        <d2p1:CategoryID>1</d2p1:CategoryID>
        <d2p1:SubCategoryName>sample string 2</d2p1:SubCategoryName>
        <d2p1:SubCategoryUrl>sample string 3</d2p1:SubCategoryUrl>
      </d2p1:SubCategoryInfo>
      <d2p1:SubCategoryInfo>
        <d2p1:CategoryID>1</d2p1:CategoryID>
        <d2p1:SubCategoryName>sample string 2</d2p1:SubCategoryName>
        <d2p1:SubCategoryUrl>sample string 3</d2p1:SubCategoryUrl>
      </d2p1:SubCategoryInfo>
    </d2p1:SubCategoryInfo>
  </Message>
  <status>sample string 1</status>
</ResponseBaseOfSubCategoryInfoDataK8eNC3q0>