PUT api/content/v4/getcategorynewssummary

Request Information

URI Parameters

None.

Body Parameters

CategoryNewsSummaryRequest
NameDescriptionTypeAdditional information
CustomerId

integer

None.

LanguageId

integer

None.

SectionId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "LanguageId": 2,
  "SectionId": 3
}

application/xml, text/xml

Sample:
<CategoryNewsSummaryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <CustomerId>1</CustomerId>
  <LanguageId>2</LanguageId>
  <SectionId>3</SectionId>
</CategoryNewsSummaryRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APICommonWrapperOfListOfCategoryNewsSummary
NameDescriptionTypeAdditional information
Status

HttpStatusCode

None.

Message

string

None.

Data

Collection of CategoryNewsSummary

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 100,
  "Message": "sample string 1",
  "Data": [
    {
      "CategoryId": 1,
      "CategoryName": "sample string 2",
      "TotalNews": 3
    },
    {
      "CategoryId": 1,
      "CategoryName": "sample string 2",
      "TotalNews": 3
    }
  ]
}

application/xml, text/xml

Sample:
<APICommonWrapperOfArrayOfCategoryNewsSummaryMTRdQN6P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/">
    <d2p1:CategoryNewsSummary>
      <d2p1:CategoryId>1</d2p1:CategoryId>
      <d2p1:CategoryName>sample string 2</d2p1:CategoryName>
      <d2p1:TotalNews>3</d2p1:TotalNews>
    </d2p1:CategoryNewsSummary>
    <d2p1:CategoryNewsSummary>
      <d2p1:CategoryId>1</d2p1:CategoryId>
      <d2p1:CategoryName>sample string 2</d2p1:CategoryName>
      <d2p1:TotalNews>3</d2p1:TotalNews>
    </d2p1:CategoryNewsSummary>
  </Data>
  <Message>sample string 1</Message>
  <Status>Continue</Status>
</APICommonWrapperOfArrayOfCategoryNewsSummaryMTRdQN6P>