POST api/wechat/saveCustomer
Request Information
URI Parameters
None.
Body Parameters
CustomerModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsAdd | boolean |
None. |
|
| EmployeeNumber | integer |
None. |
|
| CompanyNumber | integer |
None. |
|
| CustomerNumber | integer |
None. |
|
| CustomerName | string |
None. |
|
| CustomerECPlatformNumber | integer |
None. |
|
| ECPlatformNumber | integer |
None. |
|
| ECPlatformName | string |
None. |
|
| CustomerCategoryNubmer | integer |
None. |
|
| CustomerCategoryName | string |
None. |
|
| CustomerPropertyNumber | integer |
None. |
|
| CustomerPropertyName | string |
None. |
|
| CustomerSourceNumber | integer |
None. |
|
| CustomerSourceName | string |
None. |
|
| CustomerRemark | string |
None. |
|
| SocialCode | string |
None. |
|
| EstablishDate | date |
None. |
|
| LegalPerson | string |
None. |
|
| Abbreviation | string |
None. |
|
| Address | string |
None. |
|
| contract | ContractModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"contract": {
"isAdd": true,
"customerNumber": 2,
"contactsNumber": 3,
"contactsName": "sample string 4",
"jobRelationNumber": 5,
"contactsGender": 6,
"contactsDepartment": "sample string 7",
"contactsPosition": "sample string 8",
"contactsRemark": "sample string 9",
"contactsMobile": "sample string 10",
"contactsEmail": "sample string 11",
"contactsQQ": "sample string 12",
"contactsWeixin": "sample string 13",
"employeeNumber": 14
},
"isAdd": true,
"employeeNumber": 2,
"companyNumber": 3,
"customerNumber": 4,
"customerName": "sample string 5",
"customerECPlatformNumber": 6,
"ecPlatformNumber": 7,
"ecPlatformName": "sample string 8",
"customerCategoryNubmer": 9,
"customerCategoryName": "sample string 10",
"customerPropertyNumber": 11,
"customerPropertyName": "sample string 12",
"customerSourceNumber": 13,
"customerSourceName": "sample string 14",
"customerRemark": "sample string 15",
"socialCode": "sample string 16",
"establishDate": "2025-12-07T20:28:49.3624923+08:00",
"legalPerson": "sample string 17",
"abbreviation": "sample string 18",
"address": "sample string 19"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| data | Object |
None. |
|
| error | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"data": {},
"error": "sample string 3"
}