POST api/Trips/PostTripList
Request Information
URI Parameters
None.
Body Parameters
TripListPost| Name | 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. |
|
| 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
TripPostReturn| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| message | string |
None. |
|
| ReturnCode | integer |
None. |
|
| TripList | Collection of TripListReturn |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"ReturnCode": 3,
"TripList": [
{
"TripID": 1,
"AppointmentTime": "sample string 2",
"PickupName": "sample string 3",
"PickupAddress2": "sample string 4",
"PickupCity": "sample string 5",
"PickupLot": "sample string 6",
"PickupTime": "sample string 7",
"DestName": "sample string 8",
"DestAddress2": "sample string 9",
"DestCity": "sample string 10",
"DestLot": "sample string 11",
"Status": "sample string 12",
"StatusID": 13,
"TransportName": "sample string 14",
"TransportType": "sample string 15",
"TripRate": "sample string 16",
"WhatTripScreen": 17,
"Escort": 18,
"RouteNumber": 19,
"RouteStop": 20,
"AccountUseMobileTripScreen": 21,
"AccountMobileTripScreensID": 22,
"RateMobileTripScreensID": 23,
"MultiLoadID": 24,
"ATripFlag": 25,
"MobileWhatType": 26
},
{
"TripID": 1,
"AppointmentTime": "sample string 2",
"PickupName": "sample string 3",
"PickupAddress2": "sample string 4",
"PickupCity": "sample string 5",
"PickupLot": "sample string 6",
"PickupTime": "sample string 7",
"DestName": "sample string 8",
"DestAddress2": "sample string 9",
"DestCity": "sample string 10",
"DestLot": "sample string 11",
"Status": "sample string 12",
"StatusID": 13,
"TransportName": "sample string 14",
"TransportType": "sample string 15",
"TripRate": "sample string 16",
"WhatTripScreen": 17,
"Escort": 18,
"RouteNumber": 19,
"RouteStop": 20,
"AccountUseMobileTripScreen": 21,
"AccountMobileTripScreensID": 22,
"RateMobileTripScreensID": 23,
"MultiLoadID": 24,
"ATripFlag": 25,
"MobileWhatType": 26
}
]
}
application/xml, text/xml
Sample:
<TripsModel.TripPostReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models">
<ReturnCode>3</ReturnCode>
<TripList>
<TripsModel.TripListReturn>
<ATripFlag>25</ATripFlag>
<AccountMobileTripScreensID>22</AccountMobileTripScreensID>
<AccountUseMobileTripScreen>21</AccountUseMobileTripScreen>
<AppointmentTime>sample string 2</AppointmentTime>
<DestAddress2>sample string 9</DestAddress2>
<DestCity>sample string 10</DestCity>
<DestLot>sample string 11</DestLot>
<DestName>sample string 8</DestName>
<Escort>18</Escort>
<MobileWhatType>26</MobileWhatType>
<MultiLoadID>24</MultiLoadID>
<PickupAddress2>sample string 4</PickupAddress2>
<PickupCity>sample string 5</PickupCity>
<PickupLot>sample string 6</PickupLot>
<PickupName>sample string 3</PickupName>
<PickupTime>sample string 7</PickupTime>
<RateMobileTripScreensID>23</RateMobileTripScreensID>
<RouteNumber>19</RouteNumber>
<RouteStop>20</RouteStop>
<Status>sample string 12</Status>
<StatusID>13</StatusID>
<TransportName>sample string 14</TransportName>
<TransportType>sample string 15</TransportType>
<TripID>1</TripID>
<TripRate>sample string 16</TripRate>
<WhatTripScreen>17</WhatTripScreen>
</TripsModel.TripListReturn>
<TripsModel.TripListReturn>
<ATripFlag>25</ATripFlag>
<AccountMobileTripScreensID>22</AccountMobileTripScreensID>
<AccountUseMobileTripScreen>21</AccountUseMobileTripScreen>
<AppointmentTime>sample string 2</AppointmentTime>
<DestAddress2>sample string 9</DestAddress2>
<DestCity>sample string 10</DestCity>
<DestLot>sample string 11</DestLot>
<DestName>sample string 8</DestName>
<Escort>18</Escort>
<MobileWhatType>26</MobileWhatType>
<MultiLoadID>24</MultiLoadID>
<PickupAddress2>sample string 4</PickupAddress2>
<PickupCity>sample string 5</PickupCity>
<PickupLot>sample string 6</PickupLot>
<PickupName>sample string 3</PickupName>
<PickupTime>sample string 7</PickupTime>
<RateMobileTripScreensID>23</RateMobileTripScreensID>
<RouteNumber>19</RouteNumber>
<RouteStop>20</RouteStop>
<Status>sample string 12</Status>
<StatusID>13</StatusID>
<TransportName>sample string 14</TransportName>
<TransportType>sample string 15</TransportType>
<TripID>1</TripID>
<TripRate>sample string 16</TripRate>
<WhatTripScreen>17</WhatTripScreen>
</TripsModel.TripListReturn>
</TripList>
<message>sample string 2</message>
<status>true</status>
</TripsModel.TripPostReturn>