POST xuner/bi/synthetical/addPurchaseOrder
添加采购订单
请求信息
URI 参数
无。
Body 参数
synthetical_addPurchaseRequest名称 | 描述 | 类型 | 附加信息 |
---|---|---|---|
codetypes |
单据状态:(1)新增,(2)修改 |
string |
无。 |
code |
单据编号 |
string |
无。 |
supplier |
供货商code |
string |
Required |
warehouse |
仓库code |
string |
Required |
typbcode |
发票类型code |
string |
无。 |
typacode |
导出模板类别code |
string |
无。 |
rmk |
备注 |
string |
无。 |
product |
商品数据 |
string |
Required |
请求格式
application/json, text/json
样例:
{ "codetypes": "sample string 1", "code": "sample string 2", "supplier": "sample string 3", "warehouse": "sample string 4", "typbcode": "sample string 5", "typacode": "sample string 6", "rmk": "sample string 7", "product": "sample string 8" }
响应信息
资源描述
添加采购订单
gXopResponseOfsynthetical_addPurchase名称 | 描述 | 类型 | 附加信息 |
---|---|---|---|
data | synthetical_addPurchase |
无。 |
|
desc |
错误信息 |
string |
无。 |
result |
响应代码 1 成功 1011 令牌失效 0或其它 请求错误 |
integer |
无。 |
响应格式
application/json, text/json
样例:
{ "data": { "code": 1, "Ordercode": "sample string 2" }, "desc": "sample string 1", "result": 2 }