POST api/AdjOrder/OpeningProductionInventoryUpload
Request Information
URI Parameters
None.
Body Parameters
Collection of C_P_InventBatchTrans| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| TransId | string |
None. |
|
| ItemCode | string |
None. |
|
| VoucherNo | string |
None. |
|
| TransType | string |
None. |
|
| BatchNo | string |
None. |
|
| BatchOpeningQty | decimal number |
None. |
|
| BatchTransQty | decimal number |
None. |
|
| BatchClosingQty | decimal number |
None. |
|
| TransDate | date |
None. |
|
| WarehouseId | integer |
None. |
|
| SupplierCode | string |
None. |
|
| STSupplierCode | string |
None. |
|
| FinalStockFlag | string |
None. |
|
| ActualRate | decimal number |
None. |
|
| ExciseRate | decimal number |
None. |
|
| CostRate | decimal number |
None. |
|
| TotalRate | decimal number |
None. |
|
| PostTransId | string |
None. |
|
| BranchCode | integer |
None. |
|
| PurchaseDate | date |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"TransId": "sample string 2",
"ItemCode": "sample string 3",
"VoucherNo": "sample string 4",
"TransType": "sample string 5",
"BatchNo": "sample string 6",
"BatchOpeningQty": 1.0,
"BatchTransQty": 1.0,
"BatchClosingQty": 1.0,
"TransDate": "2025-12-17T09:43:21.5568433+00:00",
"WarehouseId": 7,
"SupplierCode": "sample string 8",
"STSupplierCode": "sample string 9",
"FinalStockFlag": "sample string 10",
"ActualRate": 1.0,
"ExciseRate": 1.0,
"CostRate": 1.0,
"TotalRate": 11.0,
"PostTransId": "sample string 12",
"BranchCode": 13,
"PurchaseDate": "2025-12-17T09:43:21.5568433+00:00"
},
{
"Id": 1,
"TransId": "sample string 2",
"ItemCode": "sample string 3",
"VoucherNo": "sample string 4",
"TransType": "sample string 5",
"BatchNo": "sample string 6",
"BatchOpeningQty": 1.0,
"BatchTransQty": 1.0,
"BatchClosingQty": 1.0,
"TransDate": "2025-12-17T09:43:21.5568433+00:00",
"WarehouseId": 7,
"SupplierCode": "sample string 8",
"STSupplierCode": "sample string 9",
"FinalStockFlag": "sample string 10",
"ActualRate": 1.0,
"ExciseRate": 1.0,
"CostRate": 1.0,
"TotalRate": 11.0,
"PostTransId": "sample string 12",
"BranchCode": 13,
"PurchaseDate": "2025-12-17T09:43:21.5568433+00:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfC_P_InventBatchTrans xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
<C_P_InventBatchTrans>
<ActualRate>1</ActualRate>
<BatchClosingQty>1</BatchClosingQty>
<BatchNo>sample string 6</BatchNo>
<BatchOpeningQty>1</BatchOpeningQty>
<BatchTransQty>1</BatchTransQty>
<BranchCode>13</BranchCode>
<CostRate>1</CostRate>
<ExciseRate>1</ExciseRate>
<FinalStockFlag>sample string 10</FinalStockFlag>
<Id>1</Id>
<ItemCode>sample string 3</ItemCode>
<PostTransId>sample string 12</PostTransId>
<PurchaseDate>2025-12-17T09:43:21.5568433+00:00</PurchaseDate>
<STSupplierCode>sample string 9</STSupplierCode>
<SupplierCode>sample string 8</SupplierCode>
<TotalRate>11</TotalRate>
<TransDate>2025-12-17T09:43:21.5568433+00:00</TransDate>
<TransId>sample string 2</TransId>
<TransType>sample string 5</TransType>
<VoucherNo>sample string 4</VoucherNo>
<WarehouseId>7</WarehouseId>
</C_P_InventBatchTrans>
<C_P_InventBatchTrans>
<ActualRate>1</ActualRate>
<BatchClosingQty>1</BatchClosingQty>
<BatchNo>sample string 6</BatchNo>
<BatchOpeningQty>1</BatchOpeningQty>
<BatchTransQty>1</BatchTransQty>
<BranchCode>13</BranchCode>
<CostRate>1</CostRate>
<ExciseRate>1</ExciseRate>
<FinalStockFlag>sample string 10</FinalStockFlag>
<Id>1</Id>
<ItemCode>sample string 3</ItemCode>
<PostTransId>sample string 12</PostTransId>
<PurchaseDate>2025-12-17T09:43:21.5568433+00:00</PurchaseDate>
<STSupplierCode>sample string 9</STSupplierCode>
<SupplierCode>sample string 8</SupplierCode>
<TotalRate>11</TotalRate>
<TransDate>2025-12-17T09:43:21.5568433+00:00</TransDate>
<TransId>sample string 2</TransId>
<TransType>sample string 5</TransType>
<VoucherNo>sample string 4</VoucherNo>
<WarehouseId>7</WarehouseId>
</C_P_InventBatchTrans>
</ArrayOfC_P_InventBatchTrans>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>