api接口json构造疑问?
金蝶云社区-云社区用户22yY3288
云社区用户22yY3288
1人赞赏了该文章 2,194次浏览 未经作者许可,禁止转载编辑于2015年03月03日 11:17:54

cloud http跟踪例子1 (仓库)[{"key":"FENTITY","fieldstates":[{"key":"FSTOCKID","row":0,"value":["非保税原材料仓","D301"]}]},{"key":"FPSTOCKSTATUSID","value":["可用","KCZT01_SYS"],"disabled":false}]},{"actionname":"setFocus","params":[{"key":"FENTITY","row":-1,"colKey":"FSTOCKID"}]}] json构造:
FStockId=new{ FStockId= 100342, FNumber="D301", FName="非保税原材料仓" }
FStockStatusId=new{ FStockStatusId=10000, FNumber="KCZT01_SYS", FName="可用" },

cloud http跟踪例子2 (批号)[{"actionname":"UpdateControlStates","params":[{"key":"FENTITY","fieldstates":[{"key":"FLOT","row":0,"value":"20140930"}]}]},{"actionname":"setFocus","params":[{"key":"FENTITY","row":-1,"colKey":"FLOT"}]}]
json构造: FLot=new { FLot="20140930" },
cloud http跟踪例子3 (辅助属性 等级){"key":"FENTITY","fieldstates":[{"key":"FAUXPROPID","row":0,"value":[[" ","$$FAuxPropId__FOPCODE",0,"231","1"],["","$$FAuxPropId__FF100001",0,"231","1"],[["A+","02"],"$$FAuxPropId__FF100002",0,"60523","1"]]}]}]}]
例子3这种如何构造?图是例子3的json结构