POST api/FreezePackingSlip/UpdateInventoryforBarcode
Request Information
URI Parameters
None.
Body Parameters
Z_S_PackingSlipHeaderLineRequestName | Description | Type | Additional information |
---|---|---|---|
PackingSlipHeader | S_PackingSlipHeader |
None. |
|
PackingSlipLine | Collection of S_PackingSlipLine |
None. |
|
inventTrans | Collection of C_InventTrans |
None. |
|
inventBatchTrans | Collection of C_InventBatchTrans |
None. |
|
SOLine | Collection of S_SOLine |
None. |
|
barcodeLine | Collection of SUP_BarcodeLine |
None. |
Request Formats
application/json, text/json
Sample:
{ "PackingSlipHeader": { "Id": 1, "PSId": "sample string 2", "PSDate": "2025-03-28T18:05:04.3497637+00:00", "SOId": "sample string 4", "PSStatus": "sample string 5", "FinalFlag": "sample string 6", "IsBarcodedFlag": "sample string 7", "BranchCode": 8, "CreatedBy": 9, "CreatedOn": "2025-03-28T18:05:04.3497637+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T18:05:04.3497637+00:00" }, "PackingSlipLine": [ { "Id": 1, "PSId": "sample string 2", "SOId": "sample string 3", "SOLineNo": 4, "ItemCode": "sample string 5", "BatchNo": "sample string 6", "PickedQty": 1.0, "TotalRate": 1.0, "Warehouse": 7, "TransId": "sample string 8", "PSStatus": "sample string 9", "SupplierCode": "sample string 10", "FinalFlag": "sample string 11", "BranchCode": 12, "CreatedBy": 13, "CreatedOn": "2025-03-28T18:05:04.3497637+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T18:05:04.3497637+00:00" }, { "Id": 1, "PSId": "sample string 2", "SOId": "sample string 3", "SOLineNo": 4, "ItemCode": "sample string 5", "BatchNo": "sample string 6", "PickedQty": 1.0, "TotalRate": 1.0, "Warehouse": 7, "TransId": "sample string 8", "PSStatus": "sample string 9", "SupplierCode": "sample string 10", "FinalFlag": "sample string 11", "BranchCode": 12, "CreatedBy": 13, "CreatedOn": "2025-03-28T18:05:04.3497637+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T18:05:04.3497637+00:00" } ], "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-03-28T18:05:04.3497637+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-03-28T18:05:04.3497637+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-03-28T18:05:04.3497637+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-03-28T18:05:04.3497637+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-03-28T18:05:04.3497637+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-03-28T18:05:04.3497637+00:00", "UpdatedByIT": "sample string 14" } ], "SOLine": [ { "Id": 1, "LineNumber": 2, "SOId": "sample string 3", "ItemCode": "sample string 4", "UnitId": 1, "Rate": 1.0, "OrderQty": 1.0, "SalesQty": 1.0, "PendingQty": 1.0, "DiscountAmt": 1.0, "DiscountPercentage": 1.0, "ExpectedDate": "2025-03-28T18:05:04.3497637+00:00", "WarehouseId": 1, "Taxcode": "sample string 5", "AssValue": 6.0, "ProductMainGroupId": 1, "BranchCode": 7, "CreatedBy": 1, "CreatedOn": "2025-03-28T18:05:04.3497637+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T18:05:04.3497637+00:00", "PSOId": "sample string 8", "SchemeDiscount": 9.0, "DiscountPer1": 1.0, "DiscountAmt1": 1.0, "DiscountRemark1": "sample string 10", "DiscountPer2": 1.0, "DiscountAmt2": 1.0, "DiscountRemark2": "sample string 11", "DiscountPer3": 1.0, "DiscountAmt3": 1.0, "DiscountRemark3": "sample string 12", "DiscountPer4": 1.0, "DiscountAmt4": 1.0 }, { "Id": 1, "LineNumber": 2, "SOId": "sample string 3", "ItemCode": "sample string 4", "UnitId": 1, "Rate": 1.0, "OrderQty": 1.0, "SalesQty": 1.0, "PendingQty": 1.0, "DiscountAmt": 1.0, "DiscountPercentage": 1.0, "ExpectedDate": "2025-03-28T18:05:04.3497637+00:00", "WarehouseId": 1, "Taxcode": "sample string 5", "AssValue": 6.0, "ProductMainGroupId": 1, "BranchCode": 7, "CreatedBy": 1, "CreatedOn": "2025-03-28T18:05:04.3497637+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T18:05:04.3497637+00:00", "PSOId": "sample string 8", "SchemeDiscount": 9.0, "DiscountPer1": 1.0, "DiscountAmt1": 1.0, "DiscountRemark1": "sample string 10", "DiscountPer2": 1.0, "DiscountAmt2": 1.0, "DiscountRemark2": "sample string 11", "DiscountPer3": 1.0, "DiscountAmt3": 1.0, "DiscountRemark3": "sample string 12", "DiscountPer4": 1.0, "DiscountAmt4": 1.0 } ], "barcodeLine": [ { "Id": 1, "TransId": 2, "SupplierCode": "sample string 3", "POId": "sample string 4", "ItemCode": "sample string 5", "BarcodeNo": "sample string 6", "OuterNo": "sample string 7", "PalletNo": "sample string 8", "BatchNo": "sample string 9", "DispatchFlag": "sample string 10", "ReceivedFlag": "sample string 11", "PackingSlipNo": "sample string 12", "InvoiceNo": "sample string 13", "BarcodePrint": "sample string 14", "OuterPrint": "sample string 15", "PalletPrint": "sample string 16", "BranchCode": 17, "CreatedBy": 18, "CreatedOn": "2025-03-28T18:05:04.3497637+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T18:05:04.3497637+00:00" }, { "Id": 1, "TransId": 2, "SupplierCode": "sample string 3", "POId": "sample string 4", "ItemCode": "sample string 5", "BarcodeNo": "sample string 6", "OuterNo": "sample string 7", "PalletNo": "sample string 8", "BatchNo": "sample string 9", "DispatchFlag": "sample string 10", "ReceivedFlag": "sample string 11", "PackingSlipNo": "sample string 12", "InvoiceNo": "sample string 13", "BarcodePrint": "sample string 14", "OuterPrint": "sample string 15", "PalletPrint": "sample string 16", "BranchCode": 17, "CreatedBy": 18, "CreatedOn": "2025-03-28T18:05:04.3497637+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T18:05:04.3497637+00:00" } ] }
application/xml, text/xml
Sample:
<Z_S_PackingSlipHeaderLineRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <PackingSlipHeader> <BranchCode>8</BranchCode> <CreatedBy>9</CreatedBy> <CreatedOn>2025-03-28T18:05:04.3497637+00:00</CreatedOn> <FinalFlag>sample string 6</FinalFlag> <Id>1</Id> <IsBarcodedFlag>sample string 7</IsBarcodedFlag> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T18:05:04.3497637+00:00</ModifiedOn> <PSDate>2025-03-28T18:05:04.3497637+00:00</PSDate> <PSId>sample string 2</PSId> <PSStatus>sample string 5</PSStatus> <SOId>sample string 4</SOId> </PackingSlipHeader> <PackingSlipLine> <S_PackingSlipLine> <BatchNo>sample string 6</BatchNo> <BranchCode>12</BranchCode> <CreatedBy>13</CreatedBy> <CreatedOn>2025-03-28T18:05:04.3497637+00:00</CreatedOn> <FinalFlag>sample string 11</FinalFlag> <Id>1</Id> <ItemCode>sample string 5</ItemCode> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T18:05:04.3497637+00:00</ModifiedOn> <PSId>sample string 2</PSId> <PSStatus>sample string 9</PSStatus> <PickedQty>1</PickedQty> <SOId>sample string 3</SOId> <SOLineNo>4</SOLineNo> <SupplierCode>sample string 10</SupplierCode> <TotalRate>1</TotalRate> <TransId>sample string 8</TransId> <Warehouse>7</Warehouse> </S_PackingSlipLine> <S_PackingSlipLine> <BatchNo>sample string 6</BatchNo> <BranchCode>12</BranchCode> <CreatedBy>13</CreatedBy> <CreatedOn>2025-03-28T18:05:04.3497637+00:00</CreatedOn> <FinalFlag>sample string 11</FinalFlag> <Id>1</Id> <ItemCode>sample string 5</ItemCode> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T18:05:04.3497637+00:00</ModifiedOn> <PSId>sample string 2</PSId> <PSStatus>sample string 9</PSStatus> <PickedQty>1</PickedQty> <SOId>sample string 3</SOId> <SOLineNo>4</SOLineNo> <SupplierCode>sample string 10</SupplierCode> <TotalRate>1</TotalRate> <TransId>sample string 8</TransId> <Warehouse>7</Warehouse> </S_PackingSlipLine> </PackingSlipLine> <SOLine> <S_SOLine> <AssValue>6</AssValue> <BranchCode>7</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T18:05:04.3497637+00:00</CreatedOn> <DiscountAmt>1</DiscountAmt> <DiscountAmt1>1</DiscountAmt1> <DiscountAmt2>1</DiscountAmt2> <DiscountAmt3>1</DiscountAmt3> <DiscountAmt4>1</DiscountAmt4> <DiscountPer1>1</DiscountPer1> <DiscountPer2>1</DiscountPer2> <DiscountPer3>1</DiscountPer3> <DiscountPer4>1</DiscountPer4> <DiscountPercentage>1</DiscountPercentage> <DiscountRemark1>sample string 10</DiscountRemark1> <DiscountRemark2>sample string 11</DiscountRemark2> <DiscountRemark3>sample string 12</DiscountRemark3> <ExpectedDate>2025-03-28T18:05:04.3497637+00:00</ExpectedDate> <Id>1</Id> <ItemCode>sample string 4</ItemCode> <LineNumber>2</LineNumber> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T18:05:04.3497637+00:00</ModifiedOn> <OrderQty>1</OrderQty> <PSOId>sample string 8</PSOId> <PendingQty>1</PendingQty> <ProductMainGroupId>1</ProductMainGroupId> <Rate>1</Rate> <SOId>sample string 3</SOId> <SalesQty>1</SalesQty> <SchemeDiscount>9</SchemeDiscount> <Taxcode>sample string 5</Taxcode> <UnitId>1</UnitId> <WarehouseId>1</WarehouseId> </S_SOLine> <S_SOLine> <AssValue>6</AssValue> <BranchCode>7</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T18:05:04.3497637+00:00</CreatedOn> <DiscountAmt>1</DiscountAmt> <DiscountAmt1>1</DiscountAmt1> <DiscountAmt2>1</DiscountAmt2> <DiscountAmt3>1</DiscountAmt3> <DiscountAmt4>1</DiscountAmt4> <DiscountPer1>1</DiscountPer1> <DiscountPer2>1</DiscountPer2> <DiscountPer3>1</DiscountPer3> <DiscountPer4>1</DiscountPer4> <DiscountPercentage>1</DiscountPercentage> <DiscountRemark1>sample string 10</DiscountRemark1> <DiscountRemark2>sample string 11</DiscountRemark2> <DiscountRemark3>sample string 12</DiscountRemark3> <ExpectedDate>2025-03-28T18:05:04.3497637+00:00</ExpectedDate> <Id>1</Id> <ItemCode>sample string 4</ItemCode> <LineNumber>2</LineNumber> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T18:05:04.3497637+00:00</ModifiedOn> <OrderQty>1</OrderQty> <PSOId>sample string 8</PSOId> <PendingQty>1</PendingQty> <ProductMainGroupId>1</ProductMainGroupId> <Rate>1</Rate> <SOId>sample string 3</SOId> <SalesQty>1</SalesQty> <SchemeDiscount>9</SchemeDiscount> <Taxcode>sample string 5</Taxcode> <UnitId>1</UnitId> <WarehouseId>1</WarehouseId> </S_SOLine> </SOLine> <barcodeLine> <SUP_BarcodeLine> <BarcodeNo>sample string 6</BarcodeNo> <BarcodePrint>sample string 14</BarcodePrint> <BatchNo>sample string 9</BatchNo> <BranchCode>17</BranchCode> <CreatedBy>18</CreatedBy> <CreatedOn>2025-03-28T18:05:04.3497637+00:00</CreatedOn> <DispatchFlag>sample string 10</DispatchFlag> <Id>1</Id> <InvoiceNo>sample string 13</InvoiceNo> <ItemCode>sample string 5</ItemCode> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T18:05:04.3497637+00:00</ModifiedOn> <OuterNo>sample string 7</OuterNo> <OuterPrint>sample string 15</OuterPrint> <POId>sample string 4</POId> <PackingSlipNo>sample string 12</PackingSlipNo> <PalletNo>sample string 8</PalletNo> <PalletPrint>sample string 16</PalletPrint> <ReceivedFlag>sample string 11</ReceivedFlag> <SupplierCode>sample string 3</SupplierCode> <TransId>2</TransId> </SUP_BarcodeLine> <SUP_BarcodeLine> <BarcodeNo>sample string 6</BarcodeNo> <BarcodePrint>sample string 14</BarcodePrint> <BatchNo>sample string 9</BatchNo> <BranchCode>17</BranchCode> <CreatedBy>18</CreatedBy> <CreatedOn>2025-03-28T18:05:04.3497637+00:00</CreatedOn> <DispatchFlag>sample string 10</DispatchFlag> <Id>1</Id> <InvoiceNo>sample string 13</InvoiceNo> <ItemCode>sample string 5</ItemCode> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T18:05:04.3497637+00:00</ModifiedOn> <OuterNo>sample string 7</OuterNo> <OuterPrint>sample string 15</OuterPrint> <POId>sample string 4</POId> <PackingSlipNo>sample string 12</PackingSlipNo> <PalletNo>sample string 8</PalletNo> <PalletPrint>sample string 16</PalletPrint> <ReceivedFlag>sample string 11</ReceivedFlag> <SupplierCode>sample string 3</SupplierCode> <TransId>2</TransId> </SUP_BarcodeLine> </barcodeLine> <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-03-28T18:05:04.3497637+00:00</PurchaseDate> <STSupplierCode>sample string 9</STSupplierCode> <SupplierCode>sample string 8</SupplierCode> <TotalRate>11</TotalRate> <TransDate>2025-03-28T18:05:04.3497637+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-03-28T18:05:04.3497637+00:00</PurchaseDate> <STSupplierCode>sample string 9</STSupplierCode> <SupplierCode>sample string 8</SupplierCode> <TotalRate>11</TotalRate> <TransDate>2025-03-28T18:05:04.3497637+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> <inventTrans> <C_InventTrans> <BranchCode>6</BranchCode> <ClosingQty>1</ClosingQty> <Id>1</Id> <ItemCode>sample string 3</ItemCode> <OpeningQty>1</OpeningQty> <TransDate>2025-03-28T18:05:04.3497637+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-03-28T18:05:04.3497637+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> </Z_S_PackingSlipHeaderLineRequest>
application/x-www-form-urlencoded
Sample:
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. |