POST api/DispatchApi/SaveTrailorHistory

Request Information

URI Parameters

None.

Body Parameters

TrailerDeliveryInfo
NameDescriptionTypeAdditional information
TrailerId

string

None.

PickUpLocationTypeId

integer

None.

DropLocationTypeId

integer

None.

DropAddress

string

None.

OtherTrailorEquipmentNo

string

None.

DropStateId

integer

None.

DropCity

string

None.

DropZip

string

None.

DropName

string

None.

PickUpName

string

None.

PickupAddress

string

None.

PickUpStateId

integer

None.

PickUpCity

string

None.

PickUpZip

string

None.

DriverName

string

None.

DropPickUpDate

date

None.

DriverId

integer

None.

DeviceId

string

None.

CompanyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TrailerId": "sample string 1",
  "PickUpLocationTypeId": 2,
  "DropLocationTypeId": 3,
  "DropAddress": "sample string 4",
  "OtherTrailorEquipmentNo": "sample string 5",
  "DropStateId": 6,
  "DropCity": "sample string 7",
  "DropZip": "sample string 8",
  "DropName": "sample string 9",
  "PickUpName": "sample string 10",
  "PickupAddress": "sample string 11",
  "PickUpStateId": 12,
  "PickUpCity": "sample string 13",
  "PickUpZip": "sample string 14",
  "DriverName": "sample string 15",
  "DropPickUpDate": "2026-10-18T07:14:33.0444904-04:00",
  "DriverId": 16,
  "DeviceId": "sample string 17",
  "CompanyId": 18
}

text/html

Sample:
{"TrailerId":"sample string 1","PickUpLocationTypeId":2,"DropLocationTypeId":3,"DropAddress":"sample string 4","OtherTrailorEquipmentNo":"sample string 5","DropStateId":6,"DropCity":"sample string 7","DropZip":"sample string 8","DropName":"sample string 9","PickUpName":"sample string 10","PickupAddress":"sample string 11","PickUpStateId":12,"PickUpCity":"sample string 13","PickUpZip":"sample string 14","DriverName":"sample string 15","DropPickUpDate":"2026-10-18T07:14:33.0444904-04:00","DriverId":16,"DeviceId":"sample string 17","CompanyId":18}

application/xml, text/xml

Sample:
<TrailerDeliveryInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dispatch.Models">
  <CompanyId>18</CompanyId>
  <DeviceId>sample string 17</DeviceId>
  <DriverId>16</DriverId>
  <DriverName>sample string 15</DriverName>
  <DropAddress>sample string 4</DropAddress>
  <DropCity>sample string 7</DropCity>
  <DropLocationTypeId>3</DropLocationTypeId>
  <DropName>sample string 9</DropName>
  <DropPickUpDate>2026-10-18T07:14:33.0444904-04:00</DropPickUpDate>
  <DropStateId>6</DropStateId>
  <DropZip>sample string 8</DropZip>
  <OtherTrailorEquipmentNo>sample string 5</OtherTrailorEquipmentNo>
  <PickUpCity>sample string 13</PickUpCity>
  <PickUpLocationTypeId>2</PickUpLocationTypeId>
  <PickUpName>sample string 10</PickUpName>
  <PickUpStateId>12</PickUpStateId>
  <PickUpZip>sample string 14</PickUpZip>
  <PickupAddress>sample string 11</PickupAddress>
  <TrailerId>sample string 1</TrailerId>
</TrailerDeliveryInfo>

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 'TrailerDeliveryInfo'.

Response Information

Resource Description

ResultModelOfTrailor
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

UpdateApp

boolean

None.

IsSecureLoad

boolean

None.

IsPODMandatory

boolean

None.

GetPickupDeliveryNumberFromApp

boolean

None.

RestrictLocationChangesForApp

boolean

None.

RestrictDriversToOneActiveJobAtaTime

boolean

None.

ShowShipperConsigneeContactDetail

boolean

None.

HideMilesRateForDriverInapp

boolean

None.

ShowConsigneeInfoOnDriverApp

boolean

None.

model

Trailor

None.

lstModel

