POST api/Tea/List

Request Information

URI Parameters

None.

Body Parameters

TeaListRequst
NameDescriptionTypeAdditional information
CategoryId

integer

None.

Key

string

None.

TeaTypeId

integer

None.

OrderType

integer

None.

TagId

integer

None.

SupplierId

integer

None.

Page

integer

None.

PageSize

integer

None.

CardNo

integer

None.

sessionId

string

None.

pCode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryId": 1,
  "Key": "sample string 2",
  "TeaTypeId": 3,
  "OrderType": 4,
  "TagId": 5,
  "SupplierId": 6,
  "Page": 7,
  "PageSize": 8,
  "CardNo": 9,
  "sessionId": "sample string 10",
  "pCode": 11
}

application/xml, text/xml

Sample:
<TeaListRequst 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">11</pCode>
  <sessionId xmlns="http://schemas.datacontract.org/2004/07/TheGift.Api.Model">sample string 10</sessionId>
  <CardNo>9</CardNo>
  <CategoryId>1</CategoryId>
  <Key>sample string 2</Key>
  <OrderType>4</OrderType>
  <Page>7</Page>
  <PageSize>8</PageSize>
  <SupplierId>6</SupplierId>
  <TagId>5</TagId>
  <TeaTypeId>3</TeaTypeId>
</TeaListRequst>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TeaListResponse
NameDescriptionTypeAdditional information
Data

Collection of TeaDetail

None.

statusCode

StatusCode

None.

isSuccessful

boolean

None.

message

string

None.

returnUrl

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "Name": "sample string 1",
      "ImagePath": "sample string 2",
      "SkuId": 3,
      "SupplierId": 4,
      "Price": 5.0,
      "Discount": 6.0,
      "OriginalPrice": 7.0,
      "Specifications": "sample string 8",
      "TextSpecifications": "sample string 9",
      "Introduce": "sample string 10",
      "Img": [
        "sample string 1",
        "sample string 2"
      ],
      "Tag": [
        "sample string 1",
        "sample string 2"
      ],
      "CreateTime": "2025-12-06T12:30:16.6412406+08:00",
      "SalesVolume": 12,
      "StockNum": 13,
      "LimitNum": 14,
      "StockNumWarning": 15,
      "LimitPrice": "sample string 16"
    },
    {
      "Name": "sample string 1",
      "ImagePath": "sample string 2",
      "SkuId": 3,
      "SupplierId": 4,
      "Price": 5.0,
      "Discount": 6.0,
      "OriginalPrice": 7.0,
      "Specifications": "sample string 8",
      "TextSpecifications": "sample string 9",
      "Introduce": "sample string 10",
      "Img": [
        "sample string 1",
        "sample string 2"
      ],
      "Tag": [
        "sample string 1",
        "sample string 2"
      ],
      "CreateTime": "2025-12-06T12:30:16.6412406+08:00",
      "SalesVolume": 12,
      "StockNum": 13,
      "LimitNum": 14,
      "StockNumWarning": 15,
      "LimitPrice": "sample string 16"
    }
  ],
  "isSuccessful": true,
  "statusCode": 0,
  "message": "sample string 2",
  "returnUrl": "sample string 3"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.