POST api/ProductAdmin/ProductSkusByPid?pid={pid}
“ProductSkusByPid”的文档。
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| pid | “pid”的文档。 |
Define this parameter in the request URI. |
| data | “data”的文档。 |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Price": 3.0,
"IsReal": "sample string 4",
"OrderBy": 5,
"Commission": 6.0,
"PCommission": 7.0,
"SSTCommission": 8.0,
"PicturesList": "sample string 9",
"RegionId": 10,
"RegionName": "sample string 11",
"GsId": 12,
"GSName": "sample string 13",
"SKU": [
{
"SkuId": 1,
"Name": "sample string 2",
"Descript": "sample string 3",
"Price": 4.0,
"OldPrice": 5.0,
"ImgSrc": [
{
"Id": 1,
"Type": 2,
"ImgSrc": "sample string 3",
"OrderBy": 4
},
{
"Id": 1,
"Type": 2,
"ImgSrc": "sample string 3",
"OrderBy": 4
},
{
"Id": 1,
"Type": 2,
"ImgSrc": "sample string 3",
"OrderBy": 4
}
],
"RegionId": 6,
"RegionName": "sample string 7",
"GsId": "sample string 8",
"GSName": "sample string 9",
"Code": "sample string 10",
"Attributes": [
{
"Id": 1,
"AttrId": 2,
"Name": "sample string 3",
"Value": "sample string 4",
"OrderBy": 5,
"KeyType": "sample string 6"
},
{
"Id": 1,
"AttrId": 2,
"Name": "sample string 3",
"Value": "sample string 4",
"OrderBy": 5,
"KeyType": "sample string 6"
},
{
"Id": 1,
"AttrId": 2,
"Name": "sample string 3",
"Value": "sample string 4",
"OrderBy": 5,
"KeyType": "sample string 6"
}
],
"Success": 11,
"Message": "sample string 12",
"DataId": "sample string 13",
"Uid": "sample string 14",
"UserId": 15,
"Data": "sample string 16"
},
{
"SkuId": 1,
"Name": "sample string 2",
"Descript": "sample string 3",
"Price": 4.0,
"OldPrice": 5.0,
"ImgSrc": [
{
"Id": 1,
"Type": 2,
"ImgSrc": "sample string 3",
"OrderBy": 4
},
{
"Id": 1,
"Type": 2,
"ImgSrc": "sample string 3",
"OrderBy": 4
},
{
"Id": 1,
"Type": 2,
"ImgSrc": "sample string 3",
"OrderBy": 4
}
],
"RegionId": 6,
"RegionName": "sample string 7",
"GsId": "sample string 8",
"GSName": "sample string 9",
"Code": "sample string 10",
"Attributes": [
{
"Id": 1,
"AttrId": 2,
"Name": "sample string 3",
"Value": "sample string 4",
"OrderBy": 5,
"KeyType": "sample string 6"
},
{
"Id": 1,
"AttrId": 2,
"Name": "sample string 3",
"Value": "sample string 4",
"OrderBy": 5,
"KeyType": "sample string 6"
},
{
"Id": 1,
"AttrId": 2,
"Name": "sample string 3",
"Value": "sample string 4",
"OrderBy": 5,
"KeyType": "sample string 6"
}
],
"Success": 11,
"Message": "sample string 12",
"DataId": "sample string 13",
"Uid": "sample string 14",
"UserId": 15,
"Data": "sample string 16"
},
{
"SkuId": 1,
"Name": "sample string 2",
"Descript": "sample string 3",
"Price": 4.0,
"OldPrice": 5.0,
"ImgSrc": [
{
"Id": 1,
"Type": 2,
"ImgSrc": "sample string 3",
"OrderBy": 4
},
{
"Id": 1,
"Type": 2,
"ImgSrc": "sample string 3",
"OrderBy": 4
},
{
"Id": 1,
"Type": 2,
"ImgSrc": "sample string 3",
"OrderBy": 4
}
],
"RegionId": 6,
"RegionName": "sample string 7",
"GsId": "sample string 8",
"GSName": "sample string 9",
"Code": "sample string 10",
"Attributes": [
{
"Id": 1,
"AttrId": 2,
"Name": "sample string 3",
"Value": "sample string 4",
"OrderBy": 5,
"KeyType": "sample string 6"
},
{
"Id": 1,
"AttrId": 2,
"Name": "sample string 3",
"Value": "sample string 4",
"OrderBy": 5,
"KeyType": "sample string 6"
},
{
"Id": 1,
"AttrId": 2,
"Name": "sample string 3",
"Value": "sample string 4",
"OrderBy": 5,
"KeyType": "sample string 6"
}
],
"Success": 11,
"Message": "sample string 12",
"DataId": "sample string 13",
"Uid": "sample string 14",
"UserId": 15,
"Data": "sample string 16"
}
],
"PicturesDetails": [
{
"Id": 1,
"ImgSrc": "sample string 2",
"OrderBy": "sample string 3"
},
{
"Id": 1,
"ImgSrc": "sample string 2",
"OrderBy": "sample string 3"
},
{
"Id": 1,
"ImgSrc": "sample string 2",
"OrderBy": "sample string 3"
}
],
"Success": 14,
"Message": "sample string 15",
"DataId": "sample string 16",
"Uid": "sample string 17",
"UserId": 18,
"Data": "sample string 19"
}
application/xml, text/xml
Sample:
<ProductDetailsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TyretoolMail.Models.Admin">
<Data>sample string 19</Data>
<DataId>sample string 16</DataId>
<Message>sample string 15</Message>
<Success>14</Success>
<Uid>sample string 17</Uid>
<UserId>18</UserId>
<Commission>6</Commission>
<GSName>sample string 13</GSName>
<GsId>12</GsId>
<Id>1</Id>
<IsReal>sample string 4</IsReal>
<Name>sample string 2</Name>
<OrderBy>5</OrderBy>
<PCommission>7</PCommission>
<PicturesDetails>
<PictureListModel>
<Id>1</Id>
<ImgSrc>sample string 2</ImgSrc>
<OrderBy>sample string 3</OrderBy>
</PictureListModel>
<PictureListModel>
<Id>1</Id>
<ImgSrc>sample string 2</ImgSrc>
<OrderBy>sample string 3</OrderBy>
</PictureListModel>
<PictureListModel>
<Id>1</Id>
<ImgSrc>sample string 2</ImgSrc>
<OrderBy>sample string 3</OrderBy>
</PictureListModel>
</PicturesDetails>
<PicturesList>sample string 9</PicturesList>
<Price>3</Price>
<RegionId>10</RegionId>
<RegionName>sample string 11</RegionName>
<SKU>
<SkuDetailsModel>
<Data>sample string 16</Data>
<DataId>sample string 13</DataId>
<Message>sample string 12</Message>
<Success>11</Success>
<Uid>sample string 14</Uid>
<UserId>15</UserId>
<Attributes>
<ProductAttribute>
<AttrId>2</AttrId>
<Id>1</Id>
<KeyType>sample string 6</KeyType>
<Name>sample string 3</Name>
<OrderBy>5</OrderBy>
<Value>sample string 4</Value>
</ProductAttribute>
<ProductAttribute>
<AttrId>2</AttrId>
<Id>1</Id>
<KeyType>sample string 6</KeyType>
<Name>sample string 3</Name>
<OrderBy>5</OrderBy>
<Value>sample string 4</Value>
</ProductAttribute>
<ProductAttribute>
<AttrId>2</AttrId>
<Id>1</Id>
<KeyType>sample string 6</KeyType>
<Name>sample string 3</Name>
<OrderBy>5</OrderBy>
<Value>sample string 4</Value>
</ProductAttribute>
</Attributes>
<Code>sample string 10</Code>
<Descript>sample string 3</Descript>
<GSName>sample string 9</GSName>
<GsId>sample string 8</GsId>
<ImgSrc>
<ProImgModel>
<Id>1</Id>
<ImgSrc>sample string 3</ImgSrc>
<OrderBy>4</OrderBy>
<Type>2</Type>
</ProImgModel>
<ProImgModel>
<Id>1</Id>
<ImgSrc>sample string 3</ImgSrc>
<OrderBy>4</OrderBy>
<Type>2</Type>
</ProImgModel>
<ProImgModel>
<Id>1</Id>
<ImgSrc>sample string 3</ImgSrc>
<OrderBy>4</OrderBy>
<Type>2</Type>
</ProImgModel>
</ImgSrc>
<Name>sample string 2</Name>
<OldPrice>5</OldPrice>
<Price>4</Price>
<RegionId>6</RegionId>
<RegionName>sample string 7</RegionName>
<SkuId>1</SkuId>
</SkuDetailsModel>
<SkuDetailsModel>
<Data>sample string 16</Data>
<DataId>sample string 13</DataId>
<Message>sample string 12</Message>
<Success>11</Success>
<Uid>sample string 14</Uid>
<UserId>15</UserId>
<Attributes>
<ProductAttribute>
<AttrId>2</AttrId>
<Id>1</Id>
<KeyType>sample string 6</KeyType>
<Name>sample string 3</Name>
<OrderBy>5</OrderBy>
<Value>sample string 4</Value>
</ProductAttribute>
<ProductAttribute>
<AttrId>2</AttrId>
<Id>1</Id>
<KeyType>sample string 6</KeyType>
<Name>sample string 3</Name>
<OrderBy>5</OrderBy>
<Value>sample string 4</Value>
</ProductAttribute>
<ProductAttribute>
<AttrId>2</AttrId>
<Id>1</Id>
<KeyType>sample string 6</KeyType>
<Name>sample string 3</Name>
<OrderBy>5</OrderBy>
<Value>sample string 4</Value>
</ProductAttribute>
</Attributes>
<Code>sample string 10</Code>
<Descript>sample string 3</Descript>
<GSName>sample string 9</GSName>
<GsId>sample string 8</GsId>
<ImgSrc>
<ProImgModel>
<Id>1</Id>
<ImgSrc>sample string 3</ImgSrc>
<OrderBy>4</OrderBy>
<Type>2</Type>
</ProImgModel>
<ProImgModel>
<Id>1</Id>
<ImgSrc>sample string 3</ImgSrc>
<OrderBy>4</OrderBy>
<Type>2</Type>
</ProImgModel>
<ProImgModel>
<Id>1</Id>
<ImgSrc>sample string 3</ImgSrc>
<OrderBy>4</OrderBy>
<Type>2</Type>
</ProImgModel>
</ImgSrc>
<Name>sample string 2</Name>
<OldPrice>5</OldPrice>
<Price>4</Price>
<RegionId>6</RegionId>
<RegionName>sample string 7</RegionName>
<SkuId>1</SkuId>
</SkuDetailsModel>
<SkuDetailsModel>
<Data>sample string 16</Data>
<DataId>sample string 13</DataId>
<Message>sample string 12</Message>
<Success>11</Success>
<Uid>sample string 14</Uid>
<UserId>15</UserId>
<Attributes>
<ProductAttribute>
<AttrId>2</AttrId>
<Id>1</Id>
<KeyType>sample string 6</KeyType>
<Name>sample string 3</Name>
<OrderBy>5</OrderBy>
<Value>sample string 4</Value>
</ProductAttribute>
<ProductAttribute>
<AttrId>2</AttrId>
<Id>1</Id>
<KeyType>sample string 6</KeyType>
<Name>sample string 3</Name>
<OrderBy>5</OrderBy>
<Value>sample string 4</Value>
</ProductAttribute>
<ProductAttribute>
<AttrId>2</AttrId>
<Id>1</Id>
<KeyType>sample string 6</KeyType>
<Name>sample string 3</Name>
<OrderBy>5</OrderBy>
<Value>sample string 4</Value>
</ProductAttribute>
</Attributes>
<Code>sample string 10</Code>
<Descript>sample string 3</Descript>
<GSName>sample string 9</GSName>
<GsId>sample string 8</GsId>
<ImgSrc>
<ProImgModel>
<Id>1</Id>
<ImgSrc>sample string 3</ImgSrc>
<OrderBy>4</OrderBy>
<Type>2</Type>
</ProImgModel>
<ProImgModel>
<Id>1</Id>
<ImgSrc>sample string 3</ImgSrc>
<OrderBy>4</OrderBy>
<Type>2</Type>
</ProImgModel>
<ProImgModel>
<Id>1</Id>
<ImgSrc>sample string 3</ImgSrc>
<OrderBy>4</OrderBy>
<Type>2</Type>
</ProImgModel>
</ImgSrc>
<Name>sample string 2</Name>
<OldPrice>5</OldPrice>
<Price>4</Price>
<RegionId>6</RegionId>
<RegionName>sample string 7</RegionName>
<SkuId>1</SkuId>
</SkuDetailsModel>
</SKU>
<SSTCommission>8</SSTCommission>
</ProductDetailsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.