Foxtable(狐表)用户栏目专家坐堂 → [求助]求教代码改写


  共有5988人关注过本帖树形打印复制链接

主题:[求助]求教代码改写

帅哥哟,离线,有人找我吗?
xubing051018
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:二尾狐 帖子:553 积分:4545 威望:0 精华:0 注册:2012/12/2 16:53:00
[求助]求教代码改写  发帖心情 Post By:2023/1/10 17:19:00 [显示全部帖子]

有个需求要跟其他系统对接取数,对方提供了API代码示例
ApiClient client = new ApiClient("https://ddxxxww.ik3cloud.com/K3Cloud/");
bool result = client.Login("27890909890909123679", "admin", "******", 2052);
    if (result)
    {
        string apiParam="{"ReportType":1,"ReportNumber":"BBMB0045","AcctSystemNumber":"KJHSTX01_SYS","OrgNumber":"103","AcctPolicyNumber":"KJZC02_SYS","CurrencyNumber":"PRE001","CurrUnitNumber":"JEDW01_SYS","CycleType":4,"Year":2021,"Period":3,"DataType":"Excel","ResultType":1"}";
        var reportData = client.Execute<string>("Kingdee.BOS.KDS.ServiceFacade.ServicesStub.KDSReportAPIStub.GetReportData, Kingdee.BOS.KDS.ServiceFacade.ServicesStub",new string[] { apiParam });
        Console.Write(reportData);
    }

请教下怎么改写成ft的代码, 

 回到顶部