POST api/Trips/PostStartMeterTrip
Request Information
URI Parameters
None.
Body Parameters
MeterTripPostName | 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. |
|
RiderName | string |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
WhatMeter | integer |
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", "RiderName": "sample string 8", "Latitude": 9.1, "Longitude": 10.1, "WhatMeter": 11, "TripID": 12, "LinkID": "sample string 13" }
application/xml, text/xml
Sample:
<TripsModel.MeterTripPost 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> <Latitude>9.1</Latitude> <LinkID>sample string 13</LinkID> <Longitude>10.1</Longitude> <RiderName>sample string 8</RiderName> <TabletID>sample string 2</TabletID> <TripID>12</TripID> <VehicleID>6</VehicleID> <VehicleNumber>sample string 7</VehicleNumber> <WhatMeter>11</WhatMeter> </TripsModel.MeterTripPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
FlagTripPostReturnName | Description | Type | Additional information |
---|---|---|---|
status | boolean |
None. |
|
message | string |
None. |
|
ReturnCode | integer |
None. |
|
TripID | integer |
None. |
|
BaseRate | decimal number |
None. |
|
RateFee | decimal number |
None. |
|
WaitFee | decimal number |
None. |
|
WaitSeconds | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": true, "message": "sample string 2", "ReturnCode": 3, "TripID": 4, "BaseRate": 5.1, "RateFee": 6.1, "WaitFee": 7.1, "WaitSeconds": 8 }
application/xml, text/xml
Sample:
<TripsModel.FlagTripPostReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models"> <BaseRate>5.1</BaseRate> <RateFee>6.1</RateFee> <ReturnCode>3</ReturnCode> <TripID>4</TripID> <WaitFee>7.1</WaitFee> <WaitSeconds>8</WaitSeconds> <message>sample string 2</message> <status>true</status> </TripsModel.FlagTripPostReturn>