POST api/Trips/PostCloseTripV2
Request Information
URI Parameters
None.
Body Parameters
TripClosePostName | 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. |
|
StatusCode | integer |
None. |
|
StatusName | string |
None. |
|
WhatDispatched | integer |
None. |
|
LinkID | string |
None. |
|
CODCollected | decimal number |
None. |
|
ReturnTimeID | integer |
None. |
|
PaymentType | string |
None. |
|
LoadedMiles | decimal number |
None. |
|
WaitMinutes | integer |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
FareAmount | decimal number |
None. |
|
VoucherNumber | string |
None. |
|
PaymentReference | 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, "StatusCode": 9, "StatusName": "sample string 10", "WhatDispatched": 11, "LinkID": "sample string 12", "CODCollected": 13.1, "ReturnTimeID": 14, "PaymentType": "sample string 15", "LoadedMiles": 16.1, "WaitMinutes": 17, "Latitude": 18.1, "Longitude": 19.1, "FareAmount": 20.1, "VoucherNumber": "sample string 21", "PaymentReference": "sample string 22" }
application/xml, text/xml
Sample:
<TripsModel.TripClosePost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models"> <APIKey>sample string 1</APIKey> <CODCollected>13.1</CODCollected> <DriverID>3</DriverID> <DriverName>sample string 5</DriverName> <DriverNumber>sample string 4</DriverNumber> <FareAmount>20.1</FareAmount> <Latitude>18.1</Latitude> <LinkID>sample string 12</LinkID> <LoadedMiles>16.1</LoadedMiles> <Longitude>19.1</Longitude> <PaymentReference>sample string 22</PaymentReference> <PaymentType>sample string 15</PaymentType> <ReturnTimeID>14</ReturnTimeID> <StatusCode>9</StatusCode> <StatusName>sample string 10</StatusName> <TabletID>sample string 2</TabletID> <TripID>8</TripID> <VehicleID>6</VehicleID> <VehicleNumber>sample string 7</VehicleNumber> <VoucherNumber>sample string 21</VoucherNumber> <WaitMinutes>17</WaitMinutes> <WhatDispatched>11</WhatDispatched> </TripsModel.TripClosePost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TripStatusChangeReturnName | Description | Type | Additional information |
---|---|---|---|
status | boolean |
None. |
|
message | string |
None. |
|
StatusChangeCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": true, "message": "sample string 2", "StatusChangeCode": 3 }
application/xml, text/xml
Sample:
<TripsModel.TripStatusChangeReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models"> <StatusChangeCode>3</StatusChangeCode> <message>sample string 2</message> <status>true</status> </TripsModel.TripStatusChangeReturn>