POST ActionApi/T_Orders/PostT_Orders
保存非销售出库单据
Request Information
URI Parameters
None.
Body Parameters
OrderWithPicsName | Description | Type | Additional information |
---|---|---|---|
_Order |
用于提交订单的实体 |
T_Orders |
None. |
_Pic |
用于上传图片的实体 |
Collection of T_Pics |
None. |
Request Formats
application/json, text/json
Sample:
{ "_Order": { "id": "4e981518-5e16-4f3a-92e1-34dd60ce29c4", "cOrderCode": "sample string 2", "iOrderType": 1, "iPreparedId": "7461486f-c702-4f1c-b4d1-30c864891bfc", "dtPrepTime": "2023-03-24T19:59:19.8158642+08:00", "iAuthorizeId": "1cc2cf1b-7130-4e02-8c46-0c90a3e00f47", "dtAuthorizeTime": "2023-03-24T19:59:19.8158642+08:00", "iSignId": "7cf73e44-4423-4816-931c-e6ff9d295428", "dtSignTime": "2023-03-24T19:59:19.8158642+08:00", "iOrderState": 1, "iAuthoState": 1, "iStoreId": "c5ef1dce-7779-440a-955e-2a3bc372ee11", "cSideId": "sample string 3", "cSideType": "sample string 4", "cLogisticsNo": "sample string 5", "iSourceId": "fdcb2bac-2f9c-4ab9-9241-58c799627795", "cRemark": "sample string 6", "tTimeStamp": "QEA=", "iDirectorId": "8c343586-af58-44ab-8409-9cd54e3bca90", "dtUpdate": "2023-03-24T19:59:19.8158642+08:00", "cSignName": "sample string 7", "cSignTele": "sample string 8", "cSignAddress": "sample string 9", "cSidePic": "sample string 10", "cReturnReason": "sample string 11", "cLogisticsCode": "sample string 12", "iModifyStatue": 1, "cOrderNC": "sample string 13", "cCustomerTypeNc": "sample string 14", "cResponseNc": "sample string 15", "iToNcNumber": 1, "isToNcStatus": 1, "cCustomerNc": "sample string 16", "iAsync": 1, "cReturnType": "sample string 17", "iReturnId": 1, "iBrandUserId": "2cb859dc-9c82-4ddc-b481-251dfbd69058", "iBrandStatue": 1, "cReportSkuCode": "sample string 18", "iErrorSku": 1, "dtSalesTime": "2023-03-24T19:59:19.8158642+08:00", "iSalesSKU": 1, "iSalesSkuCount": 1, "iSalesSkuMoney": 1.0, "iSalesGiftSKU": 1, "iSalesGiftSkuCount": 1, "iSalesGiftSkuMoney": 1.0, "iTotalSKU": 1, "iTotalSkuCount": 1, "iTotalSkuMoney": 1.0, "T_Authorize": [ { "iOrderId": "3c8e58ba-3a81-46ba-8f66-97150f933798", "id": "fdfaf959-a364-4a1d-9023-2025d17a131d", "cAuthorize": "sample string 2", "dtAuthorTime": "2023-03-24T19:59:19.8158642+08:00", "cSign": "b95d75f1-e59f-45c1-adef-3489303d4d5f" }, { "iOrderId": "3c8e58ba-3a81-46ba-8f66-97150f933798", "id": "fdfaf959-a364-4a1d-9023-2025d17a131d", "cAuthorize": "sample string 2", "dtAuthorTime": "2023-03-24T19:59:19.8158642+08:00", "cSign": "b95d75f1-e59f-45c1-adef-3489303d4d5f" } ], "T_OrderDetail": [ { "id": "98868737-902f-457f-beaf-36a315564b16", "iOrderId": "d1f61077-e66e-419d-a3ff-94b8d90cd525", "iProId": 1, "iCount": 1, "iPrice": 1.0, "iMoney": 1.0, "iSignCount": 1, "dtCreateTime": "2023-03-24T19:59:19.8168402+08:00", "tTimeStamp": "QEA=", "iInventtoryId": 1, "iSendCount": 1, "iStoreHouseId": 1, "iModifyCount": 1, "iLineNo": 1, "iAsync": 1, "cErrorType": "sample string 2", "iErrorId": 1, "cErrorContent": "sample string 3", "iErrorCount": 1, "cCarrierName": "sample string 4", "cCarrierCode": "sample string 5", "dtExpiryDate": "2023-03-24T19:59:19.8168402+08:00", "cRemark": "sample string 6", "iSalesType": 1 }, { "id": "98868737-902f-457f-beaf-36a315564b16", "iOrderId": "d1f61077-e66e-419d-a3ff-94b8d90cd525", "iProId": 1, "iCount": 1, "iPrice": 1.0, "iMoney": 1.0, "iSignCount": 1, "dtCreateTime": "2023-03-24T19:59:19.8168402+08:00", "tTimeStamp": "QEA=", "iInventtoryId": 1, "iSendCount": 1, "iStoreHouseId": 1, "iModifyCount": 1, "iLineNo": 1, "iAsync": 1, "cErrorType": "sample string 2", "iErrorId": 1, "cErrorContent": "sample string 3", "iErrorCount": 1, "cCarrierName": "sample string 4", "cCarrierCode": "sample string 5", "dtExpiryDate": "2023-03-24T19:59:19.8168402+08:00", "cRemark": "sample string 6", "iSalesType": 1 } ] }, "_Pic": [ { "id": 1, "cPicPath": "sample string 2", "cPicType": "sample string 3", "cPicClass": "sample string 4", "iSize": 1.0, "dtCreateTime": "2023-03-24T19:59:19.8168402+08:00", "dtUploadTime": "2023-03-24T19:59:19.8168402+08:00", "iStoreId": "a4e52b4d-124e-42d5-aa59-26b0f868da25", "iUserId": "9b984b8a-5433-423d-a2b8-0d9c0d421c94", "cRoleName": "sample string 5", "cUserName": "sample string 6", "iBrandName": "sample string 7", "iReportId": 1, "iTrainId": "d3db0ff5-2245-466f-9410-74b8e0481a96", "cOrderCode": "sample string 8", "iAsync": 1, "isShow": 1 }, { "id": 1, "cPicPath": "sample string 2", "cPicType": "sample string 3", "cPicClass": "sample string 4", "iSize": 1.0, "dtCreateTime": "2023-03-24T19:59:19.8168402+08:00", "dtUploadTime": "2023-03-24T19:59:19.8168402+08:00", "iStoreId": "a4e52b4d-124e-42d5-aa59-26b0f868da25", "iUserId": "9b984b8a-5433-423d-a2b8-0d9c0d421c94", "cRoleName": "sample string 5", "cUserName": "sample string 6", "iBrandName": "sample string 7", "iReportId": 1, "iTrainId": "d3db0ff5-2245-466f-9410-74b8e0481a96", "cOrderCode": "sample string 8", "iAsync": 1, "isShow": 1 } ] }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
保存非销售出库单据
T_OrdersName | Description | Type | Additional information |
---|---|---|---|
id |
单据ID |
globally unique identifier |
None. |
cOrderCode |
单号 |
string |
None. |
iOrderType |
单据类型 OrderType 必填 |
integer |
None. |
iPreparedId |
制单人 必填 |
globally unique identifier |
None. |
dtPrepTime |
制单日期 必填 |
date |
None. |
iAuthorizeId |
审批人 必填 |
globally unique identifier |
None. |
dtAuthorizeTime |
审批时间 |
date |
None. |
iSignId |
签收人 |
globally unique identifier |
None. |
dtSignTime |
签收时间 |
date |
None. |
iOrderState |
单据状态 OrderState 必填 |
integer |
None. |
iAuthoState |
审批状态 AuthorState 必填 |
integer |
None. |
iStoreId |
门店ID 必填 |
globally unique identifier |
None. |
cSideId |
对方ID |
string |
None. |
cSideType |
对方类型 门店 仓库 |
string |
None. |
cLogisticsNo |
运单号 |
string |
None. |
iSourceId |
来源单号 |
globally unique identifier |
None. |
cRemark |
备注 |
string |
None. |
tTimeStamp |
时间戳 |
Collection of byte |
None. |
iDirectorId |
主管id 必填 |
globally unique identifier |
None. |
dtUpdate |
更新时间 |
date |
None. |
cSignName |
收货人 |
string |
None. |
cSignTele |
收货人联系方式 |
string |
None. |
cSignAddress |
收货地址 |
string |
None. |
cSidePic |
签收图 |
string |
None. |
cReturnReason |
反馈信息 |
string |
None. |
cLogisticsCode |
物流单号 |
string |
None. |
iModifyStatue |
有调整的状态 0无调整 1有调整 |
integer |
None. |
cOrderNC |
NC单号 |
string |
None. |
cCustomerTypeNc |
客户类型 |
string |
None. |
cResponseNc |
NC反馈信息 |
string |
None. |
iToNcNumber |
导入次数 |
integer |
None. |
isToNcStatus |
导入obc状态 0 无下传 1已下传 |
integer |
None. |
cCustomerNc |
NC客户编码 |
string |
None. |
iAsync |
同步BI标志 |
integer |
None. |
cReturnType |
异常原因 盘盈 StockInType 盘亏 StockType 必填 |
string |
None. |
iReturnId |
异常原因id 盘盈 StockInType 盘亏 StockType 必填 |
integer |
None. |
iBrandUserId |
品牌经理用户id |
globally unique identifier |
None. |
iBrandStatue |
审核状态 0待审核 1审核通过 2驳回 必填 |
integer |
None. |
cReportSkuCode |
库存盘点单号 撤柜必填 |
string |
None. |
iErrorSku | integer |
None. |
|
dtSalesTime | date |
None. |
|
iSalesSKU | integer |
None. |
|
iSalesSkuCount | integer |
None. |
|
iSalesSkuMoney | decimal number |
None. |
|
iSalesGiftSKU | integer |
None. |
|
iSalesGiftSkuCount | integer |
None. |
|
iSalesGiftSkuMoney | decimal number |
None. |
|
iTotalSKU | integer |
None. |
|
iTotalSkuCount | integer |
None. |
|
iTotalSkuMoney | decimal number |
None. |
|
T_Authorize | Collection of T_Authorize |
None. |
|
T_OrderDetail | Collection of T_OrderDetail |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": "00331f35-d81f-4ea8-9b54-6b53da6c18f2", "cOrderCode": "sample string 2", "iOrderType": 1, "iPreparedId": "a88a3c2d-e1f9-4700-88eb-08296f046a09", "dtPrepTime": "2023-03-24T19:59:19.8178241+08:00", "iAuthorizeId": "2a0670f0-cb26-4066-b6fa-11eeee9dd824", "dtAuthorizeTime": "2023-03-24T19:59:19.8178241+08:00", "iSignId": "1c245543-86cf-4a6d-a584-9f3089cd78ed", "dtSignTime": "2023-03-24T19:59:19.8178241+08:00", "iOrderState": 1, "iAuthoState": 1, "iStoreId": "d9b7de5f-99d2-408d-beef-c646d6cb1ba5", "cSideId": "sample string 3", "cSideType": "sample string 4", "cLogisticsNo": "sample string 5", "iSourceId": "69d981bf-5636-4009-96ac-c16383479948", "cRemark": "sample string 6", "tTimeStamp": "QEA=", "iDirectorId": "25f825cf-2818-4d5c-b6fd-a1dd30c811a1", "dtUpdate": "2023-03-24T19:59:19.8178241+08:00", "cSignName": "sample string 7", "cSignTele": "sample string 8", "cSignAddress": "sample string 9", "cSidePic": "sample string 10", "cReturnReason": "sample string 11", "cLogisticsCode": "sample string 12", "iModifyStatue": 1, "cOrderNC": "sample string 13", "cCustomerTypeNc": "sample string 14", "cResponseNc": "sample string 15", "iToNcNumber": 1, "isToNcStatus": 1, "cCustomerNc": "sample string 16", "iAsync": 1, "cReturnType": "sample string 17", "iReturnId": 1, "iBrandUserId": "828f3315-0fa4-46e2-acaf-df302c26122b", "iBrandStatue": 1, "cReportSkuCode": "sample string 18", "iErrorSku": 1, "dtSalesTime": "2023-03-24T19:59:19.8178241+08:00", "iSalesSKU": 1, "iSalesSkuCount": 1, "iSalesSkuMoney": 1.0, "iSalesGiftSKU": 1, "iSalesGiftSkuCount": 1, "iSalesGiftSkuMoney": 1.0, "iTotalSKU": 1, "iTotalSkuCount": 1, "iTotalSkuMoney": 1.0, "T_Authorize": [ { "iOrderId": "30b573ae-185a-4d41-be2a-8c4bba077d90", "id": "fa2705fa-2508-4df3-9111-d99110743810", "cAuthorize": "sample string 2", "dtAuthorTime": "2023-03-24T19:59:19.8178241+08:00", "cSign": "1fdc7d48-9a40-4e6b-b585-1b5ffc8670a8" }, { "iOrderId": "30b573ae-185a-4d41-be2a-8c4bba077d90", "id": "fa2705fa-2508-4df3-9111-d99110743810", "cAuthorize": "sample string 2", "dtAuthorTime": "2023-03-24T19:59:19.8178241+08:00", "cSign": "1fdc7d48-9a40-4e6b-b585-1b5ffc8670a8" } ], "T_OrderDetail": [ { "id": "a5307940-470a-47ad-a951-9797f8da0ca9", "iOrderId": "db6def79-3c76-46f4-822b-3c0dcef1c565", "iProId": 1, "iCount": 1, "iPrice": 1.0, "iMoney": 1.0, "iSignCount": 1, "dtCreateTime": "2023-03-24T19:59:19.8178241+08:00", "tTimeStamp": "QEA=", "iInventtoryId": 1, "iSendCount": 1, "iStoreHouseId": 1, "iModifyCount": 1, "iLineNo": 1, "iAsync": 1, "cErrorType": "sample string 2", "iErrorId": 1, "cErrorContent": "sample string 3", "iErrorCount": 1, "cCarrierName": "sample string 4", "cCarrierCode": "sample string 5", "dtExpiryDate": "2023-03-24T19:59:19.8178241+08:00", "cRemark": "sample string 6", "iSalesType": 1 }, { "id": "a5307940-470a-47ad-a951-9797f8da0ca9", "iOrderId": "db6def79-3c76-46f4-822b-3c0dcef1c565", "iProId": 1, "iCount": 1, "iPrice": 1.0, "iMoney": 1.0, "iSignCount": 1, "dtCreateTime": "2023-03-24T19:59:19.8178241+08:00", "tTimeStamp": "QEA=", "iInventtoryId": 1, "iSendCount": 1, "iStoreHouseId": 1, "iModifyCount": 1, "iLineNo": 1, "iAsync": 1, "cErrorType": "sample string 2", "iErrorId": 1, "cErrorContent": "sample string 3", "iErrorCount": 1, "cCarrierName": "sample string 4", "cCarrierCode": "sample string 5", "dtExpiryDate": "2023-03-24T19:59:19.8178241+08:00", "cRemark": "sample string 6", "iSalesType": 1 } ] }