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": "79277f41-2f84-4862-87bf-437221b01a5f",
    "OrderId": 2,
    "Sku": "sample string 3",
    "ProductImg": "sample string 4",
    "CommentImages": [
      {
        "Id": "5411570f-6f2b-42e7-90f7-29a9c2d01684",
        "CommentId": "25d7eef3-c24c-490b-a4de-fa0bb1237aa1",
        "ImageName": "sample string 3",
        "SmallImagePath": "sample string 4",
        "BigImagePath": "sample string 5",
        "IsDelete": true
      },
      {
        "Id": "5411570f-6f2b-42e7-90f7-29a9c2d01684",
        "CommentId": "25d7eef3-c24c-490b-a4de-fa0bb1237aa1",
        "ImageName": "sample string 3",
        "SmallImagePath": "sample string 4",
        "BigImagePath": "sample string 5",
        "IsDelete": true
      }
    ],
    "ReplyImages": [
      {
        "Id": "5411570f-6f2b-42e7-90f7-29a9c2d01684",
        "CommentId": "25d7eef3-c24c-490b-a4de-fa0bb1237aa1",
        "ImageName": "sample string 3",
        "SmallImagePath": "sample string 4",
        "BigImagePath": "sample string 5",
        "IsDelete": true
      },
      {
        "Id": "5411570f-6f2b-42e7-90f7-29a9c2d01684",
        "CommentId": "25d7eef3-c24c-490b-a4de-fa0bb1237aa1",
        "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:50:39",
    "CommentDateString": "sample string 12",
    "Sorce": 13.0,
    "IsShow": true,
    "IsDelete": true
  },
  {
    "Id": "79277f41-2f84-4862-87bf-437221b01a5f",
    "OrderId": 2,
    "Sku": "sample string 3",
    "ProductImg": "sample string 4",
    "CommentImages": [
      {
        "Id": "5411570f-6f2b-42e7-90f7-29a9c2d01684",
        "CommentId": "25d7eef3-c24c-490b-a4de-fa0bb1237aa1",
        "ImageName": "sample string 3",
        "SmallImagePath": "sample string 4",
        "BigImagePath": "sample string 5",
        "IsDelete": true
      },
      {
        "Id": "5411570f-6f2b-42e7-90f7-29a9c2d01684",
        "CommentId": "25d7eef3-c24c-490b-a4de-fa0bb1237aa1",
        "ImageName": "sample string 3",
        "SmallImagePath": "sample string 4",
        "BigImagePath": "sample string 5",
        "IsDelete": true
      }
    ],
    "ReplyImages": [
      {
        "Id": "5411570f-6f2b-42e7-90f7-29a9c2d01684",
        "CommentId": "25d7eef3-c24c-490b-a4de-fa0bb1237aa1",
        "ImageName": "sample string 3",
        "SmallImagePath": "sample string 4",
        "BigImagePath": "sample string 5",
        "IsDelete": true
      },
      {
        "Id": "5411570f-6f2b-42e7-90f7-29a9c2d01684",
        "CommentId": "25d7eef3-c24c-490b-a4de-fa0bb1237aa1",
        "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:50:39",
    "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
}