1.登录星空:http://{ip:port}/k3cloud/Kingdee.bos.webapi.ServicesStub.authservice.validateuser.common.kdsvc
请求头json,请求json格式:
{
"acctid":"账套ID",
"userName":"xxxx",
"password":"yyyy",
"lcid":2052
}
2.调用星空业务接口:http://{ip:port}/k3cloud/Kingdee.bos.webapi.ServicesStub.DynamicFormService.{ExecuteBillQuery||Save||View....具体参照文档执行的业务操作名称}.common.kdsvc
请求头json,头部包含登录kdservice-sessionid,请求json格式:
{
"data":{
"FormId": "BD_MATERIAL",
"FieldKeys": "FMATERIALID,FNumber",
"FilterString": "",
"OrderString": "",
"TopRowCount": 0,
"StartRow": 0,
"Limit": 10
}
}
3.星空服务返回的加密压缩数据解密
KD.utf8Decode(KD.decompress('压缩串'));