Collection of Trailor

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "UpdateApp": true,
  "IsSecureLoad": true,
  "IsPODMandatory": true,
  "GetPickupDeliveryNumberFromApp": true,
  "RestrictLocationChangesForApp": true,
  "RestrictDriversToOneActiveJobAtaTime": true,
  "ShowShipperConsigneeContactDetail": true,
  "HideMilesRateForDriverInapp": true,
  "ShowConsigneeInfoOnDriverApp": true,
  "model": {
    "TrailorId": 1,
    "TrailorEquipmentNumber": "sample string 2",
    "FleetId": 3,
    "PlateLicenseNo": "sample string 4",
    "StateId": 5,
    "TypeClassId": 6,
    "Make": "sample string 7",
    "Model": "sample string 8",
    "Height": "sample string 9",
    "Width": "sample string 10",
    "Length": "sample string 11",
    "MaxCube": "sample string 12",
    "MaxCargoWeightUS": 1.0,
    "MaxCargoWeightCA": 1.0,
    "ACEID": "sample string 13",
    "VIN": "sample string 14",
    "OwnerName": "sample string 15",
    "IsForTracking": true,
    "TrackingDeviceNumber": "sample string 16",
    "CarrierId": 17,
    "TrailorStatusId": 1,
    "IsDeleted": true,
    "DeletedDate": "2026-10-18T07:14:33.060117-04:00"
  },
  "lstModel": [
    {
      "TrailorId": 1,
      "TrailorEquipmentNumber": "sample string 2",
      "FleetId": 3,
      "PlateLicenseNo": "sample string 4",
      "StateId": 5,
      "TypeClassId": 6,
      "Make": "sample string 7",
      "Model": "sample string 8",
      "Height": "sample string 9",
      "Width": "sample string 10",
      "Length": "sample string 11",
      "MaxCube": "sample string 12",
      "MaxCargoWeightUS": 1.0,
      "MaxCargoWeightCA": 1.0,
      "ACEID": "sample string 13",
      "VIN": "sample string 14",
      "OwnerName": "sample string 15",
      "IsForTracking": true,
      "TrackingDeviceNumber": "sample string 16",
      "CarrierId": 17,
      "TrailorStatusId": 1,
      "IsDeleted": true,
      "DeletedDate": "2026-10-18T07:14:33.060117-04:00"
    },
    {
      "TrailorId": 1,
      "TrailorEquipmentNumber": "sample string 2",
      "FleetId": 3,
      "PlateLicenseNo": "sample string 4",
      "StateId": 5,
      "TypeClassId": 6,
      "Make": "sample string 7",
      "Model": "sample string 8",
      "Height": "sample string 9",
      "Width": "sample string 10",
      "Length": "sample string 11",
      "MaxCube": "sample string 12",
      "MaxCargoWeightUS": 1.0,
      "MaxCargoWeightCA": 1.0,
      "ACEID": "sample string 13",
      "VIN": "sample string 14",
      "OwnerName": "sample string 15",
      "IsForTracking": true,
      "TrackingDeviceNumber": "sample string 16",
      "CarrierId": 17,
      "TrailorStatusId": 1,
      "IsDeleted": true,
      "DeletedDate": "2026-10-18T07:14:33.060117-04:00"
    }
  ]
}

text/html

Sample:
{"Status":true,"Message":"sample string 2","UpdateApp":true,"IsSecureLoad":true,"IsPODMandatory":true,"GetPickupDeliveryNumberFromApp":true,"RestrictLocationChangesForApp":true,"RestrictDriversToOneActiveJobAtaTime":true,"ShowShipperConsigneeContactDetail":true,"HideMilesRateForDriverInapp":true,"ShowConsigneeInfoOnDriverApp":true,"model":{"TrailorId":1,"TrailorEquipmentNumber":"sample string 2","FleetId":3,"PlateLicenseNo":"sample string 4","StateId":5,"TypeClassId":6,"Make":"sample string 7","Model":"sample string 8","Height":"sample string 9","Width":"sample string 10","Length":"sample string 11","MaxCube":"sample string 12","MaxCargoWeightUS":1.0,"MaxCargoWeightCA":1.0,"ACEID":"sample string 13","VIN":"sample string 14","OwnerName":"sample string 15","IsForTracking":true,"TrackingDeviceNumber":"sample string 16","CarrierId":17,"TrailorStatusId":1,"IsDeleted":true,"DeletedDate":"2026-10-18T07:14:33.060117-04:00"},"lstModel":[{"TrailorId":1,"TrailorEquipmentNumber":"sample string 2","FleetId":3,"PlateLicenseNo":"sample string 4","StateId":5,"TypeClassId":6,"Make":"sample string 7","Model":"sample string 8","Height":"sample string 9","Width":"sample string 10","Length":"sample string 11","MaxCube":"sample string 12","MaxCargoWeightUS":1.0,"MaxCargoWeightCA":1.0,"ACEID":"sample string 13","VIN":"sample string 14","OwnerName":"sample string 15","IsForTracking":true,"TrackingDeviceNumber":"sample string 16","CarrierId":17,"TrailorStatusId":1,"IsDeleted":true,"DeletedDate":"2026-10-18T07:14:33.060117-04:00"},{"TrailorId":1,"TrailorEquipmentNumber":"sample string 2","FleetId":3,"PlateLicenseNo":"sample string 4","StateId":5,"TypeClassId":6,"Make":"sample string 7","Model":"sample string 8","Height":"sample string 9","Width":"sample string 10","Length":"sample string 11","MaxCube":"sample string 12","MaxCargoWeightUS":1.0,"MaxCargoWeightCA":1.0,"ACEID":"sample string 13","VIN":"sample string 14","OwnerName":"sample string 15","IsForTracking":true,"TrackingDeviceNumber":"sample string 16","CarrierId":17,"TrailorStatusId":1,"IsDeleted":true,"DeletedDate":"2026-10-18T07:14:33.060117-04:00"}]}

