人力资源类

    mendwa/batch_get


    目录

    1.接口说明

    1.1接口描述

         批量获取薪资结账状态

    1.2适用版本

         支持U8V12.0 及更高版本

    2.使用场景

    薪资结账状态

    3.接口调用说明

    3.1请求说明

    url https://api.yonyouup.com/api/mendwa/batch_get
    格式 JSON
    https请求方式 GET


    3.2url参数说明

    参数 是否必填 类型 描述
    from_account sting 调用方id
    to_account string 提供方id
    app_key string 应用编码
    token string 全局访问唯一识别码
    ds_sequence number 数据源序号(默认取应用的第一个数据源)
    iyear number 会计年度
    iperiod_begin number 起始会计期间
    iperiod_end number 结束会计期间

    3.3请求示例

    GET https://api.yonyouup.com/api/mendwa/batch_get?from_account=openapi_dev&to_account=openapi_ent&app_key=opa6fdd4bea98b95ad7&token=26d2fc4a06844448957a7f8260f3d08b&iyear=xxxxx&iperiod_begin=xxxxx&iperiod_end=xxxxx


    3.4返回参数说明

    参数说明 类型 参数路径 描述
    errcode string   错误码,0 为正常。
    errmsg string   错误信息。
    iyear number 会计年度
    iperiod number 会计期间
    bflag_wa boolean 工资结账标志

    3.5正确返回示例

    JSON示例:

    application/json;charset=UTF-8
    {
    	"errcode":"0",
    	"rows_per_page":"20",
    	"page_index":"1",
    	"errmsg":"",
    	"mendwa":[
    		{
    			"iyear":"2014",
    			"bflag_wa":"1",
    			"iperiod":"0"
    		},
    		{
    			"iyear":"2014",
    			"bflag_wa":"1",
    			"iperiod":"1"
    		}
    	],
    	"page_count":"12",
    	"row_count":"225"
    }
    

    3.6错误返回示例

    application/json;charset=UTF-8
    {
    	"errcode":"30021",
    	"errmsg":"此应用未上线"
    } 

    4.API测试

    API测试 SDK下载