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,
      "CostPrice": 5.0,
      "OldPrice": 6.0,
      "Stock": 7,
      "ImgSrc": "sample string 8",
      "Id": 9,
      "PlatformId": 10
    },
    {
      "ProductId": 1,
      "Name": "sample string 2",
      "Desc": "sample string 3",
      "Price": 4.0,
      "CostPrice": 5.0,
      "OldPrice": 6.0,
      "Stock": 7,
      "ImgSrc": "sample string 8",
      "Id": 9,
      "PlatformId": 10
    },
    {
      "ProductId": 1,
      "Name": "sample string 2",
      "Desc": "sample string 3",
      "Price": 4.0,
      "CostPrice": 5.0,
      "OldPrice": 6.0,
      "Stock": 7,
      "ImgSrc": "sample string 8",
      "Id": 9,
      "PlatformId": 10
    }
  ]
}

application/xml, text/xml

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