POST V2/ProductComment/GetProductComments

Request Information

URI Parameters

None.

Body Parameters

SearchCommentsInfo
NameDescriptionTypeAdditional information
Sku

string

None.

ShopperId

string

None.

ContentId

integer

None.

Page

integer

None.

PageSize

integer

None.

Offset

integer

None.

SortName

string

None.

SortOrder

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Sku": "sample string 1",
  "ShopperId": "sample string 2",
  "ContentId": 3,
  "Page": 4,
  "PageSize": 5,
  "Offset": 15,
  "SortName": "sample string 6",
  "SortOrder": "sample string 7"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SearchCommentsInfo'.

Response Information

Resource Description

PageDataOfProductComment
NameDescriptionTypeAdditional information
TotalPage

integer

None.

TotalRecord

integer

None.

Data

Collection of ProductComment

None.

Page

integer

None.

PageSize

integer

None.

Offset

integer

None.

SortName

string

None.

SortOrder

string

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalPage": 1,
  "TotalRecord": 1,
  "Data": [
    {
      "Id": "b70f5f80-8ca8-4965-a167-70c10f4dae61",
      "OrderId": 2,
      "Sku": "sample string 3",
      "ProductImg": "sample string 4",
      "CommentImages": [
        {
          "Id": "5ffe7a91-b019-4cd8-83ac-5d4c6b1b5426",
          "CommentId": "69c9286d-949d-4136-89f4-0ab988796a58",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "5ffe7a91-b019-4cd8-83ac-5d4c6b1b5426",
          "CommentId": "69c9286d-949d-4136-89f4-0ab988796a58",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        }
      ],
      "ReplyImages": [
        {
          "Id": "5ffe7a91-b019-4cd8-83ac-5d4c6b1b5426",
          "CommentId": "69c9286d-949d-4136-89f4-0ab988796a58",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "5ffe7a91-b019-4cd8-83ac-5d4c6b1b5426",
          "CommentId": "69c9286d-949d-4136-89f4-0ab988796a58",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        }
      ],
      "ProductName": "sample string 5",
      "ShopperId": "sample string 6",
      "ShopperName": "sample string 7",
      "Subject": "sample string 8",
      "Content": "sample string 9",
      "ReplyId": 10,
      "ReplyContent": "sample string 11",
      "CommentDate": "2024-11-15 11:24:29",
      "CommentDateString": "sample string 12",
      "Sorce": 13.0,
      "IsShow": true,
      "IsDelete": true
    },
    {
      "Id": "b70f5f80-8ca8-4965-a167-70c10f4dae61",
      "OrderId": 2,
      "Sku": "sample string 3",
      "ProductImg": "sample string 4",
      "CommentImages": [
        {
          "Id": "5ffe7a91-b019-4cd8-83ac-5d4c6b1b5426",
          "CommentId": "69c9286d-949d-4136-89f4-0ab988796a58",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "5ffe7a91-b019-4cd8-83ac-5d4c6b1b5426",
          "CommentId": "69c9286d-949d-4136-89f4-0ab988796a58",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        }
      ],
      "ReplyImages": [
        {
          "Id": "5ffe7a91-b019-4cd8-83ac-5d4c6b1b5426",
          "CommentId": "69c9286d-949d-4136-89f4-0ab988796a58",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "5ffe7a91-b019-4cd8-83ac-5d4c6b1b5426",
          "CommentId": "69c9286d-949d-4136-89f4-0ab988796a58",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        }
      ],
      "ProductName": "sample string 5",
      "ShopperId": "sample string 6",
      "ShopperName": "sample string 7",
      "Subject": "sample string 8",
      "Content": "sample string 9",
      "ReplyId": 10,
      "ReplyContent": "sample string 11",
      "CommentDate": "2024-11-15 11:24:29",
      "CommentDateString": "sample string 12",
      "Sorce": 13.0,
      "IsShow": true,
      "IsDelete": true
    }
  ],
  "Page": 2,
  "PageSize": 3,
  "Offset": 3,
  "SortName": "sample string 4",
  "SortOrder": "sample string 5"
}