登录

您的位置 : 文档中心 -> API信息

系统级别输入参数

参数名称 说明
appkey 客户端标识 (由fesco技术部提供给调用方一对appkey与appsecret)
sign 调用方签名后的字符串
format (json/jsonp)如果该参数不传递,默认返回json
timeStamp 时间戳(毫秒值,1534225991898)
methodName 方法名

接口概述
开发者 孙勃洋
方法名 oldhr.queryJurisdiction
说明

应用级输入参数

名称 类型 是否必须 描述 示例值 默认值
jsonList {} 应用级别参数对象Json序列化后的字符串 {“custIds”:*,“busiCustIds”:*,“custConIds”:*,“conAcceIds”:*, “pId”:0,“type”:1}
custIds String 客户id串 (初始时通过hr权限默认过滤数据,用or条件关联多个条件;) (当四层权限id串一个也不传时,表明无权限,返回空数据)
busiCustIds String 业务客户id串 (初始时通过hr权限默认过滤数据,用or条件关联多个条件;)
custConIds String 合同id串 (初始时通过hr权限默认过滤数据,用or条件关联多个条件;)
conAcceIds String 合同附件id串 (初始时通过hr权限默认过滤数据,用or条件关联多个条件;)
stIds String 服务模板id串 (初始时通过hr权限默认过滤数据,用or条件关联多个条件;) 实际给hr赋权限不会到服务模板,故此值实际传空
pId Long pId 级联下列表选择的父id(查询客户列表时,PId为 0)
type String 1为客户,2为业务客户,3为合同,4为合同附件

返回结果

名称 类型 描述
code String 0为成功,其他为失败
errorMsg String 失败原因
successResult [] 成功数据
errorResult {} 错误数据集合
status String 1为中间库成功,2为新系统成功,3为新系统失败(新系统业务处理异常,不插入中间库)
piCallRecId String 中间表主键id(根据中间表主键id查询返回正确业务数据的json串)
errorStack String 错误堆栈

调用示列

'custIds':'32495','busiCustIds':'5393255,5393253','custConIds':'29466158','conAcceIds':'38530' ,'pId':'0', 'type':'1'; 'custIds':'32495','busiCustIds':'5393255,5393253','custConIds':'29466158','conAcceIds':'38530', 'pId':'32495', 'type':'2'; 'custIds':'32495','busiCustIds':'5393255,5393253','custConIds':'29466158','conAcceIds':'38530','pId':'29819', 'type':'3'; 'custIds':'32495','busiCustIds':'5393255,5393253','custConIds':'29466158','conAcceIds':'38530', 'pId':'55645', 'type':'4';

错误码

错误编码 错误描述 错误原因 解决方案

API工具

联系我们

400-8000-800

产品咨询:010-85692930

FESCO官方

FESCO服务