POST api/interunit/dispatch/create

Request Information

URI Parameters

None.

Body Parameters

TransitSaveDto
NameDescriptionTypeAdditional information
SourcePlantID

integer

None.

DestinationPlantID

integer

None.

TransitType

string

None.

BillOfSupplyNo

string

None.

BillOfSupplyDate

date

None.

GateEntryNo

string

None.

SenderID

integer

None.

ReceiverDepartment

string

None.

IntendedRecipientID

integer

None.

RecipientEmail

string

None.

LogisticsMode

string

None.

TransporterName

string

None.

TrackingNo_LR

string

None.

VehicleNo

string

None.

DriverContact

string

None.

Priority

string

None.

ExpectedDeliveryDate

date

None.

Items

Collection of TransitItemDto

None.

Request Formats

application/json, text/json

Sample:
{
  "SourcePlantID": 1,
  "DestinationPlantID": 2,
  "TransitType": "sample string 3",
  "BillOfSupplyNo": "sample string 4",
  "BillOfSupplyDate": "2026-07-25T15:28:44.9144797+05:30",
  "GateEntryNo": "sample string 5",
  "SenderID": 6,
  "ReceiverDepartment": "sample string 7",
  "IntendedRecipientID": 8,
  "RecipientEmail": "sample string 9",
  "LogisticsMode": "sample string 10",
  "TransporterName": "sample string 11",
  "TrackingNo_LR": "sample string 12",
  "VehicleNo": "sample string 13",
  "DriverContact": "sample string 14",
  "Priority": "sample string 15",
  "ExpectedDeliveryDate": "2026-07-25T15:28:44.9144797+05:30",
  "Items": [
    {
      "ItemCode": "sample string 1",
      "ItemName": "sample string 2",
      "ItemCategory": "sample string 3",
      "QtySent": 4.0,
      "UOM": "sample string 5",
      "Weight": 1.0
    },
    {
      "ItemCode": "sample string 1",
      "ItemName": "sample string 2",
      "ItemCategory": "sample string 3",
      "QtySent": 4.0,
      "UOM": "sample string 5",
      "Weight": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<TransitSaveDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <BillOfSupplyDate>2026-07-25T15:28:44.9144797+05:30</BillOfSupplyDate>
  <BillOfSupplyNo>sample string 4</BillOfSupplyNo>
  <DestinationPlantID>2</DestinationPlantID>
  <DriverContact>sample string 14</DriverContact>
  <ExpectedDeliveryDate>2026-07-25T15:28:44.9144797+05:30</ExpectedDeliveryDate>
  <GateEntryNo>sample string 5</GateEntryNo>
  <IntendedRecipientID>8</IntendedRecipientID>
  <Items>
    <TransitItemDto>
      <ItemCategory>sample string 3</ItemCategory>
      <ItemCode>sample string 1</ItemCode>
      <ItemName>sample string 2</ItemName>
      <QtySent>4</QtySent>
      <UOM>sample string 5</UOM>
      <Weight>1</Weight>
    </TransitItemDto>
    <TransitItemDto>
      <ItemCategory>sample string 3</ItemCategory>
      <ItemCode>sample string 1</ItemCode>
      <ItemName>sample string 2</ItemName>
      <QtySent>4</QtySent>
      <UOM>sample string 5</UOM>
      <Weight>1</Weight>
    </TransitItemDto>
  </Items>
  <LogisticsMode>sample string 10</LogisticsMode>
  <Priority>sample string 15</Priority>
  <ReceiverDepartment>sample string 7</ReceiverDepartment>
  <RecipientEmail>sample string 9</RecipientEmail>
  <SenderID>6</SenderID>
  <SourcePlantID>1</SourcePlantID>
  <TrackingNo_LR>sample string 12</TrackingNo_LR>
  <TransitType>sample string 3</TransitType>
  <TransporterName>sample string 11</TransporterName>
  <VehicleNo>sample string 13</VehicleNo>
</TransitSaveDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.