POST api/OrderAssigned/JMLMPSaveOrderProduct?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}
引单详情页面 审核通过
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DomainId |
域Id |
globally unique identifier |
None. |
| AccountId |
账户Id |
globally unique identifier |
None. |
| PersonId |
人员Id |
globally unique identifier |
None. |
Body Parameters
SaveOrderProductVM| Name | Description | Type | Additional information |
|---|---|---|---|
| DeliveryOrderID | string |
None. |
|
| Products | Collection of Product |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeliveryOrderID": "sample string 1",
"Products": [
{
"GoodsName": "sample string 1",
"GoodsPic": "sample string 2",
"GoodsID": "750e6c6d-9a7b-40fd-8ef1-af58723391bb",
"Price": "sample string 3",
"Count": 4.0,
"UseTypeKey": "sample string 5",
"StockStatusKey": "sample string 6"
},
{
"GoodsName": "sample string 1",
"GoodsPic": "sample string 2",
"GoodsID": "750e6c6d-9a7b-40fd-8ef1-af58723391bb",
"Price": "sample string 3",
"Count": 4.0,
"UseTypeKey": "sample string 5",
"StockStatusKey": "sample string 6"
}
]
}
application/xml, text/xml
Sample:
<SaveOrderProductVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.App.WebAPI.Areas.OrderAssigned.ViewModel">
<DeliveryOrderID>sample string 1</DeliveryOrderID>
<Products xmlns:d2p1="http://schemas.datacontract.org/2004/07/JT.VSFA.BLL.Module">
<d2p1:DeliveryOrderBLL.Product>
<d2p1:Count>4</d2p1:Count>
<d2p1:GoodsID>750e6c6d-9a7b-40fd-8ef1-af58723391bb</d2p1:GoodsID>
<d2p1:GoodsName>sample string 1</d2p1:GoodsName>
<d2p1:GoodsPic>sample string 2</d2p1:GoodsPic>
<d2p1:Price>sample string 3</d2p1:Price>
<d2p1:StockStatusKey>sample string 6</d2p1:StockStatusKey>
<d2p1:UseTypeKey>sample string 5</d2p1:UseTypeKey>
</d2p1:DeliveryOrderBLL.Product>
<d2p1:DeliveryOrderBLL.Product>
<d2p1:Count>4</d2p1:Count>
<d2p1:GoodsID>750e6c6d-9a7b-40fd-8ef1-af58723391bb</d2p1:GoodsID>
<d2p1:GoodsName>sample string 1</d2p1:GoodsName>
<d2p1:GoodsPic>sample string 2</d2p1:GoodsPic>
<d2p1:Price>sample string 3</d2p1:Price>
<d2p1:StockStatusKey>sample string 6</d2p1:StockStatusKey>
<d2p1:UseTypeKey>sample string 5</d2p1:UseTypeKey>
</d2p1:DeliveryOrderBLL.Product>
</Products>
</SaveOrderProductVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />