GET api/{area}/OEIndex?typeId={typeId}&shopId={shopId}
获取首页版块内容
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| typeId |
版块分类ID |
integer |
Required |
| shopId |
商城ID |
string |
Required |
| area | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of ForumInfoNew| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
版块名称 |
string |
None. |
| Type |
版块类型 |
string |
None. |
| ShowCount |
显示类型 |
string |
None. |
| IsShowName |
是否显示名称 |
string |
None. |
| MoreLink |
更多链接 |
string |
None. |
| Icon |
图标 |
string |
None. |
| Img |
图片 |
string |
None. |
| ForumInfoItemList |
版块内容 |
Collection of ForumInfoItem |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Name": "sample string 1",
"Type": "sample string 2",
"ShowCount": "sample string 3",
"IsShowName": "sample string 4",
"MoreLink": "sample string 5",
"Icon": "sample string 6",
"Img": "sample string 7",
"ForumInfoItemList": [
{
"Subtitle": "sample string 1",
"Price": "sample string 2",
"IsShowTitle": "sample string 3",
"Type": 4,
"SaleCount": "sample string 5",
"LikeCount": 6,
"CommentCount": 7,
"CreateTime": "sample string 8",
"Id": "sample string 9",
"Img": "sample string 10",
"Text": "sample string 11",
"Description": "sample string 12",
"Url": "sample string 13",
"APPUrl": "sample string 14"
},
{
"Subtitle": "sample string 1",
"Price": "sample string 2",
"IsShowTitle": "sample string 3",
"Type": 4,
"SaleCount": "sample string 5",
"LikeCount": 6,
"CommentCount": 7,
"CreateTime": "sample string 8",
"Id": "sample string 9",
"Img": "sample string 10",
"Text": "sample string 11",
"Description": "sample string 12",
"Url": "sample string 13",
"APPUrl": "sample string 14"
}
]
},
{
"Name": "sample string 1",
"Type": "sample string 2",
"ShowCount": "sample string 3",
"IsShowName": "sample string 4",
"MoreLink": "sample string 5",
"Icon": "sample string 6",
"Img": "sample string 7",
"ForumInfoItemList": [
{
"Subtitle": "sample string 1",
"Price": "sample string 2",
"IsShowTitle": "sample string 3",
"Type": 4,
"SaleCount": "sample string 5",
"LikeCount": 6,
"CommentCount": 7,
"CreateTime": "sample string 8",
"Id": "sample string 9",
"Img": "sample string 10",
"Text": "sample string 11",
"Description": "sample string 12",
"Url": "sample string 13",
"APPUrl": "sample string 14"
},
{
"Subtitle": "sample string 1",
"Price": "sample string 2",
"IsShowTitle": "sample string 3",
"Type": 4,
"SaleCount": "sample string 5",
"LikeCount": 6,
"CommentCount": 7,
"CreateTime": "sample string 8",
"Id": "sample string 9",
"Img": "sample string 10",
"Text": "sample string 11",
"Description": "sample string 12",
"Url": "sample string 13",
"APPUrl": "sample string 14"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfForumInfoNew xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Areas.OnlineEducation.Models">
<ForumInfoNew>
<ForumInfoItemList>
<ForumInfoItem>
<APPUrl xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 14</APPUrl>
<Description xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 12</Description>
<Id xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 9</Id>
<Img xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 10</Img>
<Text xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 11</Text>
<Url xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 13</Url>
<CommentCount>7</CommentCount>
<CreateTime>sample string 8</CreateTime>
<IsShowTitle>sample string 3</IsShowTitle>
<LikeCount>6</LikeCount>
<Price>sample string 2</Price>
<SaleCount>sample string 5</SaleCount>
<Subtitle>sample string 1</Subtitle>
<Type>4</Type>
</ForumInfoItem>
<ForumInfoItem>
<APPUrl xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 14</APPUrl>
<Description xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 12</Description>
<Id xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 9</Id>
<Img xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 10</Img>
<Text xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 11</Text>
<Url xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 13</Url>
<CommentCount>7</CommentCount>
<CreateTime>sample string 8</CreateTime>
<IsShowTitle>sample string 3</IsShowTitle>
<LikeCount>6</LikeCount>
<Price>sample string 2</Price>
<SaleCount>sample string 5</SaleCount>
<Subtitle>sample string 1</Subtitle>
<Type>4</Type>
</ForumInfoItem>
</ForumInfoItemList>
<Icon>sample string 6</Icon>
<Img>sample string 7</Img>
<IsShowName>sample string 4</IsShowName>
<MoreLink>sample string 5</MoreLink>
<Name>sample string 1</Name>
<ShowCount>sample string 3</ShowCount>
<Type>sample string 2</Type>
</ForumInfoNew>
<ForumInfoNew>
<ForumInfoItemList>
<ForumInfoItem>
<APPUrl xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 14</APPUrl>
<Description xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 12</Description>
<Id xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 9</Id>
<Img xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 10</Img>
<Text xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 11</Text>
<Url xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 13</Url>
<CommentCount>7</CommentCount>
<CreateTime>sample string 8</CreateTime>
<IsShowTitle>sample string 3</IsShowTitle>
<LikeCount>6</LikeCount>
<Price>sample string 2</Price>
<SaleCount>sample string 5</SaleCount>
<Subtitle>sample string 1</Subtitle>
<Type>4</Type>
</ForumInfoItem>
<ForumInfoItem>
<APPUrl xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 14</APPUrl>
<Description xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 12</Description>
<Id xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 9</Id>
<Img xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 10</Img>
<Text xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 11</Text>
<Url xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 13</Url>
<CommentCount>7</CommentCount>
<CreateTime>sample string 8</CreateTime>
<IsShowTitle>sample string 3</IsShowTitle>
<LikeCount>6</LikeCount>
<Price>sample string 2</Price>
<SaleCount>sample string 5</SaleCount>
<Subtitle>sample string 1</Subtitle>
<Type>4</Type>
</ForumInfoItem>
</ForumInfoItemList>
<Icon>sample string 6</Icon>
<Img>sample string 7</Img>
<IsShowName>sample string 4</IsShowName>
<MoreLink>sample string 5</MoreLink>
<Name>sample string 1</Name>
<ShowCount>sample string 3</ShowCount>
<Type>sample string 2</Type>
</ForumInfoNew>
</ArrayOfForumInfoNew>