POST api/WarehouseTransfer/POSTFGRM?type={type}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| type | string |
Required |
Body Parameters
Z_WarehouseTransferHeaderDetailForGRRMRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| warehouseTransferHeader | Collection of C_P_WarehouseTransferHeader |
None. |
|
| inventBatchTrans | Collection of C_InventBatchTrans |
None. |
|
| inventBatchTransRM | Collection of C_P_InventBatchTrans |
None. |
Request Formats
application/json, text/json
Sample:
{
"warehouseTransferHeader": [
{
"Id": 1,
"TransferOrderNo": "sample string 2",
"TransType": "sample string 3",
"TransferDate": "2025-12-17T23:54:26.1998387+00:00",
"FromWarehouse": 4,
"ToWarehouse": 5,
"FromItemCode": "sample string 6",
"ToItemCode": "sample string 7",
"BranchCode": 8,
"CreatedBy": 1,
"CreatedOn": "2025-12-17T23:54:26.1998387+00:00",
"ModifiedBy": 1,
"ModifiedOn": "2025-12-17T23:54:26.1998387+00:00"
},
{
"Id": 1,
"TransferOrderNo": "sample string 2",
"TransType": "sample string 3",
"TransferDate": "2025-12-17T23:54:26.1998387+00:00",
"FromWarehouse": 4,
"ToWarehouse": 5,
"FromItemCode": "sample string 6",
"ToItemCode": "sample string 7",
"BranchCode": 8,
"CreatedBy": 1,
"CreatedOn": "2025-12-17T23:54:26.1998387+00:00",
"ModifiedBy": 1,
"ModifiedOn": "2025-12-17T23:54:26.1998387+00:00"
}
],
"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-17T23:54:26.1998387+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-17T23:54:26.1998387+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-17T23:54:26.1998387+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-17T23:54:26.1998387+00:00",
"UpdatedByIT": "sample string 14"
}
],
"inventBatchTransRM": [
{
"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-17T23:54:26.1998387+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-17T23:54:26.1998387+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-17T23:54:26.1998387+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-17T23:54:26.1998387+00:00"
}
]
}
application/xml, text/xml
Sample:
<Z_WarehouseTransferHeaderDetailForGRRMRequest 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-17T23:54:26.1998387+00:00</PurchaseDate>
<STSupplierCode>sample string 9</STSupplierCode>
<SupplierCode>sample string 8</SupplierCode>
<TotalRate>11</TotalRate>
<TransDate>2025-12-17T23:54:26.1998387+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-17T23:54:26.1998387+00:00</PurchaseDate>
<STSupplierCode>sample string 9</STSupplierCode>
<SupplierCode>sample string 8</SupplierCode>
<TotalRate>11</TotalRate>
<TransDate>2025-12-17T23:54:26.1998387+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>
<inventBatchTransRM>
<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-17T23:54:26.1998387+00:00</PurchaseDate>
<STSupplierCode>sample string 9</STSupplierCode>
<SupplierCode>sample string 8</SupplierCode>
<TotalRate>11</TotalRate>
<TransDate>2025-12-17T23:54:26.1998387+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-17T23:54:26.1998387+00:00</PurchaseDate>
<STSupplierCode>sample string 9</STSupplierCode>
<SupplierCode>sample string 8</SupplierCode>
<TotalRate>11</TotalRate>
<TransDate>2025-12-17T23:54:26.1998387+00:00</TransDate>
<TransId>sample string 2</TransId>
<TransType>sample string 5</TransType>
<VoucherNo>sample string 4</VoucherNo>
<WarehouseId>7</WarehouseId>
</C_P_InventBatchTrans>
</inventBatchTransRM>
<warehouseTransferHeader>
<C_P_WarehouseTransferHeader>
<BranchCode>8</BranchCode>
<CreatedBy>1</CreatedBy>
<CreatedOn>2025-12-17T23:54:26.1998387+00:00</CreatedOn>
<FromItemCode>sample string 6</FromItemCode>
<FromWarehouse>4</FromWarehouse>
<Id>1</Id>
<ModifiedBy>1</ModifiedBy>
<ModifiedOn>2025-12-17T23:54:26.1998387+00:00</ModifiedOn>
<ToItemCode>sample string 7</ToItemCode>
<ToWarehouse>5</ToWarehouse>
<TransType>sample string 3</TransType>
<TransferDate>2025-12-17T23:54:26.1998387+00:00</TransferDate>
<TransferOrderNo>sample string 2</TransferOrderNo>
</C_P_WarehouseTransferHeader>
<C_P_WarehouseTransferHeader>
<BranchCode>8</BranchCode>
<CreatedBy>1</CreatedBy>
<CreatedOn>2025-12-17T23:54:26.1998387+00:00</CreatedOn>
<FromItemCode>sample string 6</FromItemCode>
<FromWarehouse>4</FromWarehouse>
<Id>1</Id>
<ModifiedBy>1</ModifiedBy>
<ModifiedOn>2025-12-17T23:54:26.1998387+00:00</ModifiedOn>
<ToItemCode>sample string 7</ToItemCode>
<ToWarehouse>5</ToWarehouse>
<TransType>sample string 3</TransType>
<TransferDate>2025-12-17T23:54:26.1998387+00:00</TransferDate>
<TransferOrderNo>sample string 2</TransferOrderNo>
</C_P_WarehouseTransferHeader>
</warehouseTransferHeader>
</Z_WarehouseTransferHeaderDetailForGRRMRequest>
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. |