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": "8baef33e-3fa0-4f7b-b76f-0f93d6ae3a5c",
      "OrderId": 2,
      "Sku": "sample string 3",
      "ProductImg": "sample string 4",
      "CommentImages": [
        {
          "Id": "825ed9b7-fc98-49e0-bd22-d16ea3d8d109",
          "CommentId": "d0384f77-bcd0-4e21-b88e-c0c60ddf7700",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "825ed9b7-fc98-49e0-bd22-d16ea3d8d109",
          "CommentId": "d0384f77-bcd0-4e21-b88e-c0c60ddf7700",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        }
      ],
      "ReplyImages": [
        {
          "Id": "825ed9b7-fc98-49e0-bd22-d16ea3d8d109",
          "CommentId": "d0384f77-bcd0-4e21-b88e-c0c60ddf7700",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "825ed9b7-fc98-49e0-bd22-d16ea3d8d109",
          "CommentId": "d0384f77-bcd0-4e21-b88e-c0c60ddf7700",
          "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-09-20 02:53:30",
      "CommentDateString": "sample string 12",
      "Sorce": 13.0,
      "IsShow": true,
      "IsDelete": true
    },
    {
      "Id": "8baef33e-3fa0-4f7b-b76f-0f93d6ae3a5c",
      "OrderId": 2,
      "Sku": "sample string 3",
      "ProductImg": "sample string 4",
      "CommentImages": [
        {
          "Id": "825ed9b7-fc98-49e0-bd22-d16ea3d8d109",
          "CommentId": "d0384f77-bcd0-4e21-b88e-c0c60ddf7700",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "825ed9b7-fc98-49e0-bd22-d16ea3d8d109",
          "CommentId": "d0384f77-bcd0-4e21-b88e-c0c60ddf7700",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        }
      ],
      "ReplyImages": [
        {
          "Id": "825ed9b7-fc98-49e0-bd22-d16ea3d8d109",
          "CommentId": "d0384f77-bcd0-4e21-b88e-c0c60ddf7700",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "825ed9b7-fc98-49e0-bd22-d16ea3d8d109",
          "CommentId": "d0384f77-bcd0-4e21-b88e-c0c60ddf7700",
          "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-09-20 02:53:30",
      "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"
}