| PATCH | /Warehousing/PreOrders/OrderGoods/{OrderGoodID}/WHInfo/{WarehouseAcc}/Collect | ||
|---|---|---|---|
| PATCH | /Warehousing/PreOrders/{OrderID}/OrderGoods/{BCode}/WHInfo/{WarehouseAcc}/Collect |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OrderGoodID | path | int? | No | |
| WarehouseAcc | path | string | No | |
| TotalCollected | query | decimal? | No | |
| AddCollected | query | decimal? | No | |
| OrderID | path | int? | No | |
| BCode | path | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | bool | No | |
| TotalCollected | form | decimal | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PATCH /Warehousing/PreOrders/OrderGoods/{OrderGoodID}/WHInfo/{WarehouseAcc}/Collect HTTP/1.1
Host: 10.10.0.107
Accept: application/json
Content-Type: application/json
Content-Length: length
{"OrderGoodID":0,"WarehouseAcc":"String","TotalCollected":0,"AddCollected":0,"OrderID":0,"BCode":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":false,"TotalCollected":0}