POST api/ReplacementNote
Request Information
URI Parameters
None.
Body Parameters
Z_S_ReplacementNoteHeaderLineRequestName | Description | Type | Additional information |
---|---|---|---|
replacementheader | S_ReplacementNoteHeader |
None. |
|
replacementline | Collection of S_ReplacementNoteLineView |
None. |
|
inventBatchTrans | Collection of C_InventBatchTrans |
None. |
Request Formats
application/json, text/json
Sample:
{ "replacementheader": { "Id": 1, "ReplacementId": "sample string 2", "ReplacementDate": "2025-03-28T14:05:59.2666633+00:00", "CustomerCode": "sample string 3", "Remarks": "sample string 4", "BranchCode": 5, "CreatedBy": 6, "CreatedOn": "2025-03-28T14:05:59.2666633+00:00" }, "replacementline": [ { "Id": 1, "ReplacementId": "sample string 2", "InvoiceNo": "sample string 3", "SOId": "sample string 4", "SOLineNumber": 1, "ItemCode": "sample string 5", "BatchNo": "sample string 6", "InvoiceQty": 1.0, "ReplaceItemCode": "sample string 7", "ReplaceBatchNo": "sample string 8", "ReplaceQty": 1.0, "WarehouseId": 1, "SupplierCode": "sample string 9", "BranchCode": 10, "CreatedBy": 1, "CreatedOn": "2025-03-28T14:05:59.2666633+00:00", "ItemName": "sample string 11", "SupplierName": "sample string 12", "WarehouseName": "sample string 13", "PSId": "sample string 14", "IsBarcoded": "sample string 15", "BarcodeNo": "sample string 16", "OuterNo": "sample string 17", "PalletNo": "sample string 18", "Barcode": "sample string 19", "ReplaceBarcode": "sample string 20", "QualityCheck": "sample string 21", "ReplaceItemName": "sample string 22", "BranchName": "sample string 23", "ReplacementDate": "2025-03-28T14:05:59.2666633+00:00", "Unit": "sample string 25", "Rate": 1.0, "Discount": 1.0, "Total": 1.0, "FinalTotalValue": 1.0, "TaxableValue": 1.0, "CustomerName": "sample string 26", "CustomerAddress": "sample string 27", "CustomerState": "sample string 28", "CustomerGSTIN": "sample string 29", "HSNCode": "sample string 30", "SrNo": 1, "CustomerCode": "sample string 31", "TOWareHouse": "sample string 32", "Remark": "sample string 33", "BasicValue": 1.0, "Group": "sample string 34" }, { "Id": 1, "ReplacementId": "sample string 2", "InvoiceNo": "sample string 3", "SOId": "sample string 4", "SOLineNumber": 1, "ItemCode": "sample string 5", "BatchNo": "sample string 6", "InvoiceQty": 1.0, "ReplaceItemCode": "sample string 7", "ReplaceBatchNo": "sample string 8", "ReplaceQty": 1.0, "WarehouseId": 1, "SupplierCode": "sample string 9", "BranchCode": 10, "CreatedBy": 1, "CreatedOn": "2025-03-28T14:05:59.2666633+00:00", "ItemName": "sample string 11", "SupplierName": "sample string 12", "WarehouseName": "sample string 13", "PSId": "sample string 14", "IsBarcoded": "sample string 15", "BarcodeNo": "sample string 16", "OuterNo": "sample string 17", "PalletNo": "sample string 18", "Barcode": "sample string 19", "ReplaceBarcode": "sample string 20", "QualityCheck": "sample string 21", "ReplaceItemName": "sample string 22", "BranchName": "sample string 23", "ReplacementDate": "2025-03-28T14:05:59.2666633+00:00", "Unit": "sample string 25", "Rate": 1.0, "Discount": 1.0, "Total": 1.0, "FinalTotalValue": 1.0, "TaxableValue": 1.0, "CustomerName": "sample string 26", "CustomerAddress": "sample string 27", "CustomerState": "sample string 28", "CustomerGSTIN": "sample string 29", "HSNCode": "sample string 30", "SrNo": 1, "CustomerCode": "sample string 31", "TOWareHouse": "sample string 32", "Remark": "sample string 33", "BasicValue": 1.0, "Group": "sample string 34" } ], "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-28T14:05:59.2666633+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-28T14:05:59.2666633+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-28T14:05:59.2666633+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-28T14:05:59.2666633+00:00", "UpdatedByIT": "sample string 14" } ] }
application/xml, text/xml
Sample:
<Z_S_ReplacementNoteHeaderLineRequest 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-03-28T14:05:59.2666633+00:00</PurchaseDate> <STSupplierCode>sample string 9</STSupplierCode> <SupplierCode>sample string 8</SupplierCode> <TotalRate>11</TotalRate> <TransDate>2025-03-28T14:05:59.2666633+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-28T14:05:59.2666633+00:00</PurchaseDate> <STSupplierCode>sample string 9</STSupplierCode> <SupplierCode>sample string 8</SupplierCode> <TotalRate>11</TotalRate> <TransDate>2025-03-28T14:05:59.2666633+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> <replacementheader> <BranchCode>5</BranchCode> <CreatedBy>6</CreatedBy> <CreatedOn>2025-03-28T14:05:59.2666633+00:00</CreatedOn> <CustomerCode>sample string 3</CustomerCode> <Id>1</Id> <Remarks>sample string 4</Remarks> <ReplacementDate>2025-03-28T14:05:59.2666633+00:00</ReplacementDate> <ReplacementId>sample string 2</ReplacementId> </replacementheader> <replacementline xmlns:d2p1="http://schemas.datacontract.org/2004/07/RREL.Data.Models.Views"> <d2p1:S_ReplacementNoteLineView> <d2p1:Barcode>sample string 19</d2p1:Barcode> <d2p1:BarcodeNo>sample string 16</d2p1:BarcodeNo> <d2p1:BasicValue>1</d2p1:BasicValue> <d2p1:BatchNo>sample string 6</d2p1:BatchNo> <d2p1:BranchCode>10</d2p1:BranchCode> <d2p1:BranchName>sample string 23</d2p1:BranchName> <d2p1:CreatedBy>1</d2p1:CreatedBy> <d2p1:CreatedOn>2025-03-28T14:05:59.2666633+00:00</d2p1:CreatedOn> <d2p1:CustomerAddress>sample string 27</d2p1:CustomerAddress> <d2p1:CustomerCode>sample string 31</d2p1:CustomerCode> <d2p1:CustomerGSTIN>sample string 29</d2p1:CustomerGSTIN> <d2p1:CustomerName>sample string 26</d2p1:CustomerName> <d2p1:CustomerState>sample string 28</d2p1:CustomerState> <d2p1:Discount>1</d2p1:Discount> <d2p1:FinalTotalValue>1</d2p1:FinalTotalValue> <d2p1:Group>sample string 34</d2p1:Group> <d2p1:HSNCode>sample string 30</d2p1:HSNCode> <d2p1:Id>1</d2p1:Id> <d2p1:InvoiceNo>sample string 3</d2p1:InvoiceNo> <d2p1:InvoiceQty>1</d2p1:InvoiceQty> <d2p1:IsBarcoded>sample string 15</d2p1:IsBarcoded> <d2p1:ItemCode>sample string 5</d2p1:ItemCode> <d2p1:ItemName>sample string 11</d2p1:ItemName> <d2p1:OuterNo>sample string 17</d2p1:OuterNo> <d2p1:PSId>sample string 14</d2p1:PSId> <d2p1:PalletNo>sample string 18</d2p1:PalletNo> <d2p1:QualityCheck>sample string 21</d2p1:QualityCheck> <d2p1:Rate>1</d2p1:Rate> <d2p1:Remark>sample string 33</d2p1:Remark> <d2p1:ReplaceBarcode>sample string 20</d2p1:ReplaceBarcode> <d2p1:ReplaceBatchNo>sample string 8</d2p1:ReplaceBatchNo> <d2p1:ReplaceItemCode>sample string 7</d2p1:ReplaceItemCode> <d2p1:ReplaceItemName>sample string 22</d2p1:ReplaceItemName> <d2p1:ReplaceQty>1</d2p1:ReplaceQty> <d2p1:ReplacementDate>2025-03-28T14:05:59.2666633+00:00</d2p1:ReplacementDate> <d2p1:ReplacementId>sample string 2</d2p1:ReplacementId> <d2p1:SOId>sample string 4</d2p1:SOId> <d2p1:SOLineNumber>1</d2p1:SOLineNumber> <d2p1:SrNo>1</d2p1:SrNo> <d2p1:SupplierCode>sample string 9</d2p1:SupplierCode> <d2p1:SupplierName>sample string 12</d2p1:SupplierName> <d2p1:TOWareHouse>sample string 32</d2p1:TOWareHouse> <d2p1:TaxableValue>1</d2p1:TaxableValue> <d2p1:Total>1</d2p1:Total> <d2p1:Unit>sample string 25</d2p1:Unit> <d2p1:WarehouseId>1</d2p1:WarehouseId> <d2p1:WarehouseName>sample string 13</d2p1:WarehouseName> </d2p1:S_ReplacementNoteLineView> <d2p1:S_ReplacementNoteLineView> <d2p1:Barcode>sample string 19</d2p1:Barcode> <d2p1:BarcodeNo>sample string 16</d2p1:BarcodeNo> <d2p1:BasicValue>1</d2p1:BasicValue> <d2p1:BatchNo>sample string 6</d2p1:BatchNo> <d2p1:BranchCode>10</d2p1:BranchCode> <d2p1:BranchName>sample string 23</d2p1:BranchName> <d2p1:CreatedBy>1</d2p1:CreatedBy> <d2p1:CreatedOn>2025-03-28T14:05:59.2666633+00:00</d2p1:CreatedOn> <d2p1:CustomerAddress>sample string 27</d2p1:CustomerAddress> <d2p1:CustomerCode>sample string 31</d2p1:CustomerCode> <d2p1:CustomerGSTIN>sample string 29</d2p1:CustomerGSTIN> <d2p1:CustomerName>sample string 26</d2p1:CustomerName> <d2p1:CustomerState>sample string 28</d2p1:CustomerState> <d2p1:Discount>1</d2p1:Discount> <d2p1:FinalTotalValue>1</d2p1:FinalTotalValue> <d2p1:Group>sample string 34</d2p1:Group> <d2p1:HSNCode>sample string 30</d2p1:HSNCode> <d2p1:Id>1</d2p1:Id> <d2p1:InvoiceNo>sample string 3</d2p1:InvoiceNo> <d2p1:InvoiceQty>1</d2p1:InvoiceQty> <d2p1:IsBarcoded>sample string 15</d2p1:IsBarcoded> <d2p1:ItemCode>sample string 5</d2p1:ItemCode> <d2p1:ItemName>sample string 11</d2p1:ItemName> <d2p1:OuterNo>sample string 17</d2p1:OuterNo> <d2p1:PSId>sample string 14</d2p1:PSId> <d2p1:PalletNo>sample string 18</d2p1:PalletNo> <d2p1:QualityCheck>sample string 21</d2p1:QualityCheck> <d2p1:Rate>1</d2p1:Rate> <d2p1:Remark>sample string 33</d2p1:Remark> <d2p1:ReplaceBarcode>sample string 20</d2p1:ReplaceBarcode> <d2p1:ReplaceBatchNo>sample string 8</d2p1:ReplaceBatchNo> <d2p1:ReplaceItemCode>sample string 7</d2p1:ReplaceItemCode> <d2p1:ReplaceItemName>sample string 22</d2p1:ReplaceItemName> <d2p1:ReplaceQty>1</d2p1:ReplaceQty> <d2p1:ReplacementDate>2025-03-28T14:05:59.2666633+00:00</d2p1:ReplacementDate> <d2p1:ReplacementId>sample string 2</d2p1:ReplacementId> <d2p1:SOId>sample string 4</d2p1:SOId> <d2p1:SOLineNumber>1</d2p1:SOLineNumber> <d2p1:SrNo>1</d2p1:SrNo> <d2p1:SupplierCode>sample string 9</d2p1:SupplierCode> <d2p1:SupplierName>sample string 12</d2p1:SupplierName> <d2p1:TOWareHouse>sample string 32</d2p1:TOWareHouse> <d2p1:TaxableValue>1</d2p1:TaxableValue> <d2p1:Total>1</d2p1:Total> <d2p1:Unit>sample string 25</d2p1:Unit> <d2p1:WarehouseId>1</d2p1:WarehouseId> <d2p1:WarehouseName>sample string 13</d2p1:WarehouseName> </d2p1:S_ReplacementNoteLineView> </replacementline> </Z_S_ReplacementNoteHeaderLineRequest>
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. |