application/xml, text/xml

Sample:
<ResultModelOfTrailorkdKmGoqn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dispatch.Models">
  <GetPickupDeliveryNumberFromApp>true</GetPickupDeliveryNumberFromApp>
  <HideMilesRateForDriverInapp>true</HideMilesRateForDriverInapp>
  <IsPODMandatory>true</IsPODMandatory>
  <IsSecureLoad>true</IsSecureLoad>
  <Message>sample string 2</Message>
  <RestrictDriversToOneActiveJobAtaTime>true</RestrictDriversToOneActiveJobAtaTime>
  <RestrictLocationChangesForApp>true</RestrictLocationChangesForApp>
  <ShowConsigneeInfoOnDriverApp>true</ShowConsigneeInfoOnDriverApp>
  <ShowShipperConsigneeContactDetail>true</ShowShipperConsigneeContactDetail>
  <Status>true</Status>
  <UpdateApp>true</UpdateApp>
  <lstModel>
    <Trailor>
      <ACEID>sample string 13</ACEID>
      <CarrierId>17</CarrierId>
      <DeletedDate>2026-10-18T07:14:33.060117-04:00</DeletedDate>
      <FleetId>3</FleetId>
      <Height>sample string 9</Height>
      <IsDeleted>true</IsDeleted>
      <IsForTracking>true</IsForTracking>
      <Length>sample string 11</Length>
      <Make>sample string 7</Make>
      <MaxCargoWeightCA>1</MaxCargoWeightCA>
      <MaxCargoWeightUS>1</MaxCargoWeightUS>
      <MaxCube>sample string 12</MaxCube>
      <Model>sample string 8</Model>
      <OwnerName>sample string 15</OwnerName>
      <PlateLicenseNo>sample string 4</PlateLicenseNo>
      <StateId>5</StateId>
      <TrackingDeviceNumber>sample string 16</TrackingDeviceNumber>
      <TrailorEquipmentNumber>sample string 2</TrailorEquipmentNumber>
      <TrailorId>1</TrailorId>
      <TrailorStatusId>1</TrailorStatusId>
      <TypeClassId>6</TypeClassId>
      <VIN>sample string 14</VIN>
      <Width>sample string 10</Width>
    </Trailor>
    <Trailor>
      <ACEID>sample string 13</ACEID>
      <CarrierId>17</CarrierId>
      <DeletedDate>2026-10-18T07:14:33.060117-04:00</DeletedDate>
      <FleetId>3</FleetId>
      <Height>sample string 9</Height>
      <IsDeleted>true</IsDeleted>
      <IsForTracking>true</IsForTracking>
      <Length>sample string 11</Length>
      <Make>sample string 7</Make>
      <MaxCargoWeightCA>1</MaxCargoWeightCA>
      <MaxCargoWeightUS>1</MaxCargoWeightUS>
      <MaxCube>sample string 12</MaxCube>
      <Model>sample string 8</Model>
      <OwnerName>sample string 15</OwnerName>
      <PlateLicenseNo>sample string 4</PlateLicenseNo>
      <StateId>5</StateId>
      <TrackingDeviceNumber>sample string 16</TrackingDeviceNumber>
      <TrailorEquipmentNumber>sample string 2</TrailorEquipmentNumber>
      <TrailorId>1</TrailorId>
      <TrailorStatusId>1</TrailorStatusId>
      <TypeClassId>6</TypeClassId>
      <VIN>sample string 14</VIN>
      <Width>sample string 10</Width>
    </Trailor>
  </lstModel>
  <model>
    <ACEID>sample string 13</ACEID>
    <CarrierId>17</CarrierId>
    <DeletedDate>2026-10-18T07:14:33.060117-04:00</DeletedDate>
    <FleetId>3</FleetId>
    <Height>sample string 9</Height>
    <IsDeleted>true</IsDeleted>
    <IsForTracking>true</IsForTracking>
    <Length>sample string 11</Length>
    <Make>sample string 7</Make>
    <MaxCargoWeightCA>1</MaxCargoWeightCA>
    <MaxCargoWeightUS>1</MaxCargoWeightUS>
    <MaxCube>sample string 12</MaxCube>
    <Model>sample string 8</Model>
    <OwnerName>sample string 15</OwnerName>
    <PlateLicenseNo>sample string 4</PlateLicenseNo>
    <StateId>5</StateId>
    <TrackingDeviceNumber>sample string 16</TrackingDeviceNumber>
    <TrailorEquipmentNumber>sample string 2</TrailorEquipmentNumber>
    <TrailorId>1</TrailorId>
    <TrailorStatusId>1</TrailorStatusId>
    <TypeClassId>6</TypeClassId>
    <VIN>sample string 14</VIN>
    <Width>sample string 10</Width>
  </model>
</ResultModelOfTrailorkdKmGoqn>