POST api/Product/ProductInfo

产品详细(产品详细页面)

Request Information

URI Parameters

None.

Body Parameters

ProductRelatedParameter
NameDescriptionTypeAdditional information
parentId

分类父级Id

integer

None.

proId

产品Id

integer

None.

shopId

店铺Id,获取某店铺下的分类

string

None.

userId

登录的会员Id

string

None.

token

登录验证token

string

None.

page

当前页数

integer

None.

pageSize

每页数量

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "parentId": 1,
  "proId": 2,
  "shopId": "sample string 3",
  "userId": "sample string 4",
  "token": "sample string 5",
  "page": 6,
  "pageSize": 7
}

application/xml, text/xml

Sample:
<ProductRelatedParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeiXin.WebAPI.Models.ProductModels">
  <page>6</page>
  <pageSize>7</pageSize>
  <parentId>1</parentId>
  <proId>2</proId>
  <shopId>sample string 3</shopId>
  <token>sample string 5</token>
  <userId>sample string 4</userId>
</ProductRelatedParameter>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProductRelatedParameter'.

Response Information

Resource Description

产品详细(产品详细页面)

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.