根据条件查询入库单产品对象的列表
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": {
"dataObjectApiName": "GoodsReceivedNoteProductObj",
"search_query_info": {
"limit": 2,
"offset": 0,
"filters": []
}
}
}'
响应示例响应示例
{
"traceId": "E-O.fktest188.1453-67c7022e3b0041c9",
"data": {
"dataList": [
{
"specs": "",
"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
},
"product_id": "6034666ed9c42a00018f6cc1",
"owner_department_id": "1000",
"owner_department": "董事会",
"acceptance_warehouse_id__r": "文本值",
"goods_received_note_id__r": "GRN2021-02-25_0007",
"lock_status": "0",
"data_own_department__r": {
"deptName": "董事会",
"deptId": "1000",
"parentId": "999999",
"status": 0
},
"create_time": 1614246719457,
"goods_received_note_id": "6037733fc6e16700016e8af8",
"version": "2",
"created_by": [
"FSUID_CBF443F942C4ABE8A46BE859066A5CD1"
],
"unit": "米",
"data_own_department": [
"1000"
],
"acceptance_warehouse_id__relation_ids": "60371c7dc6e16700017653b0",
"name": "GRNP2021-02-25_0007",
"_id": "6037733fc6e16700016e8bf5",
"data_own_department__l": [
{
"parentId": "999999",
"deptId": "1000",
"deptName": "董事会",
"status": 0
}
],
"product_id__r": "测试21",
"goods_received_amount": "1.00",
"goods_received_note_id__relation_ids": "6037733fc6e16700016e8af8",
"product_id__relation_ids": "6034666ed9c42a00018f6cc1",
"is_deleted": false,
"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__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"
],
"last_modified_time": 1614246719576,
"unit__r": "米",
"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": ""
}
],
"acceptance_warehouse_id": "60371c7dc6e16700017653b0",
"last_modified_by": [
"-10000"
],
"record_type": "default__c",
"last_modified_by__r": {
"name": "系统",
"id": "-10000"
},
"order_by": "10",
"unit__v": "11"
},
{
"specs": "",
"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
},
"product_id": "6034666ed9c42a00018f6cc1",
"owner_department_id": "1000",
"owner_department": "董事会",
"acceptance_warehouse_id__r": "文本值",
"goods_received_note_id__r": "GRN2021-02-25_0006",
"lock_status": "0",
"data_own_department__r": {
"deptName": "董事会",
"deptId": "1000",
"parentId": "999999",
"status": 0
},
"create_time": 1614246717395,
"goods_received_note_id": "6037733d634325000176c362",
"version": "2",
"created_by": [
"FSUID_CBF443F942C4ABE8A46BE859066A5CD1"
],
"unit": "米",
"data_own_department": [
"1000"
],
"acceptance_warehouse_id__relation_ids": "60371c7dc6e16700017653b0",
"name": "GRNP2021-02-25_0006",
"_id": "6037733d634325000176c3f0",
"data_own_department__l": [
{
"parentId": "999999",
"deptId": "1000",
"deptName": "董事会",
"status": 0
}
],
"product_id__r": "测试21",
"goods_received_amount": "1.00",
"goods_received_note_id__relation_ids": "6037733d634325000176c362",
"product_id__relation_ids": "6034666ed9c42a00018f6cc1",
"is_deleted": false,
"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__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"
],
"last_modified_time": 1614246717601,
"unit__r": "米",
"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": ""
}
],
"acceptance_warehouse_id": "60371c7dc6e16700017653b0",
"last_modified_by": [
"-10000"
],
"record_type": "default__c",
"last_modified_by__r": {
"name": "系统",
"id": "-10000"
},
"order_by": "10",
"unit__v": "11"
}
],
"offset": 0,
"limit": 2,
"total": 7
},
"errorDescription": "success",
"errorMessage": "OK",
"errorCode": 0
}
请求参数
Body 参数application/json