POST api/OutputData/GetProductModelCodeByBrand
按brand获取商品模型码
Request Information
URI Parameters
None.
Body Parameters
BrandParam| Name | Description | Type | Additional information |
|---|---|---|---|
| cid |
brand id |
integer |
None. |
| switchType | boolean |
None. |
|
| userID |
用户ID |
integer |
None. |
| token |
用户token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"cid": 1,
"switchType": true,
"userID": 3,
"token": "sample string 4"
}
application/xml, text/xml
Sample:
<BrandParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Topwin.Adidas.VM.API.Models"> <token>sample string 4</token> <userID>3</userID> <cid>1</cid> <switchType>true</switchType> </BrandParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BasicResultOfListOfProductModelCode| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| msg | string |
None. |
|
| data | Collection of ProductModelCode |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2",
"data": [
{
"ArticleNo": "sample string 1",
"ModelCode": "sample string 2"
},
{
"ArticleNo": "sample string 1",
"ModelCode": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<BasicResultOfArrayOfProductModelCode3kuEsPCO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Topwin.Adidas.VM.API.Models">
<code>1</code>
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Topwin.Adidas.VM.Model.api">
<d2p1:ProductModelCode>
<d2p1:ArticleNo>sample string 1</d2p1:ArticleNo>
<d2p1:ModelCode>sample string 2</d2p1:ModelCode>
</d2p1:ProductModelCode>
<d2p1:ProductModelCode>
<d2p1:ArticleNo>sample string 1</d2p1:ArticleNo>
<d2p1:ModelCode>sample string 2</d2p1:ModelCode>
</d2p1:ProductModelCode>
</data>
<msg>sample string 2</msg>
</BasicResultOfArrayOfProductModelCode3kuEsPCO>