POST api/stocktransfer/wmsstatus
Sets the WMS status of specified stock transfer.
Request Information
URI Parameters
None.
Body Parameters
StockTransferWmsStatusRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| StockTransferId |
Id of the order |
integer |
None. |
| WmsStatus |
Wms status to set |
WMSStatus |
None. |
Remarks
See WmsStatusErrorCode in WmsStatusResponse.WmsStatusError for error codes.
Example
None.
Request Formats
application/json, text/json
Sample:
{
"StockTransferId": 1,
"WmsStatus": 1
}
application/xml, text/xml
Sample:
<StockTransferWmsStatusRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Stock"> <StockTransferId>1</StockTransferId> <WmsStatus>NotSent</WmsStatus> </StockTransferWmsStatusRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Returns a StockTransferWmsStatusResponse.
StockTransferWmsStatusResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Errors | Collection of StockTransferWmsStatusError |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Errors": [
{
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
{
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
}
]
}
application/xml, text/xml
Sample:
<StockTransferWmsStatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Stock">
<Errors>
<StockTransferWmsStatusError>
<ErrorCode>StockTransferNotFound</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</StockTransferWmsStatusError>
<StockTransferWmsStatusError>
<ErrorCode>StockTransferNotFound</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</StockTransferWmsStatusError>
</Errors>
<Success>true</Success>
</StockTransferWmsStatusResponse>