根据条件查询回款对象的列表
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": "PaymentObj"
}
}'
响应示例响应示例
{
"traceId": "E-O.fktest188.1453-756f335ae97f48e1",
"data": {
"dataList": [
{
"payment_time": 1517328000000,
"account_id__r": "002测试",
"created_by__r": {
"picAddr": "",
"description": "",
"modifyTime": 1572827734134,
"post": "",
"createTime": 1523278036470,
"phone": "",
"name": "纷享销客超级管理员",
"nickname": "纷享销客超级管理员",
"tenantId": "590163",
"id": "1000",
"email": "fxiaoke@fxiaoke.com",
"status": 0
},
"lock_status": "0",
"create_time": 1597652453918,
"submit_time": 1597652453785,
"payment_amount": "1.00",
"version": "4",
"created_by": [
"FSUID_DA4F6DE5640038B7DDB27908CC4ED1A8"
],
"relevant_team": [
{
"teamMemberEmployee": [
"FSUID_DA4F6DE5640038B7DDB27908CC4ED1A8"
],
"teamMemberRole": "1",
"teamMemberPermissionType": "2"
}
],
"name": "20200817-000023",
"_id": "5f3a3de57c604a00017dc5ee",
"order_id": "5eddcb5124c81d0001a4b0fd",
"remark": "002测aa试",
"available_amount": "0.00",
"is_deleted": false,
"attachment": [],
"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"
],
"amount": "1.00",
"last_modified_time": 1603875674209,
"payment_term": "post",
"life_status": "normal",
"last_modified_by__l": [
{
"id": "-10000",
"name": "系统"
}
],
"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": [
"-10000"
],
"record_type": "default__c",
"last_modified_by__r": {
"name": "系统",
"id": "-10000"
},
"notification_time": 1516982400000,
"account_id": "5ed495e2ae2f920001955e55",
"account_id__relation_ids": "5ed495e2ae2f920001955e55"
},
{
"payment_time": 1594137600000,
"account_id__r": "ccccxxxxx",
"created_by__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_department_id": "1000",
"owner_department": "董事会",
"lock_status": "0",
"data_own_department__r": {
"deptName": "董事会",
"deptId": "1000",
"parentId": "999999",
"status": 0
},
"create_time": 1595815262063,
"submit_time": 1595815261594,
"payment_amount": "0.00",
"version": "3",
"created_by": [
"FSUID_CBF443F942C4ABE8A46BE859066A5CD1"
],
"relevant_team": [
{
"teamMemberEmployee": [
"FSUID_CBF443F942C4ABE8A46BE859066A5CD1"
],
"teamMemberRole": "1",
"teamMemberPermissionType": "2"
}
],
"data_own_department": [
"1000"
],
"name": "20200727-000018",
"_id": "5f1e355ddd604c00017e483e",
"order_id": "5f1e3555dd604c00017e472c",
"data_own_department__l": [
{
"parentId": "999999",
"deptId": "1000",
"deptName": "董事会",
"status": 0
}
],
"available_amount": "0.00",
"is_deleted": false,
"attachment": [],
"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": ""
}
],
"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"
],
"amount": "0.00",
"last_modified_time": 1595815262560,
"life_status": "normal",
"last_modified_by__l": [
{
"id": "-10000",
"name": "系统"
}
],
"created_by__l": [
{
"id": "1453",
"tenantId": "590163",
"name": "蒋小川1",
"picAddr": "",
"email": "",
"nickname": "蒋小川1",
"supervisorId": "1006",
"phone": "",
"description": "",
"status": 0,
"createTime": 1587462141009,
"modifyTime": 1591759818876,
"dept": "1000",
"post": ""
}
],
"last_modified_by": [
"-10000"
],
"record_type": "default__c",
"last_modified_by__r": {
"name": "系统",
"id": "-10000"
},
"account_id": "5f197321d5935a0001497394",
"account_id__relation_ids": "5f197321d5935a0001497394"
}
],
"offset": 0,
"limit": 2,
"total": 9
},
"errorDescription": "success",
"errorMessage": "OK",
"errorCode": 0
}
请求参数
Body 参数application/json