POST api/RecommendGoodsAllotList
获取某活动内推荐商品列表
Request Information
URI Parameters
None.
Body Parameters
d=[PageNumber=[PageNumber int not null],PageSize=[PageSize int not null]]
UploadParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| u |
用户ID StaffID |
integer |
None. |
| t |
全局数据(加密) 1.单点登陆格式:[[用户密码,加密]|[requestTime]|[设备标识],加密] 2.其他数据通讯格式:[[用户ID]|[用户密码,加密]|[requestTime]|[设备标识],加密] |
string |
Required |
| d |
数据参数 加密(单点登陆除外) 不同API,参数格式不同 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"u": 1,
"t": "sample string 2",
"d": "sample string 3"
}
application/xml, text/xml
Sample:
<UploadParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArtizanAPI.Models"> <d>sample string 3</d> <t>sample string 2</t> <u>1</u> </UploadParameters>
application/x-www-form-urlencoded
Sample:
u=Value&t=Value&d=Value
Response Information
Resource Description
获取某活动内推荐商品列表
DataResultListOfGoodsAllotInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| DataList | Collection of GoodsAllotInfo |
None. |
|
| PageNum | integer |
None. |
|
| PageSize | integer |
None. |
|
| PageCount | integer |
None. |
|
| PreviousIndex | integer |
None. |
|
| NextIndex | integer |
None. |
|
| RecordCount | integer |
None. |
|
| Error | boolean |
None. |
|
| ErrorInfo | Collection of string |
None. |
|
| ExInfo | Exception |
None. |
Response Formats
application/json, text/json
Sample:
{
"_pageSize": 2,
"_recordCount": 3,
"_pageNum": 1,
"_error": true,
"_errorInfo": [
"sample string 1",
"sample string 2"
],
"_exInfo": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
},
"_dataList": [
{
"providerID": 1,
"title": "sample string 2",
"price": "sample string 3",
"marketPriceName": "sample string 4",
"marketPrice": "sample string 5",
"img": "sample string 6"
},
{
"providerID": 1,
"title": "sample string 2",
"price": "sample string 3",
"marketPriceName": "sample string 4",
"marketPrice": "sample string 5",
"img": "sample string 6"
}
]
}
application/xml, text/xml
Sample:
<DataResultListOfGoodsAllotInfoaMvh_PdlK xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Care365_V2.Utility">
<_dataList xmlns:d2p1="http://schemas.datacontract.org/2004/07/ArtizanAPI.Models">
<d2p1:GoodsAllotInfo>
<d2p1:img>sample string 6</d2p1:img>
<d2p1:marketPrice>sample string 5</d2p1:marketPrice>
<d2p1:marketPriceName>sample string 4</d2p1:marketPriceName>
<d2p1:price>sample string 3</d2p1:price>
<d2p1:providerID>1</d2p1:providerID>
<d2p1:title>sample string 2</d2p1:title>
</d2p1:GoodsAllotInfo>
<d2p1:GoodsAllotInfo>
<d2p1:img>sample string 6</d2p1:img>
<d2p1:marketPrice>sample string 5</d2p1:marketPrice>
<d2p1:marketPriceName>sample string 4</d2p1:marketPriceName>
<d2p1:price>sample string 3</d2p1:price>
<d2p1:providerID>1</d2p1:providerID>
<d2p1:title>sample string 2</d2p1:title>
</d2p1:GoodsAllotInfo>
</_dataList>
<_error>true</_error>
<_errorInfo xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</_errorInfo>
<_exInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
<Message i:nil="true" xmlns="" />
<Data i:nil="true" xmlns="" />
<InnerException i:nil="true" xmlns="" />
<HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
<StackTraceString i:nil="true" xmlns="" />
<RemoteStackTraceString i:nil="true" xmlns="" />
<RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
<ExceptionMethod i:nil="true" xmlns="" />
<HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
<Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
<WatsonBuckets i:nil="true" xmlns="" />
</_exInfo>
<_pageNum>1</_pageNum>
<_pageSize>2</_pageSize>
<_recordCount>3</_recordCount>
</DataResultListOfGoodsAllotInfoaMvh_PdlK>