POST api/wechatmini/saveprivatemessage

Request Information

URI Parameters

None.

Body Parameters

WeiChatBatchPrivateMessage
NameDescriptionTypeAdditional information
Id

string

None.

chatContent

string

None.

userId

integer

None.

addTime

date

None.

status

integer

None.

sendCount

integer

None.

balanceTotal

decimal number

None.

pictures

Collection of WeiChatBatchPrivateMessagePicture

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "chatContent": "sample string 2",
  "userId": 3,
  "addTime": "2025-12-06T12:30:39.9556061+08:00",
  "status": 4,
  "sendCount": 5,
  "balanceTotal": 6.0,
  "pictures": [
    {
      "id": 1,
      "privateMessageId": "sample string 2",
      "pictureUrl": "sample string 3",
      "addTime": "2025-12-06T12:30:39.9556061+08:00"
    },
    {
      "id": 1,
      "privateMessageId": "sample string 2",
      "pictureUrl": "sample string 3",
      "addTime": "2025-12-06T12:30:39.9556061+08:00"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
success

boolean

None.

data

Object

None.

error

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "data": {},
  "error": "sample string 3"
}