POST api/InventBatchTrans
Request Information
URI Parameters
None.
Body Parameters
Z_InventTransAndDetailRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| InventTrans | Collection of C_InventTrans |
None. |
|
| InventBatchTrans | Collection of C_InventBatchTrans |
None. |
|
| InventBatchTransDetail | Collection of C_InventBatchTransDetail |
None. |
|
| UserId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"InventTrans": [
{
"Id": 1,
"TransId": "sample string 2",
"ItemCode": "sample string 3",
"VoucherNo": "sample string 4",
"TransType": "sample string 5",
"OpeningQty": 1.0,
"TransQty": 1.0,
"ClosingQty": 1.0,
"TransDate": "2025-12-17T03:43:09.3044038+00:00",
"BranchCode": 6,
"UpdatedByIT": "sample string 7"
},
{
"Id": 1,
"TransId": "sample string 2",
"ItemCode": "sample string 3",
"VoucherNo": "sample string 4",
"TransType": "sample string 5",
"OpeningQty": 1.0,
"TransQty": 1.0,
"ClosingQty": 1.0,
"TransDate": "2025-12-17T03:43:09.3044038+00:00",
"BranchCode": 6,
"UpdatedByIT": "sample string 7"
}
],
"InventBatchTrans": [
{
"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-17T03:43:09.3044038+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-17T03:43:09.3044038+00:00",
"UpdatedByIT": "sample string 14"
},
{
"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-17T03:43:09.3044038+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-17T03:43:09.3044038+00:00",
"UpdatedByIT": "sample string 14"
}
],
"InventBatchTransDetail": [
{
"Id": 1,
"TransId": "sample string 2",
"ItemCode": "sample string 3",
"BatchNo": "sample string 4",
"Qty": 1.0,
"Barcode": "sample string 5",
"OuterNo": "sample string 6",
"PalletNo": "sample string 7",
"UnitId": 1,
"BarcodeCreatedDate": "2025-12-17T03:43:09.3044038+00:00",
"OuterCreatedDate": "2025-12-17T03:43:09.3044038+00:00",
"PalletCreatedDate": "2025-12-17T03:43:09.3044038+00:00",
"SOID": "sample string 9",
"InvoiceNo": "sample string 10",
"PackingSlipId": "sample string 11",
"BarcodePrint": "sample string 12",
"OuterPrint": "sample string 13",
"PalletPrint": "sample string 14",
"TransDate": "2025-12-17T03:43:09.3044038+00:00",
"BranchCode": 15,
"VoucherNo": "sample string 16",
"InventBatchId": 17,
"SupplierGRNNo": "sample string 18",
"UpdatedByIT": "sample string 19"
},
{
"Id": 1,
"TransId": "sample string 2",
"ItemCode": "sample string 3",
"BatchNo": "sample string 4",
"Qty": 1.0,
"Barcode": "sample string 5",
"OuterNo": "sample string 6",
"PalletNo": "sample string 7",
"UnitId": 1,
"BarcodeCreatedDate": "2025-12-17T03:43:09.3044038+00:00",
"OuterCreatedDate": "2025-12-17T03:43:09.3044038+00:00",
"PalletCreatedDate": "2025-12-17T03:43:09.3044038+00:00",
"SOID": "sample string 9",
"InvoiceNo": "sample string 10",
"PackingSlipId": "sample string 11",
"BarcodePrint": "sample string 12",
"OuterPrint": "sample string 13",
"PalletPrint": "sample string 14",
"TransDate": "2025-12-17T03:43:09.3044038+00:00",
"BranchCode": 15,
"VoucherNo": "sample string 16",
"InventBatchId": 17,
"SupplierGRNNo": "sample string 18",
"UpdatedByIT": "sample string 19"
}
],
"UserId": 1
}
application/xml, text/xml
Sample:
<Z_InventTransAndDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
<InventBatchTrans>
<C_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-17T03:43:09.3044038+00:00</PurchaseDate>
<STSupplierCode>sample string 9</STSupplierCode>
<SupplierCode>sample string 8</SupplierCode>
<TotalRate>11</TotalRate>
<TransDate>2025-12-17T03:43:09.3044038+00:00</TransDate>
<TransId>sample string 2</TransId>
<TransType>sample string 5</TransType>
<UpdatedByIT>sample string 14</UpdatedByIT>
<VoucherNo>sample string 4</VoucherNo>
<WarehouseId>7</WarehouseId>
</C_InventBatchTrans>
<C_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-17T03:43:09.3044038+00:00</PurchaseDate>
<STSupplierCode>sample string 9</STSupplierCode>
<SupplierCode>sample string 8</SupplierCode>
<TotalRate>11</TotalRate>
<TransDate>2025-12-17T03:43:09.3044038+00:00</TransDate>
<TransId>sample string 2</TransId>
<TransType>sample string 5</TransType>
<UpdatedByIT>sample string 14</UpdatedByIT>
<VoucherNo>sample string 4</VoucherNo>
<WarehouseId>7</WarehouseId>
</C_InventBatchTrans>
</InventBatchTrans>
<InventBatchTransDetail>
<C_InventBatchTransDetail>
<Barcode>sample string 5</Barcode>
<BarcodeCreatedDate>2025-12-17T03:43:09.3044038+00:00</BarcodeCreatedDate>
<BarcodePrint>sample string 12</BarcodePrint>
<BatchNo>sample string 4</BatchNo>
<BranchCode>15</BranchCode>
<Id>1</Id>
<InventBatchId>17</InventBatchId>
<InvoiceNo>sample string 10</InvoiceNo>
<ItemCode>sample string 3</ItemCode>
<OuterCreatedDate>2025-12-17T03:43:09.3044038+00:00</OuterCreatedDate>
<OuterNo>sample string 6</OuterNo>
<OuterPrint>sample string 13</OuterPrint>
<PackingSlipId>sample string 11</PackingSlipId>
<PalletCreatedDate>2025-12-17T03:43:09.3044038+00:00</PalletCreatedDate>
<PalletNo>sample string 7</PalletNo>
<PalletPrint>sample string 14</PalletPrint>
<Qty>1</Qty>
<SOID>sample string 9</SOID>
<SupplierGRNNo>sample string 18</SupplierGRNNo>
<TransDate>2025-12-17T03:43:09.3044038+00:00</TransDate>
<TransId>sample string 2</TransId>
<UnitId>1</UnitId>
<UpdatedByIT>sample string 19</UpdatedByIT>
<VoucherNo>sample string 16</VoucherNo>
</C_InventBatchTransDetail>
<C_InventBatchTransDetail>
<Barcode>sample string 5</Barcode>
<BarcodeCreatedDate>2025-12-17T03:43:09.3044038+00:00</BarcodeCreatedDate>
<BarcodePrint>sample string 12</BarcodePrint>
<BatchNo>sample string 4</BatchNo>
<BranchCode>15</BranchCode>
<Id>1</Id>
<InventBatchId>17</InventBatchId>
<InvoiceNo>sample string 10</InvoiceNo>
<ItemCode>sample string 3</ItemCode>
<OuterCreatedDate>2025-12-17T03:43:09.3044038+00:00</OuterCreatedDate>
<OuterNo>sample string 6</OuterNo>
<OuterPrint>sample string 13</OuterPrint>
<PackingSlipId>sample string 11</PackingSlipId>
<PalletCreatedDate>2025-12-17T03:43:09.3044038+00:00</PalletCreatedDate>
<PalletNo>sample string 7</PalletNo>
<PalletPrint>sample string 14</PalletPrint>
<Qty>1</Qty>
<SOID>sample string 9</SOID>
<SupplierGRNNo>sample string 18</SupplierGRNNo>
<TransDate>2025-12-17T03:43:09.3044038+00:00</TransDate>
<TransId>sample string 2</TransId>
<UnitId>1</UnitId>
<UpdatedByIT>sample string 19</UpdatedByIT>
<VoucherNo>sample string 16</VoucherNo>
</C_InventBatchTransDetail>
</InventBatchTransDetail>
<InventTrans>
<C_InventTrans>
<BranchCode>6</BranchCode>
<ClosingQty>1</ClosingQty>
<Id>1</Id>
<ItemCode>sample string 3</ItemCode>
<OpeningQty>1</OpeningQty>
<TransDate>2025-12-17T03:43:09.3044038+00:00</TransDate>
<TransId>sample string 2</TransId>
<TransQty>1</TransQty>
<TransType>sample string 5</TransType>
<UpdatedByIT>sample string 7</UpdatedByIT>
<VoucherNo>sample string 4</VoucherNo>
</C_InventTrans>
<C_InventTrans>
<BranchCode>6</BranchCode>
<ClosingQty>1</ClosingQty>
<Id>1</Id>
<ItemCode>sample string 3</ItemCode>
<OpeningQty>1</OpeningQty>
<TransDate>2025-12-17T03:43:09.3044038+00:00</TransDate>
<TransId>sample string 2</TransId>
<TransQty>1</TransQty>
<TransType>sample string 5</TransType>
<UpdatedByIT>sample string 7</UpdatedByIT>
<VoucherNo>sample string 4</VoucherNo>
</C_InventTrans>
</InventTrans>
<UserId>1</UserId>
</Z_InventTransAndDetailRequest>
application/x-www-form-urlencoded
Sample:
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. |