POST api/Trips/PostOpenBoardTripList
Request Information
URI Parameters
None.
Body Parameters
TripOpenBoardListPostName | Description | Type | Additional information |
---|---|---|---|
APIKey | string |
None. |
|
TabletID | string |
None. |
|
DriverID | integer |
None. |
|
DriverNumber | string |
None. |
|
DriverName | string |
None. |
|
VehicleID | integer |
None. |
|
VehicleNumber | string |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
LastLatLong | date |
None. |
|
SelectedDistance | 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", "Latitude": 8.1, "Longitude": 9.1, "LastLatLong": "2024-11-21T04:36:32.5402868-05:00", "SelectedDistance": 11, "LinkID": "sample string 12" }
application/xml, text/xml
Sample:
<TripsModel.TripOpenBoardListPost 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> <LastLatLong>2024-11-21T04:36:32.5402868-05:00</LastLatLong> <Latitude>8.1</Latitude> <LinkID>sample string 12</LinkID> <Longitude>9.1</Longitude> <SelectedDistance>11</SelectedDistance> <TabletID>sample string 2</TabletID> <VehicleID>6</VehicleID> <VehicleNumber>sample string 7</VehicleNumber> </TripsModel.TripOpenBoardListPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetOpenBoardTripPostReturnName | Description | Type | Additional information |
---|---|---|---|
status | boolean |
None. |
|
message | string |
None. |
|
ReturnCode | integer |
None. |
|
TripList | Collection of PostOpenBoardTrips |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": true, "message": "sample string 2", "ReturnCode": 3, "TripList": [ { "TripID": 1, "AppointmentTime": "sample string 2", "PickupAddress2": "sample string 3", "PickupCity": "sample string 4", "PickupTime": "sample string 5", "Status": "sample string 6", "DispatchStatusID": 7, "TransType": "sample string 8", "TripRate": "sample string 9", "WhatTripScreen": 10, "Miles": 11.1 }, { "TripID": 1, "AppointmentTime": "sample string 2", "PickupAddress2": "sample string 3", "PickupCity": "sample string 4", "PickupTime": "sample string 5", "Status": "sample string 6", "DispatchStatusID": 7, "TransType": "sample string 8", "TripRate": "sample string 9", "WhatTripScreen": 10, "Miles": 11.1 } ] }
application/xml, text/xml
Sample:
<TripsModel.GetOpenBoardTripPostReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models"> <ReturnCode>3</ReturnCode> <TripList> <TripsModel.PostOpenBoardTrips> <AppointmentTime>sample string 2</AppointmentTime> <DispatchStatusID>7</DispatchStatusID> <Miles>11.1</Miles> <PickupAddress2>sample string 3</PickupAddress2> <PickupCity>sample string 4</PickupCity> <PickupTime>sample string 5</PickupTime> <Status>sample string 6</Status> <TransType>sample string 8</TransType> <TripID>1</TripID> <TripRate>sample string 9</TripRate> <WhatTripScreen>10</WhatTripScreen> </TripsModel.PostOpenBoardTrips> <TripsModel.PostOpenBoardTrips> <AppointmentTime>sample string 2</AppointmentTime> <DispatchStatusID>7</DispatchStatusID> <Miles>11.1</Miles> <PickupAddress2>sample string 3</PickupAddress2> <PickupCity>sample string 4</PickupCity> <PickupTime>sample string 5</PickupTime> <Status>sample string 6</Status> <TransType>sample string 8</TransType> <TripID>1</TripID> <TripRate>sample string 9</TripRate> <WhatTripScreen>10</WhatTripScreen> </TripsModel.PostOpenBoardTrips> </TripList> <message>sample string 2</message> <status>true</status> </TripsModel.GetOpenBoardTripPostReturn>