POST api/Tea/TeaRecommend
Request Information
URI Parameters
None.
Body Parameters
TeaRecommendRequst| Name | Description | Type | Additional information |
|---|---|---|---|
| CardNo | integer |
None. |
|
| sessionId | string |
None. |
|
| pCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CardNo": 1,
"sessionId": "sample string 2",
"pCode": 3
}
application/xml, text/xml
Sample:
<TeaRecommendRequst xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model.Requst"> <pCode xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model">3</pCode> <sessionId xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model">sample string 2</sessionId> <CardNo>1</CardNo> </TeaRecommendRequst>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TeaRecommendResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| White | Collection of TeaRecommendItem |
None. |
|
| Dark | Collection of TeaRecommendItem |
None. |
|
| Black | Collection of TeaRecommendItem |
None. |
|
| Green | Collection of TeaRecommendItem |
None. |
|
| Yellow | Collection of TeaRecommendItem |
None. |
|
| Wulong | Collection of TeaRecommendItem |
None. |
|
| Puer | Collection of TeaRecommendItem |
None. |
|
| statusCode | StatusCode |
None. |
|
| isSuccessful | boolean |
None. |
|
| message | string |
None. |
|
| returnUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"White": [
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Specifications": "sample string 4",
"TextSpecifications": "sample string 5",
"Sort": 6,
"Price": 7.0,
"Tag": [
"sample string 1",
"sample string 2"
],
"StockNum": 8,
"LimitNum": 9,
"StockNumWarning": 10,
"SupplierId": 11
},
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Specifications": "sample string 4",
"TextSpecifications": "sample string 5",
"Sort": 6,
"Price": 7.0,
"Tag": [
"sample string 1",
"sample string 2"
],
"StockNum": 8,
"LimitNum": 9,
"StockNumWarning": 10,
"SupplierId": 11
}
],
"Dark": [
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Specifications": "sample string 4",
"TextSpecifications": "sample string 5",
"Sort": 6,
"Price": 7.0,
"Tag": [
"sample string 1",
"sample string 2"
],
"StockNum": 8,
"LimitNum": 9,
"StockNumWarning": 10,
"SupplierId": 11
},
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Specifications": "sample string 4",
"TextSpecifications": "sample string 5",
"Sort": 6,
"Price": 7.0,
"Tag": [
"sample string 1",
"sample string 2"
],
"StockNum": 8,
"LimitNum": 9,
"StockNumWarning": 10,
"SupplierId": 11
}
],
"Black": [
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Specifications": "sample string 4",
"TextSpecifications": "sample string 5",
"Sort": 6,
"Price": 7.0,
"Tag": [
"sample string 1",
"sample string 2"
],
"StockNum": 8,
"LimitNum": 9,
"StockNumWarning": 10,
"SupplierId": 11
},
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Specifications": "sample string 4",
"TextSpecifications": "sample string 5",
"Sort": 6,
"Price": 7.0,
"Tag": [
"sample string 1",
"sample string 2"
],
"StockNum": 8,
"LimitNum": 9,
"StockNumWarning": 10,
"SupplierId": 11
}
],
"Green": [
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Specifications": "sample string 4",
"TextSpecifications": "sample string 5",
"Sort": 6,
"Price": 7.0,
"Tag": [
"sample string 1",
"sample string 2"
],
"StockNum": 8,
"LimitNum": 9,
"StockNumWarning": 10,
"SupplierId": 11
},
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Specifications": "sample string 4",
"TextSpecifications": "sample string 5",
"Sort": 6,
"Price": 7.0,
"Tag": [
"sample string 1",
"sample string 2"
],
"StockNum": 8,
"LimitNum": 9,
"StockNumWarning": 10,
"SupplierId": 11
}
],
"Yellow": [
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Specifications": "sample string 4",
"TextSpecifications": "sample string 5",
"Sort": 6,
"Price": 7.0,
"Tag": [
"sample string 1",
"sample string 2"
],
"StockNum": 8,
"LimitNum": 9,
"StockNumWarning": 10,
"SupplierId": 11
},
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Specifications": "sample string 4",
"TextSpecifications": "sample string 5",
"Sort": 6,
"Price": 7.0,
"Tag": [
"sample string 1",
"sample string 2"
],
"StockNum": 8,
"LimitNum": 9,
"StockNumWarning": 10,
"SupplierId": 11
}
],
"Wulong": [
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Specifications": "sample string 4",
"TextSpecifications": "sample string 5",
"Sort": 6,
"Price": 7.0,
"Tag": [
"sample string 1",
"sample string 2"
],
"StockNum": 8,
"LimitNum": 9,
"StockNumWarning": 10,
"SupplierId": 11
},
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Specifications": "sample string 4",
"TextSpecifications": "sample string 5",
"Sort": 6,
"Price": 7.0,
"Tag": [
"sample string 1",
"sample string 2"
],
"StockNum": 8,
"LimitNum": 9,
"StockNumWarning": 10,
"SupplierId": 11
}
],
"Puer": [
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Specifications": "sample string 4",
"TextSpecifications": "sample string 5",
"Sort": 6,
"Price": 7.0,
"Tag": [
"sample string 1",
"sample string 2"
],
"StockNum": 8,
"LimitNum": 9,
"StockNumWarning": 10,
"SupplierId": 11
},
{
"Name": "sample string 1",
"ImagePath": "sample string 2",
"SkuId": 3,
"Specifications": "sample string 4",
"TextSpecifications": "sample string 5",
"Sort": 6,
"Price": 7.0,
"Tag": [
"sample string 1",
"sample string 2"
],
"StockNum": 8,
"LimitNum": 9,
"StockNumWarning": 10,
"SupplierId": 11
}
],
"isSuccessful": true,
"statusCode": 0,
"message": "sample string 2",
"returnUrl": "sample string 3"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.