GET api/OpenWebApi/GetProductList?UserCode={UserCode}&PageIndex={PageIndex}&PageSize={PageSize}

获取用户产品信息列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserCode

用户代码,必填

string

Required

PageIndex

当前页

integer

Default value is 1

PageSize

分页条数,最大200条

integer

Default value is 50

Body Parameters

None.

Response Information

Resource Description

ResultOfProductInfoResult
NameDescriptionTypeAdditional information
Status

ResultStatusCode

None.

Msg

string

None.

Data

ProductInfoResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 200,
  "Msg": "sample string 1",
  "Data": {
    "PageIndex": 1,
    "PageSize": 2,
    "PageCount": 3,
    "DataCount": 4,
    "List": [
      {
        "UserCode": "sample string 1",
        "SellerSKU": "sample string 2",
        "UserSKU": "sample string 3",
        "ProductName": "sample string 4",
        "ProductEnName": "sample string 5",
        "ModelType": "sample string 6",
        "Length": 1.0,
        "Width": 1.0,
        "Height": 1.0,
        "Weight": 1.0,
        "DeclaredValue": 1.0,
        "ImageFilePath": "sample string 7"
      },
      {
        "UserCode": "sample string 1",
        "SellerSKU": "sample string 2",
        "UserSKU": "sample string 3",
        "ProductName": "sample string 4",
        "ProductEnName": "sample string 5",
        "ModelType": "sample string 6",
        "Length": 1.0,
        "Width": 1.0,
        "Height": 1.0,
        "Weight": 1.0,
        "DeclaredValue": 1.0,
        "ImageFilePath": "sample string 7"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResultOfProductInfoResultlT2OjdAF xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpenWebApi.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/OpenWebApi.Models.Response">
    <d2p1:DataCount>4</d2p1:DataCount>
    <d2p1:List>
      <d2p1:ProductInfo>
        <d2p1:DeclaredValue>1</d2p1:DeclaredValue>
        <d2p1:Height>1</d2p1:Height>
        <d2p1:ImageFilePath>sample string 7</d2p1:ImageFilePath>
        <d2p1:Length>1</d2p1:Length>
        <d2p1:ModelType>sample string 6</d2p1:ModelType>
        <d2p1:ProductEnName>sample string 5</d2p1:ProductEnName>
        <d2p1:ProductName>sample string 4</d2p1:ProductName>
        <d2p1:SellerSKU>sample string 2</d2p1:SellerSKU>
        <d2p1:UserCode>sample string 1</d2p1:UserCode>
        <d2p1:UserSKU>sample string 3</d2p1:UserSKU>
        <d2p1:Weight>1</d2p1:Weight>
        <d2p1:Width>1</d2p1:Width>
      </d2p1:ProductInfo>
      <d2p1:ProductInfo>
        <d2p1:DeclaredValue>1</d2p1:DeclaredValue>
        <d2p1:Height>1</d2p1:Height>
        <d2p1:ImageFilePath>sample string 7</d2p1:ImageFilePath>
        <d2p1:Length>1</d2p1:Length>
        <d2p1:ModelType>sample string 6</d2p1:ModelType>
        <d2p1:ProductEnName>sample string 5</d2p1:ProductEnName>
        <d2p1:ProductName>sample string 4</d2p1:ProductName>
        <d2p1:SellerSKU>sample string 2</d2p1:SellerSKU>
        <d2p1:UserCode>sample string 1</d2p1:UserCode>
        <d2p1:UserSKU>sample string 3</d2p1:UserSKU>
        <d2p1:Weight>1</d2p1:Weight>
        <d2p1:Width>1</d2p1:Width>
      </d2p1:ProductInfo>
    </d2p1:List>
    <d2p1:PageCount>3</d2p1:PageCount>
    <d2p1:PageIndex>1</d2p1:PageIndex>
    <d2p1:PageSize>2</d2p1:PageSize>
  </Data>
  <Msg>sample string 1</Msg>
  <Status>Success</Status>
</ResultOfProductInfoResultlT2OjdAF>