!客户同步功能调用方法
!!%second%业务类型名称
SyncOrganization
!!%second%功能说明
同步ISV的客户数据到KIS账务平台。
!!'''Recordset数据集参数'''
|| class=table-of-content
||!参数名称 ||!参数类型||!参数说明||!是否必填||!值域
||FParentID||string ||ISV中上级客户编码||否|| ||
||FID||string ||ISV中客户编码||是|| ||
||FName||string ||客户名称||是|| ||
||FShortName||string ||客户简称||否|| ||
||FCountry||string ||国家||否|| ||
||FProvince||string ||省份||否|| ||
||FCity||string ||城市||否|| ||
||FAddress||string ||地址||否|| ||
||FPostalCode||string ||邮编||否|| ||
||FPhone||string ||电话号码||否|| ||
||FFax||string ||传真号||否|| ||
||FEmail||string ||邮件地址||否|| ||
||FHomePage||string ||公司主页||否|| ||
||FBank||string ||开户银行||否|| ||
||FAccount||string ||银行账号||否|| ||
||FContact||string ||联系人||否|| ||
||FTaxNum||string ||税务登记号||否|| ||
||FCorperate||string ||法人代表||否|| ||
||FSMSPhoneNumber||string ||[短信]移动电话||否|| ||
!!%second%发送请求示例
Post Url:http://120.132.144.214/Webapi/Router/
'''post数据:'''
EID=22002
&Method=kis.APP001804.acctplatform.AcctController.DealAcctPlatForm
&Timestamp=2014-06-26 18:54:01
&Ver=1.0
&Sign=582B2ECC3B1A84423DD0297FD66A4753
&State=7HunSB7qrFRvZThM
&IsEncrypt=N
&CustData={
"ProductID": "S1S013S001",
"AccountDB": "KISOEM_Sample",
"UserID": "",
"PassWord": "",
"CurrentPage": 0,
"ItemsOfPage": 0,
"Data": {
"DBServerIP": "",
"Action": "SyncOrganization",
"Sql": "",
"Recordset": [
{
"FParentID": "",
"FID": "001",
"FName": "太和电脑公司",
"FShortName": "",
"FCountry": "",
"FProvince": "",
"FCity": "",
"FAddress": "深圳",
"FPostalCode": "",
"FPhone": "",
"FFax": "",
"FEmail": "",
"FHomePage": "",
"FBank": "",
"FAccount": "",
"FContact": "",
"FTaxNum": "",
"FCorperate": "",
"FSMSPhoneNumber": ""
},
{
"FParentID": "",
"FID": "002",
"FName": "百甲网络公司",
"FShortName": "",
"FCountry": "",
"FProvince": "",
"FCity": "",
"FAddress": "广州",
"FPostalCode": "",
"FPhone": "",
"FFax": "",
"FEmail": "",
"FHomePage": "",
"FBank": "",
"FAccount": "",
"FContact": "",
"FTaxNum": "",
"FCorperate": "",
"FSMSPhoneNumber": ""
}
]
}
}
!!%second%返回数据示例
'''示例1'''
{
"Result": 200,
"ErrMsg": "",
"DataJson": {
"Result": "200",
"ErrMsg": "",
"AccountDB": null,
"TotalPage": "5",
"CurrentPage": "1",
"ItemsOfPage": "10",
"Data": ""
}
}
%strong%'''示例2'''
{
"Result": 200,
"ErrMsg": "关于路由的出错信息",
"DataJson": {
"Result": "200",
"ErrMsg": "",
"AccountDB": null,
"TotalPage": "5",
"CurrentPage": "1",
"ItemsOfPage": "10",
"Data": null
}
}
%strong%'''示例3'''
{
"Result": 200,
"ErrMsg": "",
"DataJson": {
"Result": "202",
"ErrMsg": "关于业务处理的出错信息",
"AccountDB": null,
"TotalPage": "5",
"CurrentPage": "1",
"ItemsOfPage": "10",
"Data": null
}
}