根据条件查询通话记录对象的列表
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": "ServiceRecordObj"
}
}'
响应示例响应示例
{
"traceId": "E-O.fktest188.1453-12de9e39d7034a77",
"data": {
"dataList": [
{
"created_by__r": {
"picAddr": "",
"description": "",
"modifyTime": 1572827734134,
"post": "",
"createTime": 1523278036470,
"phone": "",
"name": "纷享销客超级管理员",
"nickname": "纷享销客超级管理员",
"tenantId": "590163",
"id": "1000",
"email": "fxiaoke@fxiaoke.com",
"status": 0
},
"account_obj_id__r": "啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊",
"lock_status": "1",
"create_time": 1607352109667,
"record_file": "http://120.31.132.158:8990/monitor/1.3.1.105/20190402/20190402-162538_N000000006117_34109773_13760479324_02062936764_34109773_a1-gz-105-1554193528.22754.mp3",
"version": "1",
"created_by": [
"FSUID_DA4F6DE5640038B7DDB27908CC4ED1A8"
],
"relevant_team": [
{
"teamMemberEmployee": [
"FSUID_DA4F6DE5640038B7DDB27908CC4ED1A8"
],
"teamMemberRole": "1",
"teamMemberPermissionType": "2"
}
],
"call_id": "0101000",
"start_time": "2019-04-02 17:09:07",
"kf_number": "075512345",
"account_obj_id": "5f2a51b4cf55e30001153af9",
"name": "20201207-0026",
"_id": "5fce3f2d480a5000010e4956",
"customer_number": "13000000002",
"seat_id": "100",
"origin": "2",
"ringing_time": "2019-04-02 17:09:07",
"answer_status": "2",
"service_note": "hello world",
"is_deleted": false,
"is_saved": "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": "纷享销客超级管理员",
"call_type": "1",
"account_obj_id__relation_ids": "5f2a51b4cf55e30001153af9",
"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"
],
"last_modified_time": 1607352109667,
"life_status": "normal",
"end_time": "2019-04-02 17:09:07",
"last_modified_by__l": [
{
"id": "1000",
"tenantId": "590163",
"name": "纷享销客超级管理员",
"picAddr": "",
"email": "fxiaoke@fxiaoke.com",
"nickname": "纷享销客超级管理员",
"phone": "",
"description": "",
"status": 0,
"createTime": 1523278036470,
"modifyTime": 1572827734134,
"post": ""
}
],
"created_by__l": [
{
"id": "1000",
"tenantId": "590163",
"name": "纷享销客超级管理员",
"picAddr": "",
"email": "fxiaoke@fxiaoke.com",
"nickname": "纷享销客超级管理员",
"phone": "",
"description": "",
"status": 0,
"createTime": 1523278036470,
"modifyTime": 1572827734134,
"post": ""
}
],
"last_modified_by": [
"FSUID_DA4F6DE5640038B7DDB27908CC4ED1A8"
],
"record_type": "default__c",
"last_modified_by__r": {
"picAddr": "",
"description": "",
"modifyTime": 1572827734134,
"post": "",
"createTime": 1523278036470,
"phone": "",
"name": "纷享销客超级管理员",
"nickname": "纷享销客超级管理员",
"tenantId": "590163",
"id": "1000",
"email": "fxiaoke@fxiaoke.com",
"status": 0
},
"account_id": "testAccount",
"bridge_time": "00:00:32"
},
{
"created_by__r": {
"picAddr": "",
"description": "",
"modifyTime": 1572827734134,
"post": "",
"createTime": 1523278036470,
"phone": "",
"name": "纷享销客超级管理员",
"nickname": "纷享销客超级管理员",
"tenantId": "590163",
"id": "1000",
"email": "fxiaoke@fxiaoke.com",
"status": 0
},
"account_obj_id__r": "啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊实打实的啊",
"lock_status": "1",
"create_time": 1607351945652,
"record_file": "http://120.31.132.158:8990/monitor/1.3.1.105/20190402/20190402-162538_N000000006117_34109773_13760479324_02062936764_34109773_a1-gz-105-1554193528.22754.mp3",
"version": "1",
"created_by": [
"FSUID_DA4F6DE5640038B7DDB27908CC4ED1A8"
],
"relevant_team": [
{
"teamMemberEmployee": [
"FSUID_DA4F6DE5640038B7DDB27908CC4ED1A8"
],
"teamMemberRole": "1",
"teamMemberPermissionType": "2"
}
],
"call_id": "0101000",
"start_time": "2019-04-02 17:09:07",
"kf_number": "075512345",
"account_obj_id": "5f2a51b4cf55e30001153af9",
"name": "20201207-0025",
"_id": "5fce3e89480a5000010d9a87",
"customer_number": "13000000002",
"seat_id": "100",
"origin": "2",
"ringing_time": "2019-04-02 17:09:07",
"answer_status": "2",
"service_note": "hello world",
"is_deleted": false,
"is_saved": "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": "纷享销客超级管理员",
"call_type": "1",
"account_obj_id__relation_ids": "5f2a51b4cf55e30001153af9",
"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"
],
"last_modified_time": 1607351945652,
"life_status": "normal",
"end_time": "2019-04-02 17:09:07",
"last_modified_by__l": [
{
"id": "1000",
"tenantId": "590163",
"name": "纷享销客超级管理员",
"picAddr": "",
"email": "fxiaoke@fxiaoke.com",
"nickname": "纷享销客超级管理员",
"phone": "",
"description": "",
"status": 0,
"createTime": 1523278036470,
"modifyTime": 1572827734134,
"post": ""
}
],
"created_by__l": [
{
"id": "1000",
"tenantId": "590163",
"name": "纷享销客超级管理员",
"picAddr": "",
"email": "fxiaoke@fxiaoke.com",
"nickname": "纷享销客超级管理员",
"phone": "",
"description": "",
"status": 0,
"createTime": 1523278036470,
"modifyTime": 1572827734134,
"post": ""
}
],
"last_modified_by": [
"FSUID_DA4F6DE5640038B7DDB27908CC4ED1A8"
],
"record_type": "default__c",
"last_modified_by__r": {
"picAddr": "",
"description": "",
"modifyTime": 1572827734134,
"post": "",
"createTime": 1523278036470,
"phone": "",
"name": "纷享销客超级管理员",
"nickname": "纷享销客超级管理员",
"tenantId": "590163",
"id": "1000",
"email": "fxiaoke@fxiaoke.com",
"status": 0
},
"account_id": "testAccount",
"bridge_time": "00:00:32"
}
],
"offset": 0,
"limit": 2,
"total": 19
},
"errorDescription": "success",
"errorMessage": "OK",
"errorCode": 0
}
请求参数
Body 参数application/json