AddBookings
Container: CCPServiceNamespace: System.Data.Objects
Summary
No summary yetMethod
The HTTP method for this function import is POSTParameters
| Name | Type | Summary |
|---|---|---|
| toBooking | BookingSequenceModel | |
| returnBooking | BookingSequenceModel |
Return
Type: voidIs collection: false
Example
Request URL: https://www.cabmanonline.nl/CCPService/DataServiceCCP.svc/AddBookingsExample body (sent with POST-request):
{
"toBooking" : {
"TripDate" : "2026-05-29T11:08:55",
"TravelerName" : "Name",
"EmailAddress" : "emailaddress",
"PhoneNumber" : "phonenumber",
"UsesCallBackService" : 1,
"Remark" : "remark",
"InternalRemark" : "internalremark",
"BookingDateTimeTypeName" : "Name",
"Recurrence" : {
"ValidFrom" : "2026-05-29T11:08:55",
"ValidUntil" : "2026-05-29T12:08:55",
"RecurrenceTypeName" : "Name",
"DayOfWeekPattern" : 1,
"RecurrenceWeekName" : "Name",
"RecurrenceDay" : 1,
"RecurrenceMonth" : 1,
"Interval" : 1
},
"VehicleKindName" : "Name",
"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,
"PickUpDescription" : "pickupdescription",
"DropOffDescription" : "dropoffdescription",
"ScopeTypeName" : "Name",
"PaymentTypeName" : "Name",
"CommaSepSystemIndicationIds" : "commasepsystemindicationids",
"CommaSepIndicationQuantities" : "commasepindicationquantities",
"TravelAdviceId" : 1,
"SetId" : 1
},
"returnBooking" : {
"TripDate" : "2026-05-29T11:08:55",
"TravelerName" : "Name",
"EmailAddress" : "emailaddress",
"PhoneNumber" : "phonenumber",
"UsesCallBackService" : 1,
"Remark" : "remark",
"InternalRemark" : "internalremark",
"BookingDateTimeTypeName" : "Name",
"Recurrence" : {
"ValidFrom" : "2026-05-29T11:08:55",
"ValidUntil" : "2026-05-29T12:08:55",
"RecurrenceTypeName" : "Name",
"DayOfWeekPattern" : 1,
"RecurrenceWeekName" : "Name",
"RecurrenceDay" : 1,
"RecurrenceMonth" : 1,
"Interval" : 1
},
"VehicleKindName" : "Name",
"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,
"PickUpDescription" : "pickupdescription",
"DropOffDescription" : "dropoffdescription",
"ScopeTypeName" : "Name",
"PaymentTypeName" : "Name",
"CommaSepSystemIndicationIds" : "commasepsystemindicationids",
"CommaSepIndicationQuantities" : "commasepindicationquantities",
"TravelAdviceId" : 1,
"SetId" : 1
}
}