POST api/Trips/PostGetAutoDispatched2Trip

Request Information

URI Parameters

None.

Body Parameters

TripListPost
NameDescriptionTypeAdditional information
APIKey

string

None.

TabletID

string

None.

DriverID

integer

None.

DriverNumber

string

None.

DriverName

string

None.

VehicleID

integer

None.

VehicleNumber

string

None.

TripID

integer

None.

LinkID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "APIKey": "sample string 1",
  "TabletID": "sample string 2",
  "DriverID": 3,
  "DriverNumber": "sample string 4",
  "DriverName": "sample string 5",
  "VehicleID": 6,
  "VehicleNumber": "sample string 7",
  "TripID": 8,
  "LinkID": "sample string 9"
}

application/xml, text/xml

Sample:
<TripsModel.TripListPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models">
  <APIKey>sample string 1</APIKey>
  <DriverID>3</DriverID>
  <DriverName>sample string 5</DriverName>
  <DriverNumber>sample string 4</DriverNumber>
  <LinkID>sample string 9</LinkID>
  <TabletID>sample string 2</TabletID>
  <TripID>8</TripID>
  <VehicleID>6</VehicleID>
  <VehicleNumber>sample string 7</VehicleNumber>
</TripsModel.TripListPost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetAutoDispatch2TripPostReturn
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

ReturnCode

integer

None.

AutoDispatchSeconds

integer

None.

TripList

Collection of AutoDispatch2TripReturn

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "ReturnCode": 3,
  "AutoDispatchSeconds": 4,
  "TripList": [
    {
      "TripID": 1,
      "AppointmentTime": "sample string 2",
      "PickupTime": "sample string 3",
      "PickupAddress": "sample string 4",
      "PickupCity": "sample string 5",
      "PickupLatitude": 6.0,
      "PickupLongitude": 7.0,
      "DropAddress": "sample string 8",
      "DropCity": "sample string 9",
      "DestLatitude": 10.0,
      "DestLongitude": 11.0,
      "Status": "sample string 12",
      "StatusID": 13,
      "TransportType": "sample string 14",
      "TripRateClass": "sample string 15",
      "DriverFee": 16.0,
      "TripNumber": 17.0,
      "EstimatedMiles": 18.0,
      "DvrShowDriverFeeOnTablet": 19,
      "MilesFromVehicle": 20.0
    },
    {
      "TripID": 1,
      "AppointmentTime": "sample string 2",
      "PickupTime": "sample string 3",
      "PickupAddress": "sample string 4",
      "PickupCity": "sample string 5",
      "PickupLatitude": 6.0,
      "PickupLongitude": 7.0,
      "DropAddress": "sample string 8",
      "DropCity": "sample string 9",
      "DestLatitude": 10.0,
      "DestLongitude": 11.0,
      "Status": "sample string 12",
      "StatusID": 13,
      "TransportType": "sample string 14",
      "TripRateClass": "sample string 15",
      "DriverFee": 16.0,
      "TripNumber": 17.0,
      "EstimatedMiles": 18.0,
      "DvrShowDriverFeeOnTablet": 19,
      "MilesFromVehicle": 20.0
    }
  ]
}

application/xml, text/xml

Sample:
<TripsModel.GetAutoDispatch2TripPostReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models">
  <AutoDispatchSeconds>4</AutoDispatchSeconds>
  <ReturnCode>3</ReturnCode>
  <TripList>
    <TripsModel.AutoDispatch2TripReturn>
      <AppointmentTime>sample string 2</AppointmentTime>
      <DestLatitude>10</DestLatitude>
      <DestLongitude>11</DestLongitude>
      <DriverFee>16</DriverFee>
      <DropAddress>sample string 8</DropAddress>
      <DropCity>sample string 9</DropCity>
      <DvrShowDriverFeeOnTablet>19</DvrShowDriverFeeOnTablet>
      <EstimatedMiles>18</EstimatedMiles>
      <MilesFromVehicle>20</MilesFromVehicle>
      <PickupAddress>sample string 4</PickupAddress>
      <PickupCity>sample string 5</PickupCity>
      <PickupLatitude>6</PickupLatitude>
      <PickupLongitude>7</PickupLongitude>
      <PickupTime>sample string 3</PickupTime>
      <Status>sample string 12</Status>
      <StatusID>13</StatusID>
      <TransportType>sample string 14</TransportType>
      <TripID>1</TripID>
      <TripNumber>17</TripNumber>
      <TripRateClass>sample string 15</TripRateClass>
    </TripsModel.AutoDispatch2TripReturn>
    <TripsModel.AutoDispatch2TripReturn>
      <AppointmentTime>sample string 2</AppointmentTime>
      <DestLatitude>10</DestLatitude>
      <DestLongitude>11</DestLongitude>
      <DriverFee>16</DriverFee>
      <DropAddress>sample string 8</DropAddress>
      <DropCity>sample string 9</DropCity>
      <DvrShowDriverFeeOnTablet>19</DvrShowDriverFeeOnTablet>
      <EstimatedMiles>18</EstimatedMiles>
      <MilesFromVehicle>20</MilesFromVehicle>
      <PickupAddress>sample string 4</PickupAddress>
      <PickupCity>sample string 5</PickupCity>
      <PickupLatitude>6</PickupLatitude>
      <PickupLongitude>7</PickupLongitude>
      <PickupTime>sample string 3</PickupTime>
      <Status>sample string 12</Status>
      <StatusID>13</StatusID>
      <TransportType>sample string 14</TransportType>
      <TripID>1</TripID>
      <TripNumber>17</TripNumber>
      <TripRateClass>sample string 15</TripRateClass>
    </TripsModel.AutoDispatch2TripReturn>
  </TripList>
  <message>sample string 2</message>
  <status>true</status>
</TripsModel.GetAutoDispatch2TripPostReturn>