POST api/v1/StockTranUpdateSave
Request Information
URI Parameters
None.
Body Parameters
StockTransferSaveInput| Name | Description | Type | Additional information |
|---|---|---|---|
| TranID | integer |
None. |
|
| RefNo | string |
None. |
|
| Narration | string |
None. |
|
| FromLocID | integer |
None. |
|
| ToLocID | integer |
None. |
|
| UserID | integer |
None. |
|
| CompID | integer |
None. |
|
| TranType | string |
None. |
|
| TranDate | date |
None. |
|
| json | string |
None. |
|
| Result | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TranID": 1,
"RefNo": "sample string 2",
"Narration": "sample string 3",
"FromLocID": 4,
"ToLocID": 5,
"UserID": 6,
"CompID": 7,
"TranType": "sample string 8",
"TranDate": "2025-12-14T10:10:05.3321893+05:30",
"json": "sample string 10",
"Result": 11
}
application/xml, text/xml
Sample:
<StockTransferSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <CompID>7</CompID> <FromLocID>4</FromLocID> <Narration>sample string 3</Narration> <RefNo>sample string 2</RefNo> <Result>11</Result> <ToLocID>5</ToLocID> <TranDate>2025-12-14T10:10:05.3321893+05:30</TranDate> <TranID>1</TranID> <TranType>sample string 8</TranType> <UserID>6</UserID> <json>sample string 10</json> </StockTransferSaveInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
StockTransferSaveModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | integer |
None. |
|
| Error | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": 1,
"Error": "sample string 2"
}
application/xml, text/xml
Sample:
<StockTransferSaveModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <Error>sample string 2</Error> <Result>1</Result> </StockTransferSaveModel>