POST api/wechat/saveCollection

Request Information

URI Parameters

None.

Body Parameters

ColeectionRecordModel
NameDescriptionTypeAdditional information
IsAdd

boolean

None.

CompanyNumber

integer

None.

EmployeeNumber

integer

None.

OrderNumber

string

None.

CollectionRecordNumber

string

None.

CollectionRecordCategoryNumber

integer

None.

AccountNumberId

integer

None.

CollectionRecordDateTime

date

None.

PaymentDateTime

date

None.

CollectionAmount

string

None.

CollectionRecordRemark

string

None.

DiscountAmount

decimal number

None.

AddressAmount

decimal number

None.

EngraveSealAmount

decimal number

None.

ChannelCosts

decimal number

None.

ReturnAmount

decimal number

None.

Certificate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "isAdd": true,
  "companyNumber": 2,
  "employeeNumber": 3,
  "orderNumber": "sample string 4",
  "collectionRecordNumber": "sample string 5",
  "collectionRecordCategoryNumber": 6,
  "accountNumberId": 7,
  "collectionRecordDateTime": "2025-12-07T20:23:58.6478242+08:00",
  "paymentDateTime": "2025-12-07T20:23:58.6478242+08:00",
  "collectionAmount": "sample string 10",
  "collectionRecordRemark": "sample string 11",
  "discountAmount": 12.0,
  "addressAmount": 13.0,
  "engraveSealAmount": 14.0,
  "channelCosts": 15.0,
  "returnAmount": 16.0,
  "certificate": "sample string 17"
}

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

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"
}