POST V2/ProductComment/SaveComments

Request Information

URI Parameters

None.

Body Parameters

Collection of ProductComment
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

OrderId

integer

None.

Sku

string

None.

ProductImg

string

None.

CommentImages

Collection of ProductCommentImage

None.

ReplyImages

Collection of ProductCommentImage

None.

ProductName

string

None.

ShopperId

string

None.

ShopperName

string

None.

Subject

string

None.

Content

string

None.

ReplyId

integer

None.

ReplyContent

string

None.

CommentDate

date

None.

CommentDateString

string

None.

Sorce

decimal number

None.

IsShow

boolean

None.

IsDelete

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": "c572a246-fa7e-49dc-b44d-2231dfce5067",
    "OrderId": 2,
    "Sku": "sample string 3",
    "ProductImg": "sample string 4",
    "CommentImages": [
      {
        "Id": "b36bcff7-8adc-443b-8a59-49eb79de1e92",
        "CommentId": "e6e29616-417d-455d-a908-9a6071f728d9",
        "ImageName": "sample string 3",
        "SmallImagePath": "sample string 4",
        "BigImagePath": "sample string 5",
        "IsDelete": true
      },
      {
        "Id": "b36bcff7-8adc-443b-8a59-49eb79de1e92",
        "CommentId": "e6e29616-417d-455d-a908-9a6071f728d9",
        "ImageName": "sample string 3",
        "SmallImagePath": "sample string 4",
        "BigImagePath": "sample string 5",
        "IsDelete": true
      }
    ],
    "ReplyImages": [
      {
        "Id": "b36bcff7-8adc-443b-8a59-49eb79de1e92",
        "CommentId": "e6e29616-417d-455d-a908-9a6071f728d9",
        "ImageName": "sample string 3",
        "SmallImagePath": "sample string 4",
        "BigImagePath": "sample string 5",
        "IsDelete": true
      },
      {
        "Id": "b36bcff7-8adc-443b-8a59-49eb79de1e92",
        "CommentId": "e6e29616-417d-455d-a908-9a6071f728d9",
        "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 13:01:23",
    "CommentDateString": "sample string 12",
    "Sorce": 13.0,
    "IsShow": true,
    "IsDelete": true
  },
  {
    "Id": "c572a246-fa7e-49dc-b44d-2231dfce5067",
    "OrderId": 2,
    "Sku": "sample string 3",
    "ProductImg": "sample string 4",
    "CommentImages": [
      {
        "Id": "b36bcff7-8adc-443b-8a59-49eb79de1e92",
        "CommentId": "e6e29616-417d-455d-a908-9a6071f728d9",
        "ImageName": "sample string 3",
        "SmallImagePath": "sample string 4",
        "BigImagePath": "sample string 5",
        "IsDelete": true
      },
      {
        "Id": "b36bcff7-8adc-443b-8a59-49eb79de1e92",
        "CommentId": "e6e29616-417d-455d-a908-9a6071f728d9",
        "ImageName": "sample string 3",
        "SmallImagePath": "sample string 4",
        "BigImagePath": "sample string 5",
        "IsDelete": true
      }
    ],
    "ReplyImages": [
      {
        "Id": "b36bcff7-8adc-443b-8a59-49eb79de1e92",
        "CommentId": "e6e29616-417d-455d-a908-9a6071f728d9",
        "ImageName": "sample string 3",
        "SmallImagePath": "sample string 4",
        "BigImagePath": "sample string 5",
        "IsDelete": true
      },
      {
        "Id": "b36bcff7-8adc-443b-8a59-49eb79de1e92",
        "CommentId": "e6e29616-417d-455d-a908-9a6071f728d9",
        "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 13:01:23",
    "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 'List`1'.

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
}