GET api/ProductAdmin/GetAttrList?pid={pid}
“GetAttrList”的文档。
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| pid | “pid”的文档。 |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"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"
}
application/xml, text/xml
Sample:
<SkuDetailsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TyretoolMail.Models.Admin">
<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>