GET api/travel/day/bus/{id}/inuse
Checks whether a bus is currently in use by any travel date bus configurations. Useful for determining if a bus can be safely deleted.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The unique identifier of the bus to check. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns HTTP 200 (OK) with a boolean value indicating whether the bus is in use.
booleanResponse Formats
application/json, text/json, application/javascript
Sample:
true
application/xml, text/xml
Sample:
<boolean>true</boolean>