GET api/Category/GetCategoryAdByid?categoryId={categoryId}&categoryType={categoryType}

根据分类id获取分类广告信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
categoryId

分类标识

integer

Required

categoryType

内置还是非内置

CatgoryType

Default value is Custom

Body Parameters

None.

Response Information

Resource Description

根据分类id获取分类广告信息

Collection of mh163k_Category_Advertisement
NameDescriptionTypeAdditional information
Id

自增长id

integer

None.

CategoryId

分类id

integer

None.

CategoryType

分类类型

CatgoryType

None.

ADContent

广告内容

string

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<ArrayOfmh163k_Category_Advertisement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model">
  <mh163k_Category_Advertisement>
    <ADContent>sample string 3</ADContent>
    <CategoryId>2</CategoryId>
    <CategoryType>Preset</CategoryType>
    <Id>1</Id>
  </mh163k_Category_Advertisement>
  <mh163k_Category_Advertisement>
    <ADContent>sample string 3</ADContent>
    <CategoryId>2</CategoryId>
    <CategoryType>Preset</CategoryType>
    <Id>1</Id>
  </mh163k_Category_Advertisement>
</ArrayOfmh163k_Category_Advertisement>