根据条件查询电销记录对象的列表
POST
https://open.fxiaoke.com/cgi/crm/v2/data/query
接口说明:根据条件查询电销记录对象的列表
operator参数说明
此接口对应的返回值即为对象相关字段,详情见关于电销记录对象字段的说明下列参数为本接口特有返回值 返回错误代码请参见。全局返回错误码
参数 | 参数含义 | 参数 | 参数含义 |
---|---|---|---|
EQ | = | GT | > |
LT | < | GTE | >= |
LTE | <= | N | <> |
LIKE | LIKE | NLIKE | NOT LIKE |
IS | IS | ISN | IS NOT |
IN | IN | NIN | NOT IN |
BETWEEN | BETWEEN | NBETWEEN | NOT BETWEEN |
STARTWITH | LIKE% | ENDWITH | %LIKE |
CONTAINS | Array 包含 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open.fxiaoke.com/cgi/crm/v2/data/query' \
--header 'Content-Type: application/json' \
--data-raw '{
"corpAccessToken": "${corpAccessToken}",
"corpId": "${corpId}",
"currentOpenUserId": "${currentOpenUserId}",
"data": {
"search_query_info": {
"offset": 0,
"limit": 2,
"filters": []
},
"dataObjectApiName": "TelesalesRecordObj"
}
}'
响应示例响应示例
{
"traceId": "E-O.fktest188.1453-f91556d9056d46cb",
"data": {
"dataList": [
{
"related_api_names": [
"AccountObj"
],
"record_content": "测试电销发布12ahhaha",
"is_deleted": false,
"created_by__r": {
"picAddr": "",
"description": "",
"dept": "1695",
"supervisorId": "1023",
"modifyTime": 1607591677913,
"post": "",
"createTime": 1573463632200,
"phone": "",
"name": "aaaaaaaaaa",
"nickname": "aaaaaaaaaa",
"tenantId": "590163",
"id": "1408",
"email": "",
"status": 0
},
"owner_department_id": "1000",
"owner__l": [
{
"id": "1453",
"tenantId": "590163",
"name": "蒋小川1",
"picAddr": "",
"email": "",
"nickname": "蒋小川1",
"supervisorId": "1006",
"phone": "",
"description": "",
"status": 0,
"createTime": 1587462141009,
"modifyTime": 1591759818876,
"dept": "1000",
"post": ""
}
],
"owner_department": "董事会",
"relevant_team__r": "蒋小川1",
"owner__r": {
"picAddr": "",
"description": "",
"dept": "1000",
"supervisorId": "1006",
"modifyTime": 1591759818876,
"post": "",
"createTime": 1587462141009,
"phone": "",
"name": "蒋小川1",
"nickname": "蒋小川1",
"tenantId": "590163",
"id": "1453",
"email": "",
"status": 0
},
"owner": [
"FSUID_CBF443F942C4ABE8A46BE859066A5CD1"
],
"lock_status": "0",
"last_modified_time": 1607960871004,
"data_own_department__r": {
"deptName": "董事会",
"deptId": "1000",
"parentId": "999999",
"status": 0
},
"create_time": 1595432024000,
"life_status": "normal",
"last_modified_by__l": [
{
"id": "1408",
"tenantId": "590163",
"name": "aaaaaaaaaa",
"picAddr": "",
"email": "",
"nickname": "aaaaaaaaaa",
"supervisorId": "1023",
"phone": "",
"description": "",
"status": 0,
"createTime": 1573463632200,
"modifyTime": 1607591677913,
"dept": "1695",
"post": ""
}
],
"created_by__l": [
{
"id": "1408",
"tenantId": "590163",
"name": "aaaaaaaaaa",
"picAddr": "",
"email": "",
"nickname": "aaaaaaaaaa",
"supervisorId": "1023",
"phone": "",
"description": "",
"status": 0,
"createTime": 1573463632200,
"modifyTime": 1607591677913,
"dept": "1695",
"post": ""
}
],
"related_object_data": [
{
"describe_api_name": "AccountObj",
"name": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "5f17d8d9d944550001b499d5"
}
],
"last_modified_by": [
"FSUID_4A447CBB3FA9DBB543BEC27F7CD92CC7"
],
"version": "1",
"created_by": [
"FSUID_4A447CBB3FA9DBB543BEC27F7CD92CC7"
],
"record_type": "default__c",
"relevant_team": [
{
"teamMemberEmployee": [
"FSUID_CBF443F942C4ABE8A46BE859066A5CD1"
],
"teamMemberRole": "1",
"teamMemberPermissionType": "2"
}
],
"last_modified_by__r": {
"picAddr": "",
"description": "",
"dept": "1695",
"supervisorId": "1023",
"modifyTime": 1607591677913,
"post": "",
"createTime": 1573463632200,
"phone": "",
"name": "aaaaaaaaaa",
"nickname": "aaaaaaaaaa",
"tenantId": "590163",
"id": "1408",
"email": "",
"status": 0
},
"related_object": {
"AccountObj": [
"5f17d8d9d944550001b499d5"
]
},
"follow_time": 1588953600000,
"data_own_department": [
"1000"
],
"name": "20201214_0013",
"_id": "5fd78926dfc0e90001d75751",
"data_own_department__l": [
{
"parentId": "999999",
"deptId": "1000",
"deptName": "董事会",
"status": 0
}
]
},
{
"related_api_names": [
"AccountObj"
],
"record_content": "测试电销发布12ahhaha",
"is_deleted": false,
"created_by__r": {
"picAddr": "",
"description": "",
"dept": "1695",
"supervisorId": "1023",
"modifyTime": 1607591677913,
"post": "",
"createTime": 1573463632200,
"phone": "",
"name": "aaaaaaaaaa",
"nickname": "aaaaaaaaaa",
"tenantId": "590163",
"id": "1408",
"email": "",
"status": 0
},
"owner__l": [
{
"id": "1000",
"tenantId": "590163",
"name": "纷享销客超级管理员",
"picAddr": "",
"email": "fxiaoke@fxiaoke.com",
"nickname": "纷享销客超级管理员",
"phone": "",
"description": "",
"status": 0,
"createTime": 1523278036470,
"modifyTime": 1572827734134,
"post": ""
}
],
"relevant_team__r": "纷享销客超级管理员",
"owner__r": {
"picAddr": "",
"description": "",
"modifyTime": 1572827734134,
"post": "",
"createTime": 1523278036470,
"phone": "",
"name": "纷享销客超级管理员",
"nickname": "纷享销客超级管理员",
"tenantId": "590163",
"id": "1000",
"email": "fxiaoke@fxiaoke.com",
"status": 0
},
"owner": [
"FSUID_DA4F6DE5640038B7DDB27908CC4ED1A8"
],
"lock_status": "0",
"last_modified_time": 1598249861425,
"create_time": 1595432024000,
"life_status": "normal",
"last_modified_by__l": [
{
"id": "1408",
"tenantId": "590163",
"name": "aaaaaaaaaa",
"picAddr": "",
"email": "",
"nickname": "aaaaaaaaaa",
"supervisorId": "1023",
"phone": "",
"description": "",
"status": 0,
"createTime": 1573463632200,
"modifyTime": 1607591677913,
"dept": "1695",
"post": ""
}
],
"created_by__l": [
{
"id": "1408",
"tenantId": "590163",
"name": "aaaaaaaaaa",
"picAddr": "",
"email": "",
"nickname": "aaaaaaaaaa",
"supervisorId": "1023",
"phone": "",
"description": "",
"status": 0,
"createTime": 1573463632200,
"modifyTime": 1607591677913,
"dept": "1695",
"post": ""
}
],
"related_object_data": [
{
"describe_api_name": "AccountObj",
"name": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"id": "5f17d8d9d944550001b499d5"
}
],
"last_modified_by": [
"FSUID_4A447CBB3FA9DBB543BEC27F7CD92CC7"
],
"version": "1",
"created_by": [
"FSUID_4A447CBB3FA9DBB543BEC27F7CD92CC7"
],
"record_type": "default__c",
"relevant_team": [
{
"teamMemberEmployee": [
"FSUID_DA4F6DE5640038B7DDB27908CC4ED1A8"
],
"teamMemberRole": "1",
"teamMemberPermissionType": "2"
}
],
"last_modified_by__r": {
"picAddr": "",
"description": "",
"dept": "1695",
"supervisorId": "1023",
"modifyTime": 1607591677913,
"post": "",
"createTime": 1573463632200,
"phone": "",
"name": "aaaaaaaaaa",
"nickname": "aaaaaaaaaa",
"tenantId": "590163",
"id": "1408",
"email": "",
"status": 0
},
"related_object": {
"AccountObj": [
"5f17d8d9d944550001b499d5"
]
},
"follow_time": 1588953600000,
"name": "20200824_0012",
"_id": "5f435b85c27ba100010e2e9f"
}
],
"offset": 0,
"limit": 2,
"total": 13
},
"errorDescription": "success",
"errorMessage": "OK",
"errorCode": 0
}
请求参数
Body 参数application/json
返回响应
修改于 2022-03-01 07:29:41