GET api/WareProduct/GetProductCategoryListByName?wareId={wareId}&productName={productName}

仓库商品检索

Request Information

URI Parameters

NameDescriptionTypeAdditional information
wareId

仓库ID

string

Required

productName

商品名称

string

Default value is

Body Parameters

None.

Response Information

Resource Description

InfoResultOfListOfMallProductInfoMobDto
NameDescriptionTypeAdditional information
Data

Collection of MallProductInfoMobDto

None.

IsSuccess

是否成功:true:成功,false:失败

boolean

None.

Msg

返回消息

string

None.

Extra

特定信息

string

None.

Code

内部代码:[成功 000000|失败 000001|未登陆/未授权 000002]

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "WareId": "sample string 1",
      "WareName": "sample string 2",
      "ProductId": "sample string 3",
      "ProductName": "sample string 4",
      "BanerId": 5,
      "BanerName": "sample string 6",
      "ProductType": 7,
      "ProductTypeName": "sample string 8",
      "Specs": "sample string 9",
      "Stock": 1,
      "Price": 1.0,
      "IsShelf": true,
      "ContactInfo": "sample string 10",
      "Lng": 11.0,
      "Lat": 12.0,
      "Address": "sample string 13",
      "Remark": "sample string 14",
      "WareProductCreateTime": "sample string 15",
      "productImageList": [
        {
          "Id": 1,
          "BusinessCode": "sample string 2",
          "AttachName": "sample string 3",
          "AttachUrl": "sample string 4"
        },
        {
          "Id": 1,
          "BusinessCode": "sample string 2",
          "AttachName": "sample string 3",
          "AttachUrl": "sample string 4"
        }
      ]
    },
    {
      "WareId": "sample string 1",
      "WareName": "sample string 2",
      "ProductId": "sample string 3",
      "ProductName": "sample string 4",
      "BanerId": 5,
      "BanerName": "sample string 6",
      "ProductType": 7,
      "ProductTypeName": "sample string 8",
      "Specs": "sample string 9",
      "Stock": 1,
      "Price": 1.0,
      "IsShelf": true,
      "ContactInfo": "sample string 10",
      "Lng": 11.0,
      "Lat": 12.0,
      "Address": "sample string 13",
      "Remark": "sample string 14",
      "WareProductCreateTime": "sample string 15",
      "productImageList": [
        {
          "Id": 1,
          "BusinessCode": "sample string 2",
          "AttachName": "sample string 3",
          "AttachUrl": "sample string 4"
        },
        {
          "Id": 1,
          "BusinessCode": "sample string 2",
          "AttachName": "sample string 3",
          "AttachUrl": "sample string 4"
        }
      ]
    }
  ],
  "IsSuccess": true,
  "Msg": "sample string 2",
  "Extra": "sample string 3",
  "Code": "sample string 4"
}

application/xml, text/xml

Sample:
<InfoResultOfArrayOfMallProductInfoMobDto8taVmWcU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMS.Core.ShareData">
  <Code>sample string 4</Code>
  <Extra>sample string 3</Extra>
  <IsSuccess>true</IsSuccess>
  <Msg>sample string 2</Msg>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/CMS.Domain.Dto">
    <d2p1:MallProductInfoMobDto>
      <d2p1:Address>sample string 13</d2p1:Address>
      <d2p1:BanerId>5</d2p1:BanerId>
      <d2p1:BanerName>sample string 6</d2p1:BanerName>
      <d2p1:ContactInfo>sample string 10</d2p1:ContactInfo>
      <d2p1:IsShelf>true</d2p1:IsShelf>
      <d2p1:Lat>12</d2p1:Lat>
      <d2p1:Lng>11</d2p1:Lng>
      <d2p1:Price>1</d2p1:Price>
      <d2p1:ProductId>sample string 3</d2p1:ProductId>
      <d2p1:ProductName>sample string 4</d2p1:ProductName>
      <d2p1:ProductType>7</d2p1:ProductType>
      <d2p1:ProductTypeName>sample string 8</d2p1:ProductTypeName>
      <d2p1:Remark>sample string 14</d2p1:Remark>
      <d2p1:Specs>sample string 9</d2p1:Specs>
      <d2p1:Stock>1</d2p1:Stock>
      <d2p1:WareId>sample string 1</d2p1:WareId>
      <d2p1:WareName>sample string 2</d2p1:WareName>
      <d2p1:WareProductCreateTime>sample string 15</d2p1:WareProductCreateTime>
      <d2p1:productImageList>
        <d2p1:MallProductImageInfoDto>
          <d2p1:AttachName>sample string 3</d2p1:AttachName>
          <d2p1:AttachUrl>sample string 4</d2p1:AttachUrl>
          <d2p1:BusinessCode>sample string 2</d2p1:BusinessCode>
          <d2p1:Id>1</d2p1:Id>
        </d2p1:MallProductImageInfoDto>
        <d2p1:MallProductImageInfoDto>
          <d2p1:AttachName>sample string 3</d2p1:AttachName>
          <d2p1:AttachUrl>sample string 4</d2p1:AttachUrl>
          <d2p1:BusinessCode>sample string 2</d2p1:BusinessCode>
          <d2p1:Id>1</d2p1:Id>
        </d2p1:MallProductImageInfoDto>
      </d2p1:productImageList>
    </d2p1:MallProductInfoMobDto>
    <d2p1:MallProductInfoMobDto>
      <d2p1:Address>sample string 13</d2p1:Address>
      <d2p1:BanerId>5</d2p1:BanerId>
      <d2p1:BanerName>sample string 6</d2p1:BanerName>
      <d2p1:ContactInfo>sample string 10</d2p1:ContactInfo>
      <d2p1:IsShelf>true</d2p1:IsShelf>
      <d2p1:Lat>12</d2p1:Lat>
      <d2p1:Lng>11</d2p1:Lng>
      <d2p1:Price>1</d2p1:Price>
      <d2p1:ProductId>sample string 3</d2p1:ProductId>
      <d2p1:ProductName>sample string 4</d2p1:ProductName>
      <d2p1:ProductType>7</d2p1:ProductType>
      <d2p1:ProductTypeName>sample string 8</d2p1:ProductTypeName>
      <d2p1:Remark>sample string 14</d2p1:Remark>
      <d2p1:Specs>sample string 9</d2p1:Specs>
      <d2p1:Stock>1</d2p1:Stock>
      <d2p1:WareId>sample string 1</d2p1:WareId>
      <d2p1:WareName>sample string 2</d2p1:WareName>
      <d2p1:WareProductCreateTime>sample string 15</d2p1:WareProductCreateTime>
      <d2p1:productImageList>
        <d2p1:MallProductImageInfoDto>
          <d2p1:AttachName>sample string 3</d2p1:AttachName>
          <d2p1:AttachUrl>sample string 4</d2p1:AttachUrl>
          <d2p1:BusinessCode>sample string 2</d2p1:BusinessCode>
          <d2p1:Id>1</d2p1:Id>
        </d2p1:MallProductImageInfoDto>
        <d2p1:MallProductImageInfoDto>
          <d2p1:AttachName>sample string 3</d2p1:AttachName>
          <d2p1:AttachUrl>sample string 4</d2p1:AttachUrl>
          <d2p1:BusinessCode>sample string 2</d2p1:BusinessCode>
          <d2p1:Id>1</d2p1:Id>
        </d2p1:MallProductImageInfoDto>
      </d2p1:productImageList>
    </d2p1:MallProductInfoMobDto>
  </Data>
</InfoResultOfArrayOfMallProductInfoMobDto8taVmWcU>