POST api/GetProductList
查询产品中心
Request Information
URI Parameters
None.
Body Parameters
GetProductListParams| Name | Description | Type | Additional information |
|---|---|---|---|
| BuyCompanyID |
买方公司id |
integer |
None. |
| SendCompanyID |
终端公司id |
integer |
None. |
| ContractID |
合约id |
integer |
None. |
| BrandID |
品牌id |
integer |
None. |
| MaterialTypeID |
类型id |
integer |
None. |
| MaterialSubTypeID |
子类id |
integer |
None. |
| KeyWords |
关键字搜索 |
string |
None. |
| PageIndex |
页码 |
integer |
None. |
| PageSize |
每页条数 |
integer |
None. |
| IsApp |
是否appq请求 1 是 其他不是 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BuyCompanyID": 1,
"SendCompanyID": 2,
"ContractID": 3,
"BrandID": 4,
"MaterialTypeID": 5,
"MaterialSubTypeID": 6,
"KeyWords": "sample string 7",
"PageIndex": 8,
"PageSize": 9,
"IsApp": 10
}
application/xml, text/xml
Sample:
<GetProductListParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JR.SAAS.Web.API.Models"> <BrandID>4</BrandID> <BuyCompanyID>1</BuyCompanyID> <ContractID>3</ContractID> <IsApp>10</IsApp> <KeyWords>sample string 7</KeyWords> <MaterialSubTypeID>6</MaterialSubTypeID> <MaterialTypeID>5</MaterialTypeID> <PageIndex>8</PageIndex> <PageSize>9</PageSize> <SendCompanyID>2</SendCompanyID> </GetProductListParams>
Response Information
Resource Description
查询产品中心
ApiRet| Name | Description | Type | Additional information |
|---|---|---|---|
| RetCode |
状态码 |
string |
None. |
| RetMsg |
状态描述 |
string |
None. |
| Message |
数据实体 |
Object |
None. |
| Total |
查询结果所有页的总条数 |
integer |
None. |
| TotalPage |
总页数 |
integer |
None. |
| Redirect |
需重定向的地址 |
string |
None. |
| FieldStr |
列表字段管理 |
Object |
None. |
| CurrentTime |
当前时间 |
date |
None. |
| IDX |
主键 |
integer |
None. |
| DelFlag |
删除标识 0未删除 1:已删除 |
integer |
None. |
| PageIndex |
列表请求参数 |
integer |
None. |
| PageSize |
列表请求参数 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"RetCode": "sample string 1",
"RetMsg": "sample string 2",
"Message": {},
"Total": 4,
"TotalPage": 5,
"Redirect": "sample string 6",
"FieldStr": {},
"CurrentTime": "2026-04-05 22:34:23",
"IDX": 9,
"DelFlag": 10,
"PageIndex": 11,
"PageSize": 12
}
application/xml, text/xml
Sample:
<ApiRet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JR.SAAS.Models.Common"> <_x003C_DelFlag_x003E_k__BackingField>10</_x003C_DelFlag_x003E_k__BackingField> <_x003C_IDX_x003E_k__BackingField>9</_x003C_IDX_x003E_k__BackingField> <_x003C_PageIndex_x003E_k__BackingField>11</_x003C_PageIndex_x003E_k__BackingField> <_x003C_PageSize_x003E_k__BackingField>12</_x003C_PageSize_x003E_k__BackingField> <CurrentTime>2026-04-05T22:34:23.0688277+08:00</CurrentTime> <FieldStr /> <Message /> <Redirect>sample string 6</Redirect> <RetCode>sample string 1</RetCode> <RetMsg>sample string 2</RetMsg> <Total>4</Total> <TotalPage>5</TotalPage> </ApiRet>