POST V2/ProductComment/SaveComments

Request Information

URI Parameters

None.

Body Parameters

ProductCommentDto
NameDescriptionTypeAdditional information
comments

Collection of ProductComment

None.

Request Formats

application/json, text/json

Sample:
{
  "comments": [
    {
      "Id": "35e47658-af1a-471a-99b8-94aa2a19d5d5",
      "OrderId": 2,
      "Sku": "sample string 3",
      "ProductImg": "sample string 4",
      "CommentImages": [
        {
          "Id": "adbc5d6f-e3e5-4244-85cd-bf0bb736e941",
          "CommentId": "e17492a8-e355-404d-929f-5a4949f7d153",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "adbc5d6f-e3e5-4244-85cd-bf0bb736e941",
          "CommentId": "e17492a8-e355-404d-929f-5a4949f7d153",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        }
      ],
      "ReplyImages": [
        {
          "Id": "adbc5d6f-e3e5-4244-85cd-bf0bb736e941",
          "CommentId": "e17492a8-e355-404d-929f-5a4949f7d153",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "adbc5d6f-e3e5-4244-85cd-bf0bb736e941",
          "CommentId": "e17492a8-e355-404d-929f-5a4949f7d153",
          "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": "2025-07-18 22:03:20",
      "CommentDateString": "sample string 12",
      "Sorce": 13.0,
      "IsShow": true,
      "IsDelete": true
    },
    {
      "Id": "35e47658-af1a-471a-99b8-94aa2a19d5d5",
      "OrderId": 2,
      "Sku": "sample string 3",
      "ProductImg": "sample string 4",
      "CommentImages": [
        {
          "Id": "adbc5d6f-e3e5-4244-85cd-bf0bb736e941",
          "CommentId": "e17492a8-e355-404d-929f-5a4949f7d153",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "adbc5d6f-e3e5-4244-85cd-bf0bb736e941",
          "CommentId": "e17492a8-e355-404d-929f-5a4949f7d153",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        }
      ],
      "ReplyImages": [
        {
          "Id": "adbc5d6f-e3e5-4244-85cd-bf0bb736e941",
          "CommentId": "e17492a8-e355-404d-929f-5a4949f7d153",
          "ImageName": "sample string 3",
          "SmallImagePath": "sample string 4",
          "BigImagePath": "sample string 5",
          "IsDelete": true
        },
        {
          "Id": "adbc5d6f-e3e5-4244-85cd-bf0bb736e941",
          "CommentId": "e17492a8-e355-404d-929f-5a4949f7d153",
          "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": "2025-07-18 22:03:20",
      "CommentDateString": "sample string 12",
      "Sorce": 13.0,
      "IsShow": true,
      "IsDelete": true
    }
  ]
}

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 'ProductCommentDto'.

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Message

string

None.

ReturnValue

Object

None.

Code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Message": "sample string 2",
  "ReturnValue": {},
  "Code": 4
}