POST api/ProdAdJOrderHeader
Request Information
URI Parameters
None.
Body Parameters
Z_ProdAdjustmentOrderHederDetailRequestName | Description | Type | Additional information |
---|---|---|---|
adJOrderHeader | C_AdJOrderHeader |
None. |
|
adJOrderline | Collection of C_ADJOrderline |
None. |
|
inventTrans | Collection of C_P_InventTrans |
None. |
|
inventBatchTrans | Collection of C_P_InventBatchTrans |
None. |
Request Formats
application/json, text/json
Sample:
{ "adJOrderHeader": { "Id": 1, "ADJOrderNo": "sample string 2", "Orderdate": "2025-03-28T15:04:40.8564634+00:00", "Warehouse": 1, "Narration": "sample string 3", "createdby": 4, "createdon": "2025-03-28T15:04:40.8564634+00:00", "modifiedby": 1, "modifiedon": "2025-03-28T15:04:40.8564634+00:00", "BranchCode": 5 }, "adJOrderline": [ { "Id": 1, "ADJOrderNo": "sample string 2", "Lineno": 3, "ItemCode": "sample string 4", "BatchNo": "sample string 5", "ActualQty": 1.0, "AdjustQty": 1.0, "AfterADJQty": 1.0, "BranchCode": 6 }, { "Id": 1, "ADJOrderNo": "sample string 2", "Lineno": 3, "ItemCode": "sample string 4", "BatchNo": "sample string 5", "ActualQty": 1.0, "AdjustQty": 1.0, "AfterADJQty": 1.0, "BranchCode": 6 } ], "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-28T15:04:40.8564634+00:00", "BranchCode": 6 }, { "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-28T15:04:40.8564634+00:00", "BranchCode": 6 } ], "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-28T15:04:40.8564634+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-28T15:04:40.8564634+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-03-28T15:04:40.8564634+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-28T15:04:40.8564634+00:00" } ] }
application/xml, text/xml
Sample:
<Z_ProdAdjustmentOrderHederDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <adJOrderHeader> <ADJOrderNo>sample string 2</ADJOrderNo> <BranchCode>5</BranchCode> <Id>1</Id> <Narration>sample string 3</Narration> <Orderdate>2025-03-28T15:04:40.8564634+00:00</Orderdate> <Warehouse>1</Warehouse> <createdby>4</createdby> <createdon>2025-03-28T15:04:40.8564634+00:00</createdon> <modifiedby>1</modifiedby> <modifiedon>2025-03-28T15:04:40.8564634+00:00</modifiedon> </adJOrderHeader> <adJOrderline> <C_ADJOrderline> <ADJOrderNo>sample string 2</ADJOrderNo> <ActualQty>1</ActualQty> <AdjustQty>1</AdjustQty> <AfterADJQty>1</AfterADJQty> <BatchNo>sample string 5</BatchNo> <BranchCode>6</BranchCode> <Id>1</Id> <ItemCode>sample string 4</ItemCode> <Lineno>3</Lineno> </C_ADJOrderline> <C_ADJOrderline> <ADJOrderNo>sample string 2</ADJOrderNo> <ActualQty>1</ActualQty> <AdjustQty>1</AdjustQty> <AfterADJQty>1</AfterADJQty> <BatchNo>sample string 5</BatchNo> <BranchCode>6</BranchCode> <Id>1</Id> <ItemCode>sample string 4</ItemCode> <Lineno>3</Lineno> </C_ADJOrderline> </adJOrderline> <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-03-28T15:04:40.8564634+00:00</PurchaseDate> <STSupplierCode>sample string 9</STSupplierCode> <SupplierCode>sample string 8</SupplierCode> <TotalRate>11</TotalRate> <TransDate>2025-03-28T15:04:40.8564634+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-03-28T15:04:40.8564634+00:00</PurchaseDate> <STSupplierCode>sample string 9</STSupplierCode> <SupplierCode>sample string 8</SupplierCode> <TotalRate>11</TotalRate> <TransDate>2025-03-28T15:04:40.8564634+00:00</TransDate> <TransId>sample string 2</TransId> <TransType>sample string 5</TransType> <VoucherNo>sample string 4</VoucherNo> <WarehouseId>7</WarehouseId> </C_P_InventBatchTrans> </inventBatchTrans> <inventTrans> <C_P_InventTrans> <BranchCode>6</BranchCode> <ClosingQty>1</ClosingQty> <Id>1</Id> <ItemCode>sample string 3</ItemCode> <OpeningQty>1</OpeningQty> <TransDate>2025-03-28T15:04:40.8564634+00:00</TransDate> <TransId>sample string 2</TransId> <TransQty>1</TransQty> <TransType>sample string 5</TransType> <VoucherNo>sample string 4</VoucherNo> </C_P_InventTrans> <C_P_InventTrans> <BranchCode>6</BranchCode> <ClosingQty>1</ClosingQty> <Id>1</Id> <ItemCode>sample string 3</ItemCode> <OpeningQty>1</OpeningQty> <TransDate>2025-03-28T15:04:40.8564634+00:00</TransDate> <TransId>sample string 2</TransId> <TransQty>1</TransQty> <TransType>sample string 5</TransType> <VoucherNo>sample string 4</VoucherNo> </C_P_InventTrans> </inventTrans> </Z_ProdAdjustmentOrderHederDetailRequest>
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. |