有个需求要跟其他系统对接取数,对方提供了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的代码,