GET api/ProductAdmin/SkuList?pid={pid}

“SkuList”的文档。

Request Information

Parameters

NameDescriptionAdditional information
pid
“pid”的文档。

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "ProductId": 1,
      "Name": "sample string 2",
      "Desc": "sample string 3",
      "Price": 4.0,
      "AdvicePrice": 5.0,
      "OnlinePrice": 6.0,
      "CostPrice": 7.0,
      "OldPrice": 8.0,
      "Stock": 9,
      "ImgSrc": "sample string 10",
      "Id": 11,
      "PlatformId": 12,
      "Manufacturer": "sample string 13",
      "CompayNo": "sample string 14",
      "TBDate": "sample string 15"
    },
    {
      "ProductId": 1,
      "Name": "sample string 2",
      "Desc": "sample string 3",
      "Price": 4.0,
      "AdvicePrice": 5.0,
      "OnlinePrice": 6.0,
      "CostPrice": 7.0,
      "OldPrice": 8.0,
      "Stock": 9,
      "ImgSrc": "sample string 10",
      "Id": 11,
      "PlatformId": 12,
      "Manufacturer": "sample string 13",
      "CompayNo": "sample string 14",
      "TBDate": "sample string 15"
    },
    {
      "ProductId": 1,
      "Name": "sample string 2",
      "Desc": "sample string 3",
      "Price": 4.0,
      "AdvicePrice": 5.0,
      "OnlinePrice": 6.0,
      "CostPrice": 7.0,
      "OldPrice": 8.0,
      "Stock": 9,
      "ImgSrc": "sample string 10",
      "Id": 11,
      "PlatformId": 12,
      "Manufacturer": "sample string 13",
      "CompayNo": "sample string 14",
      "TBDate": "sample string 15"
    }
  ]
}

application/xml, text/xml

Sample:
<SkuListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models.Admin">
  <Items>
    <SKuModel>
      <AdvicePrice>5</AdvicePrice>
      <CompayNo>sample string 14</CompayNo>
      <CostPrice>7</CostPrice>
      <Desc>sample string 3</Desc>
      <Id>11</Id>
      <ImgSrc>sample string 10</ImgSrc>
      <Manufacturer>sample string 13</Manufacturer>
      <Name>sample string 2</Name>
      <OldPrice>8</OldPrice>
      <OnlinePrice>6</OnlinePrice>
      <PlatformId>12</PlatformId>
      <Price>4</Price>
      <ProductId>1</ProductId>
      <Stock>9</Stock>
      <TBDate>sample string 15</TBDate>
    </SKuModel>
    <SKuModel>
      <AdvicePrice>5</AdvicePrice>
      <CompayNo>sample string 14</CompayNo>
      <CostPrice>7</CostPrice>
      <Desc>sample string 3</Desc>
      <Id>11</Id>
      <ImgSrc>sample string 10</ImgSrc>
      <Manufacturer>sample string 13</Manufacturer>
      <Name>sample string 2</Name>
      <OldPrice>8</OldPrice>
      <OnlinePrice>6</OnlinePrice>
      <PlatformId>12</PlatformId>
      <Price>4</Price>
      <ProductId>1</ProductId>
      <Stock>9</Stock>
      <TBDate>sample string 15</TBDate>
    </SKuModel>
    <SKuModel>
      <AdvicePrice>5</AdvicePrice>
      <CompayNo>sample string 14</CompayNo>
      <CostPrice>7</CostPrice>
      <Desc>sample string 3</Desc>
      <Id>11</Id>
      <ImgSrc>sample string 10</ImgSrc>
      <Manufacturer>sample string 13</Manufacturer>
      <Name>sample string 2</Name>
      <OldPrice>8</OldPrice>
      <OnlinePrice>6</OnlinePrice>
      <PlatformId>12</PlatformId>
      <Price>4</Price>
      <ProductId>1</ProductId>
      <Stock>9</Stock>
      <TBDate>sample string 15</TBDate>
    </SKuModel>
  </Items>
</SkuListModel>