POST api/DispatchApi/GetTrailorList

Request Information

URI Parameters

None.

Body Parameters

CommonApiPara
NameDescriptionTypeAdditional information
DriverId

integer

None.

DeviceId

string

None.

CompanyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DriverId": 1,
  "DeviceId": "sample string 2",
  "CompanyId": 3
}

text/html

Sample:
{"DriverId":1,"DeviceId":"sample string 2","CompanyId":3}

application/xml, text/xml

Sample:
<CommonApiPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dispatch.Models">
  <CompanyId>3</CompanyId>
  <DeviceId>sample string 2</DeviceId>
  <DriverId>1</DriverId>
</CommonApiPara>

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

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:18.0276752-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:18.0276752-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:18.0276752-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:18.0276752-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:18.0276752-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:18.0276752-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:18.0276752-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:18.0276752-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:18.0276752-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>