GET api/StockMovement/TransferStock/{movementBatchID}/{transferDate}/{frombranch}/{tobranch}/{code}/{amount}
This will transfer the stock using the passed parameters
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
movementBatchID | integer |
Required |
|
transferDate | string |
Required |
|
frombranch | integer |
Required |
|
tobranch | integer |
Required |
|
code | string |
Required |
|
amount | decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{"Success":true,"MovementResult":"1 of 12345678-Test Product successfully transferred from Location 1 to Location 2","MovementBatchID":1,"MovementBatchCode":"LOC1LOC2TR1"}
application/xml, text/xml
Sample:
<?xml version="1.0" encoding="utf-16"?> <StockMovementResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Success>true</Success> <MovementResult>1 of 12345678-Test Product successfully transferred from Location 1 to Location 2</MovementResult> <MovementBatchID>1</MovementBatchID> <MovementBatchCode>LOC1LOC2TR1</MovementBatchCode> </StockMovementResponse>