GET api/travel/day/traveldatebus/{travelDateId}/{busId}/hasassignments
Checks whether a travel date bus configuration has any transportation assignments. Useful for determining if a travel date bus configuration can be safely deleted.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| travelDateId |
The unique identifier of the travel date. |
integer |
Required |
| busId |
The unique identifier of the bus. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns HTTP 200 (OK) with a boolean value indicating whether the travel date bus has assignments
booleanResponse Formats
application/json, text/json, application/javascript
Sample:
true
application/xml, text/xml
Sample:
<boolean>true</boolean>