POST api/wechat/saveContact
Request Information
URI Parameters
None.
Body Parameters
ContractModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsAdd | boolean |
None. |
|
| CustomerNumber | integer |
None. |
|
| ContactsNumber | integer |
None. |
|
| ContactsName | string |
None. |
|
| JobRelationNumber | integer |
None. |
|
| ContactsGender | integer |
None. |
|
| ContactsDepartment | string |
None. |
|
| ContactsPosition | string |
None. |
|
| ContactsRemark | string |
None. |
|
| ContactsMobile | string |
None. |
|
| ContactsEmail | string |
None. |
|
| ContactsQQ | string |
None. |
|
| ContactsWeixin | string |
None. |
|
| EmployeeNumber | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"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
}
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"
}