SyncDepartment
同步ISV(即行业软件系统)的仓库数据到KIS账务平台。
| 参数名称 | 参数类型 | 参数说明 | 是否必填 | 值域 |
|---|---|---|---|---|
| FParentID | string | ISV中上级仓库编码 | 否 | |
| FID | string | ISV中部门编码 | 是 | |
| FName | string | 部门名称 | 是 | |
| FPhone | string | 电话 | 否 | |
| FFax | string | 传真 | 否 | |
| FSMSPhoneNumber | string | [短信]移动电话 | 否 |
Post Url:https://kisgz.kingdee.com/Kisopenapi/router/
Post数据:
eid=1884366
&netid=1884366317841
&client_id=1402576015
&method=kis.APP004088.acctplatform.AcctController.DealAcctPlatForm
×tamp=2016-06-20 11:22:34
&ver=2.0
&access_token=2BB6EC5194303633356B5ACE509D1BA0
&state=dmYZagdU8kwC8yLr
&custdata={
"ProductID": "S1S013S001",
"AccountDB": "KISOEM_Sample",
"Data": {
"Action": "SyncDepartment",
"Recordset": [
{
"FParentID": "",
"FID": "01",
"FName": "办公室",
"FPhone": "",
"FFax": "",
"FSMSPhoneNumber": ""
},
{
"FParentID": "",
"FID": "02",
"FName": "财务部",
"FPhone": "",
"FFax": "",
"FSMSPhoneNumber": ""
}
]
}
}
示例1
{
"Result": 200,
"ErrMsg": "",
"DataJson": {
"Result": "200",
"ErrMsg": "",
"AccountDB": null,
"TotalPage": "5",
"CurrentPage": "1",
"ItemsOfPage": "10",
"Data": ""
}
}
示例2
{
"Result": 200,
"ErrMsg": "关于路由的出错信息",
"DataJson": {
"Result": "200",
"ErrMsg": "",
"AccountDB": null,
"TotalPage": "5",
"CurrentPage": "1",
"ItemsOfPage": "10",
"Data": null
}
}
示例3
{
"Result": 200,
"ErrMsg": "",
"DataJson": {
"Result": "202",
"ErrMsg": "关于业务处理的出错信息",
"AccountDB": null,
"TotalPage": "5",
"CurrentPage": "1",
"ItemsOfPage": "10",
"Data": null
}
}