POST api/Tools/UpdateInitialStockDetails
Request Information
URI Parameters
None.
Body Parameters
SaveTools_InitialStock_InputObject| Name | Description | Type | Additional information |
|---|---|---|---|
| DBName | string |
None. |
|
| BranchInternalCode | string |
None. |
|
| UserInternalCode | string |
None. |
|
| DataCollection | InitialStock_DataCollection |
None. |
Request Formats
application/json, text/json
Sample:
{
"DBName": "sample string 1",
"BranchInternalCode": "sample string 2",
"UserInternalCode": "sample string 3",
"DataCollection": {
"InitialStockItemDetails": [
{
"ITEM_USNO": "sample string 1",
"ITEM_PROD": "sample string 2",
"ITEM_QTYY": 3.1,
"PREV_QTYY": 4.1,
"ISTK_BOFF": "sample string 5",
"ISTK_DATE": 6.1,
"ISTK_STYP": "sample string 7",
"ISTK_STKC": 8.1
},
{
"ITEM_USNO": "sample string 1",
"ITEM_PROD": "sample string 2",
"ITEM_QTYY": 3.1,
"PREV_QTYY": 4.1,
"ISTK_BOFF": "sample string 5",
"ISTK_DATE": 6.1,
"ISTK_STYP": "sample string 7",
"ISTK_STKC": 8.1
}
],
"SerialNumberDetails": [
{
"SERN_NUMB": "sample string 1",
"ADDI_SERN_NUMB1": "sample string 2",
"ADDI_SERN_NUMB2": "sample string 3",
"ITEM_CODE": 4.1,
"SERN_FIDT": 5,
"SERN_RATE": 6.1,
"PREV_SERN_RATE": 7.1,
"SERN_SUPP": 8.1,
"STOCK_CATG": 9.1,
"SERN_ACON": 10,
"SERN_RANK": 11,
"ACTION_FLAG": "sample string 12",
"BSGVUS": "sample string 13",
"BSCUST": 14.1
},
{
"SERN_NUMB": "sample string 1",
"ADDI_SERN_NUMB1": "sample string 2",
"ADDI_SERN_NUMB2": "sample string 3",
"ITEM_CODE": 4.1,
"SERN_FIDT": 5,
"SERN_RATE": 6.1,
"PREV_SERN_RATE": 7.1,
"SERN_SUPP": 8.1,
"STOCK_CATG": 9.1,
"SERN_ACON": 10,
"SERN_RANK": 11,
"ACTION_FLAG": "sample string 12",
"BSGVUS": "sample string 13",
"BSCUST": 14.1
}
]
}
}
application/xml, text/xml
Sample:
<SaveTools_InitialStock_InputObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APXWebLibDataProvider.Models.SaveToolsInputObjects">
<BranchInternalCode>sample string 2</BranchInternalCode>
<DBName>sample string 1</DBName>
<DataCollection>
<InitialStockItemDetails>
<InitialStockItemDetails>
<ISTK_BOFF>sample string 5</ISTK_BOFF>
<ISTK_DATE>6.1</ISTK_DATE>
<ISTK_STKC>8.1</ISTK_STKC>
<ISTK_STYP>sample string 7</ISTK_STYP>
<ITEM_PROD>sample string 2</ITEM_PROD>
<ITEM_QTYY>3.1</ITEM_QTYY>
<ITEM_USNO>sample string 1</ITEM_USNO>
<PREV_QTYY>4.1</PREV_QTYY>
</InitialStockItemDetails>
<InitialStockItemDetails>
<ISTK_BOFF>sample string 5</ISTK_BOFF>
<ISTK_DATE>6.1</ISTK_DATE>
<ISTK_STKC>8.1</ISTK_STKC>
<ISTK_STYP>sample string 7</ISTK_STYP>
<ITEM_PROD>sample string 2</ITEM_PROD>
<ITEM_QTYY>3.1</ITEM_QTYY>
<ITEM_USNO>sample string 1</ITEM_USNO>
<PREV_QTYY>4.1</PREV_QTYY>
</InitialStockItemDetails>
</InitialStockItemDetails>
<SerialNumberDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/APXWebLibDataProvider.Models.SaveTransactionObjects">
<d3p1:SerialNumberDetails>
<d3p1:ACTION_FLAG>sample string 12</d3p1:ACTION_FLAG>
<d3p1:ADDI_SERN_NUMB1>sample string 2</d3p1:ADDI_SERN_NUMB1>
<d3p1:ADDI_SERN_NUMB2>sample string 3</d3p1:ADDI_SERN_NUMB2>
<d3p1:BSCUST>14.1</d3p1:BSCUST>
<d3p1:BSGVUS>sample string 13</d3p1:BSGVUS>
<d3p1:ITEM_CODE>4.1</d3p1:ITEM_CODE>
<d3p1:PREV_SERN_RATE>7.1</d3p1:PREV_SERN_RATE>
<d3p1:SERN_ACON>10</d3p1:SERN_ACON>
<d3p1:SERN_FIDT>5</d3p1:SERN_FIDT>
<d3p1:SERN_NUMB>sample string 1</d3p1:SERN_NUMB>
<d3p1:SERN_RANK>11</d3p1:SERN_RANK>
<d3p1:SERN_RATE>6.1</d3p1:SERN_RATE>
<d3p1:SERN_SUPP>8.1</d3p1:SERN_SUPP>
<d3p1:STOCK_CATG>9.1</d3p1:STOCK_CATG>
</d3p1:SerialNumberDetails>
<d3p1:SerialNumberDetails>
<d3p1:ACTION_FLAG>sample string 12</d3p1:ACTION_FLAG>
<d3p1:ADDI_SERN_NUMB1>sample string 2</d3p1:ADDI_SERN_NUMB1>
<d3p1:ADDI_SERN_NUMB2>sample string 3</d3p1:ADDI_SERN_NUMB2>
<d3p1:BSCUST>14.1</d3p1:BSCUST>
<d3p1:BSGVUS>sample string 13</d3p1:BSGVUS>
<d3p1:ITEM_CODE>4.1</d3p1:ITEM_CODE>
<d3p1:PREV_SERN_RATE>7.1</d3p1:PREV_SERN_RATE>
<d3p1:SERN_ACON>10</d3p1:SERN_ACON>
<d3p1:SERN_FIDT>5</d3p1:SERN_FIDT>
<d3p1:SERN_NUMB>sample string 1</d3p1:SERN_NUMB>
<d3p1:SERN_RANK>11</d3p1:SERN_RANK>
<d3p1:SERN_RATE>6.1</d3p1:SERN_RATE>
<d3p1:SERN_SUPP>8.1</d3p1:SERN_SUPP>
<d3p1:STOCK_CATG>9.1</d3p1:STOCK_CATG>
</d3p1:SerialNumberDetails>
</SerialNumberDetails>
</DataCollection>
<UserInternalCode>sample string 3</UserInternalCode>
</SaveTools_InitialStock_InputObject>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |