计量单位同步功能调用方法

业务类型名称

SyncUnit

功能说明

同步ISV(即行业软件系统)的计量单位数据到KIS账务平台。

Recordset数据集参数

参数名称参数类型参数说明是否必填值域
FGroupIDstringISV中计量单位类别编码 
FGroupNamestring计量单位类别名称 
FIDstringISV中计量单位编码 
FNamestring计量单位名称 
FStandardstring是否为默认基本计量单位 
FCoefficientDouble换算率 

发送请求示例

Post Url:https://kisgz.kingdee.com/Kisopenapi/router/

Post数据:

eid=1884366
&netid=1884366317841
&client_id=1402576015
&method=kis.APP004088.acctplatform.AcctController.DealAcctPlatForm
&timestamp=2016-06-20 11:22:34
&ver=2.0
&access_token=2BB6EC5194303633356B5ACE509D1BA0
&state=dmYZagdU8kwC8yLr
&custdata={

    "ProductID": "S1S013S001",
    "AccountDB": "KISOEM_Sample",
    "Data": {
        "Action": "SyncUnit",
        "Recordset": [
            {
                "FGroupID": "75",
                "FGroupName": "电脑数量组",
                "FID": "001",
                "FName": "套",
                "FCoefficient": "1",
                "FStandard": "1"
            },
            {
                "FGroupID": "75",
                "FGroupName": "电脑数量组",
                "FID": "002",
                "FName": "箱",
                "FCoefficient": "10",
                "FStandard": "0"
            }
        ]
    }

}

返回数据示例

示例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
    }

}