POST api/Group/OperEmpContact
操作员工关联客户、取消关联、转移、启用、禁用、删除、部分转移
Request Information
URI Parameters
None.
Body Parameters
OperEmpContactRequestsName | Description | Type | Additional information |
---|---|---|---|
group_id |
分组Id |
integer |
None. |
emp_id |
员工Id |
integer |
None. |
emp_idList |
员工Id,多个逗号分割 |
string |
None. |
user_idList |
联系人Id,多个逗号分割 |
string |
None. |
transfer_emp_id |
转移员工Id |
integer |
None. |
related_type |
操作类型:1-关联客户 2-取消关联客户 3-取消分组关联员工 4-客户转移员工(全部) 5-启用分组 6-禁用分组 7-删除 8-客户转移员工-部分转移 |
integer |
None. |
user_id |
当前登录者Id |
string |
None. |
token |
token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "group_id": 1, "emp_id": 2, "emp_idList": "sample string 3", "user_idList": "sample string 4", "transfer_emp_id": 5, "related_type": 6, "user_id": "sample string 7", "token": "sample string 8" }
application/xml, text/xml
Sample:
<OperEmpContactRequests xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model"> <token>sample string 8</token> <user_id>sample string 7</user_id> <emp_id>2</emp_id> <emp_idList>sample string 3</emp_idList> <group_id>1</group_id> <related_type>6</related_type> <transfer_emp_id>5</transfer_emp_id> <user_idList>sample string 4</user_idList> </OperEmpContactRequests>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
操作员工关联客户、取消关联、转移、启用、禁用、删除、部分转移
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |