API json格式
金蝶云社区-坑叔
坑叔
0人赞赏了该文章 1,915次浏览 未经作者许可,禁止转载编辑于2015年10月09日 17:45:55


生产入库单api保存 json:
{
"Creator": "user",
"NeedUpDateFields": [
"FDate",
"FBillType",
"FStockOrgId",
"FPrdOrgId",
"FOwnerTypeId0",
"FOwnerId0",
"FCreatorId",
"FCreateDate",
"FEntity",
"FMaterialId",
"FUnitID",
"FStockId"
],
"Model": {
"FID": 0,
"FDate": "2015-10-09",
"FBillType": {
"FNUMBER": "SCRKD02_SYS"
},
"FStockOrgId": {
"FNUMBER": "102"
},
"FPrdOrgId": {
"FNUMBER": "102"
},
"FOwnerTypeId0": "BD_OwnerOrg",
"FOwnerId0": {
"FNumber": "102"
},
"FCreatorId": {
"FUserAccount": "user"
},
"FCreateDate": "2015-10-09",
"FEntity": [
{
"FMaterialId": {
"FNUMBER": "A01-003"
},
"FUnitID": {
"FNUMBER": "Pcs"
},
"FStockId": {
"FNUMBER": "A01"
}
}
]
}
}
生产入库单api格式
{"Creator":"String","NeedUpDateFields":["String"],"Model":{"FID":0,"FBillNo":"String","FBillType":{"FBILLTYPEID":"String","FNumber":"String","FName":"String"},"FDate":"\/Date(-62135596800000+0800)\/","FDocumentStatus":"String","FStockOrgId":{"FOrgID":0,"FNUMBER":"String","FNAME":"String"},"FIsIOSForFin":false,"FStockId0":{"FStockId":0,"FNumber":"String","FName":"String","FStockStatusType":"String","FDefStockStatusId":{"FStockStatusId":0,"FNumber":"String","FName":"String"},"FIsOpenLocation":false},"FPrdOrgId":{"FOrgID":0,"FNUMBER":"String","FNAME":"String"},"FWorkShopId":{"FDEPTID":0,"FNumber":"String","FName":"String"},"FOwnerTypeId0":"String","FOwnerId0":{"FItemID":0,"FNumber":"String","FName":"String"},"FSTOCKERID":{"FID":0,"FNumber":"String","FName":"String","FISUSE":false},"FDescription":"String","FCreatorId":{"FUserID":0,"FUserAccount":"String","FName":"String"},"FCreateDate":"\/Date(-62135596800000+0800)\/","FApproverId":{"FUserID":0,"FUserAccount":"String","FName":"String"},"FModifierId":{"FUserID":0,"FUserAccount":"String","FName":"String"},"FApproveDate":"\/Date(-62135596800000+0800)\/","FModifyDate":"\/Date(-62135596800000+0800)\/","FCanceler":{"FUserID":0,"FUserAccount":"String","FName":"String"},"FCancelDate":"\/Date(-62135596800000+0800)\/","FCancelStatus":"String","FIsEntrust":false,"FCurrId":{"FCURRENCYID":0,"FNumber":"String","FName":"String","FSYSMBOL":"String","FPRICEDIGITS":0,"FAMOUNTDIGITS":0,"FIsShowCSymbol":false,"FFormatOrder":"String"},"FIOSBizTypeId":{"FID":0,"FNumber":"String","FName":"String"},"FEntrustInStockId":0}}

麻烦总部老师帮忙看下 json格式哪里有错误
在网上用 json解析器解析出来显示为不是有效的 json