POST Product/GetProductByCategory

Lấy danh sách sản phẩm theo loại

Request Information

URI Parameters

None.

Body Parameters

PGetProductByCategoryReq
NameDescriptionTypeAdditional information
CategoryID

integer

None.

PageNumber

integer

None.

RowspPage

integer

None.

Search

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryID": 1,
  "PageNumber": 2,
  "RowspPage": 3,
  "Search": "sample string 4"
}

application/xml, text/xml

Sample:
<PGetProductByCategoryReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://cpc1hn.vn/Export/Message/v1">
  <CategoryID>1</CategoryID>
  <PageNumber>2</PageNumber>
  <RowspPage>3</RowspPage>
  <Search>sample string 4</Search>
</PGetProductByCategoryReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PGetProductByCategoryRes
NameDescriptionTypeAdditional information
RespCode

integer

None.

RespText

string

None.

TotalRows

integer

None.

Data

Collection of Object

None.

CategoryName

string

None.

CategoryLogo

string

None.

Response Formats

application/json, text/json

Sample:
{
  "RespCode": 1,
  "RespText": "sample string 2",
  "TotalRows": 3,
  "CategoryName": "sample string 4",
  "CategoryLogo": "sample string 5"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.