GET api/travel/day/vehicletype/{id}/inuse

Checks whether a vehicle type is currently in use by any travel date bus configurations. Useful for determining if a vehicle type can be safely deleted.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The unique identifier of the vehicle type to check.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Returns HTTP 200 (OK) with a boolean value indicating whether the vehicle type is in use

boolean

Response Formats

application/json, text/json, application/javascript

Sample:
true

application/xml, text/xml

Sample:
<boolean>true</boolean>