DELETE api/travel/day/traveldatebus/{travelDateId}/{busId}?cascade={cascade}

Deletes a travel date bus configuration by travel date ID and bus ID. The deletion is performed with cascade enabled. Use TravelDateBusHasAssignments to check for dependencies before deletion.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
travelDateId

The unique identifier of the travel date.

integer

Required

busId

The unique identifier of the bus.

integer

Required

cascade

Whether to cascade the delete to related records.

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

Returns HTTP 204 (No Content) if the travel date bus configuration was successfully deleted.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/javascript

Sample:

Sample not available.