CreateTrip
Container: CCPServiceNamespace: System.Data.Objects
Summary
No summary yetMethod
The HTTP method for this function import is POSTParameters
| Name | Type | Summary |
|---|---|---|
| date* | Edm.DateTime | |
| pickUpAddress | AddressFragment | |
| dropOffAddress | AddressFragment | |
| pickUpLocationId | Edm.Int32 | |
| dropOffLocationId | Edm.Int32 | |
| driverId | Edm.Int32 | |
| vehicleTypeId | Edm.Int32 | |
| remark | Edm.String | |
| amount | Edm.Double | |
| commissionPercentage | Edm.Double | |
| commissionAmount | Edm.Double |
Return
Type: Entity type - TripSummaryIs collection: false
Example
Request URL: https://ccp.dispatchconnect.nl/CCPService/DataServiceCCP.svc/CreateTripExample body (sent with POST-request):
{
"date" : "2026-04-03T03:46:46",
"pickUpAddress" : {
"Street" : "street",
"Number" : 1,
"Addition" : "addition",
"PostalCode" : "postalcode",
"State" : "state",
"Town" : "town",
"CountryId" : 1,
"Coordinates" : {
"Latitude" : 51.55404,
"Longitude" : 5.079524,
"FormatName" : "Pixel"
}
},
"dropOffAddress" : {
"Street" : "street",
"Number" : 1,
"Addition" : "addition",
"PostalCode" : "postalcode",
"State" : "state",
"Town" : "town",
"CountryId" : 1,
"Coordinates" : {
"Latitude" : 51.55404,
"Longitude" : 5.079524,
"FormatName" : "Pixel"
}
},
"pickUpLocationId" : 1,
"dropOffLocationId" : 1,
"driverId" : 1,
"vehicleTypeId" : 1,
"remark" : "remark",
"amount" : 0.0,
"commissionPercentage" : 0.0,
"commissionAmount" : 0.0
}