POST api/PostWarehouseTransfer?type={type}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

string

Required

Body Parameters

Z_WarehouseTransferHeaderDetailRequest
NameDescriptionTypeAdditional information
warehouseTransferHeader

C_WarehouseTransferHeader

None.

inventory

Collection of C_InventTrans

None.

inventBatchTrans

Collection of C_InventBatchTrans

None.

inventTransDetail

Collection of C_InventBatchTransDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "warehouseTransferHeader": {
    "Id": 1,
    "TransferOrderNo": "sample string 2",
    "TransType": "sample string 3",
    "TransferDate": "2024-04-27T23:04:31.145354+00:00",
    "FromWarehouse": 4,
    "ToWarehouse": 5,
    "BranchCode": 6,
    "CreatedBy": 1,
    "CreatedOn": "2024-04-27T23:04:31.145354+00:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-04-27T23:04:31.145354+00:00"
  },
  "inventory": [
    {
      "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": "2024-04-27T23:04:31.145354+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": "2024-04-27T23:04:31.145354+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": "2024-04-27T23:04:31.145354+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": "2024-04-27T23:04:31.145354+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": "2024-04-27T23:04:31.145354+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": "2024-04-27T23:04:31.145354+00:00",
      "UpdatedByIT": "sample string 14"
    }
  ],
  "inventTransDetail": [
    {
      "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": "2024-04-27T23:04:31.145354+00:00",
      "OuterCreatedDate": "2024-04-27T23:04:31.145354+00:00",
      "PalletCreatedDate": "2024-04-27T23:04:31.145354+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": "2024-04-27T23:04:31.145354+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": "2024-04-27T23:04:31.145354+00:00",
      "OuterCreatedDate": "2024-04-27T23:04:31.145354+00:00",
      "PalletCreatedDate": "2024-04-27T23:04:31.145354+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": "2024-04-27T23:04:31.145354+00:00",
      "BranchCode": 15,
      "VoucherNo": "sample string 16",
      "InventBatchId": 17,
      "SupplierGRNNo": "sample string 18",
      "UpdatedByIT": "sample string 19"
    }
  ]
}

application/xml, text/xml

Sample:
<Z_WarehouseTransferHeaderDetailRequest 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>2024-04-27T23:04:31.145354+00:00</PurchaseDate>
      <STSupplierCode>sample string 9</STSupplierCode>
      <SupplierCode>sample string 8</SupplierCode>
      <TotalRate>11</TotalRate>
      <TransDate>2024-04-27T23:04:31.145354+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>2024-04-27T23:04:31.145354+00:00</PurchaseDate>
      <STSupplierCode>sample string 9</STSupplierCode>
      <SupplierCode>sample string 8</SupplierCode>
      <TotalRate>11</TotalRate>
      <TransDate>2024-04-27T23:04:31.145354+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>
  <inventTransDetail>
    <C_InventBatchTransDetail>
      <Barcode>sample string 5</Barcode>
      <BarcodeCreatedDate>2024-04-27T23:04:31.145354+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>2024-04-27T23:04:31.145354+00:00</OuterCreatedDate>
      <OuterNo>sample string 6</OuterNo>
      <OuterPrint>sample string 13</OuterPrint>
      <PackingSlipId>sample string 11</PackingSlipId>
      <PalletCreatedDate>2024-04-27T23:04:31.145354+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>2024-04-27T23:04:31.145354+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>2024-04-27T23:04:31.145354+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>2024-04-27T23:04:31.145354+00:00</OuterCreatedDate>
      <OuterNo>sample string 6</OuterNo>
      <OuterPrint>sample string 13</OuterPrint>
      <PackingSlipId>sample string 11</PackingSlipId>
      <PalletCreatedDate>2024-04-27T23:04:31.145354+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>2024-04-27T23:04:31.145354+00:00</TransDate>
      <TransId>sample string 2</TransId>
      <UnitId>1</UnitId>
      <UpdatedByIT>sample string 19</UpdatedByIT>
      <VoucherNo>sample string 16</VoucherNo>
    </C_InventBatchTransDetail>
  </inventTransDetail>
  <inventory>
    <C_InventTrans>
      <BranchCode>6</BranchCode>
      <ClosingQty>1</ClosingQty>
      <Id>1</Id>
      <ItemCode>sample string 3</ItemCode>
      <OpeningQty>1</OpeningQty>
      <TransDate>2024-04-27T23:04:31.145354+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>2024-04-27T23:04:31.145354+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>
  </inventory>
  <warehouseTransferHeader>
    <BranchCode>6</BranchCode>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-27T23:04:31.145354+00:00</CreatedOn>
    <FromWarehouse>4</FromWarehouse>
    <Id>1</Id>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-04-27T23:04:31.145354+00:00</ModifiedOn>
    <ToWarehouse>5</ToWarehouse>
    <TransType>sample string 3</TransType>
    <TransferDate>2024-04-27T23:04:31.145354+00:00</TransferDate>
    <TransferOrderNo>sample string 2</TransferOrderNo>
  </warehouseTransferHeader>
</Z_WarehouseTransferHeaderDetailRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Z_WarehouseTransferHeaderDetailRequest'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.