公共参数
输入data参数
data参数 | |||||
名称 | 类型 | 字段长度 | 是否必须 | 示例值 | 描述 |
OrderMain | string | 0 | 1 | [{"SheetID":"","SheetType":"-1","DirectFlag":"","SheetFlag":"","LogisticsStatus":"","Status":"","LoginName":"","Operator":"","Memo":"","Note":"","Note1":"","Note2":"","ClientID":""}] |
采购退货表头对象-包含参数 SheetType(下单类别),SheetID(单号,可空),DirectFlag(订单类别),SheetFlag(订单标识),LogisticsStatus(),Status(订单状态),LoginName(开单人),Operator(经手人),Memo(备注),Note(摘要),Note1(摘要1),Note2(摘要2),ClientID(供应商ID) |
OrderDetails | string | 0 | 1 | [{"ID":"","SheetID":"","SheetItemID":"","SheetType":"","DirectFlag":"","GoodsID":"","Qty":"","PackQty":"","ModeratePackRate":"","MostPackRate":"","Price":"","Cost":"","TaxRate":"","Saleoff":"","StockID":"","BatchID":"","BatchNo":"",
"Udate":"","Mfgdate":"","Shelf":"","Color":"","SourceID":"","Checker":"","CheckDate":"","CheckOut":"","QualityStatus":"",
"RejectQty":"","RejectNote":"","ReturnQty":"","NeedQty":"","FastFlag":"","FastBuyer":"","FastBuyDate":"","SupplyItemID":"","SupplyID":""}] |
单据明细对象包含参数 ID(主键id,可空),SheetID(单据ID),SheetItemID(原单序号,可空),,SheetType(下单类别),DirectFlag(订单类别), GoodsID(商品代码),Qty(数量),PackQty(包装数量),ModeratePackRate(中包装比例),MostPackRate(大包装比例), --Price(单据价格),Cost(成本价格),TaxRate(税率),Saleoff(折扣价),StockID(仓库编号),BatchID(批号),BatchNo(批次), --Udate(有效期),Mfgdate(生产日期),Shelf(货位号),Color(颜色),SourceID(源序号),Checker(验收人,拣货人),CheckDate(验收,拣货日期),CheckOut(验收结论),QualityStatus(质量状况), --CheckQty(验收数量),ReCheckQty(复核数量),ReChecker(复核人),ReCheckDate(复核日期), --RejectQty(拒收数量),RejectNote(拒收原因), ReturnQty(退货数量),NeedQty(需求数量),FastFlag(快速采购标识) --FastBuyer(快速采购人),FastBuyDate(快速采购日期),SupplyItemID(紧急采购供应商代码),SupplyID(供应商ID) |
提交实例
{"method":"SavePurchaseReturn","token":"用户token信息","data":[{"OrderMain":"[{"SheetID":"","SheetType":"-1","DirectFlag":"","SheetFlag":"","LogisticsStatus":"","Status":"","LoginName":"","Operator":"","Memo":"","Note":"","Note1":"","Note2":"","ClientID":""}]","OrderDetails":"[{"ID":"","SheetID":"","SheetItemID":"","SheetType":"","DirectFlag":"","GoodsID":"","Qty":"","PackQty":"","ModeratePackRate":"","MostPackRate":"","Price":"","Cost":"","TaxRate":"","Saleoff":"","StockID":"","BatchID":"","BatchNo":"", "Udate":"","Mfgdate":"","Shelf":"","Color":"","SourceID":"","Checker":"","CheckDate":"","CheckOut":"","QualityStatus":"", "RejectQty":"","RejectNote":"","ReturnQty":"","NeedQty":"","FastFlag":"","FastBuyer":"","FastBuyDate":"","SupplyItemID":"","SupplyID":""}]"}]}
返回结果
名称 | 描述 | 类型 | 备注 | 长度 | 约束 |
code | 响应码 | String | 1:成功,0:失败 | 1 | |
message | 响应信息 | String | 1 | ||
result | 返回数据 | object | 1 | ||
result参数 | |||||
名称 | 描述 | 类型 | 示例 | 长度 | 约束 |
返回实例
{"code":"1","message":"请求成功","result":[]}