Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.

Booking and Availability Management API

Module port of Bat API for Drupal >8

BAT API from April25 (version?)

Implement Drupal Core REST

  • View (GET) bat_api/rest/calendar-events bat_api/rest/calendar-units

BAT API till April25 (version?)

URL Operations

  • Delete (DELETE) bat_api/bat_event/{bat_event} bat_api/state/{state} bat_api/bat_type_group/{bat_type_group} bat_api/bat_unit/{bat_unit} bat_api/bat_unit_type/{bat_unit_type}

  • Retrieve (GET) bat_api/bat_event/{bat_event} bat_api/state/{state} bat_api/bat_type_group/{bat_type_group} bat_api/bat_unit/{bat_unit} bat_api/bat_unit_type/{bat_unit_type}

  • Index (GET) bat_api/bat_event bat_api/state bat_api/bat_type_group bat_api/bat_unit bat_api/bat_unit_type

  • Create (POST) bat_api/bat_event bat_api/state bat_api/bat_type_group bat_api/bat_unit bat_api/bat_unit_type

  • Update (PATCH) bat_api/bat_event/{bat_event} bat_api/state/{state} bat_api/bat_type_group/{bat_type_group} bat_api/bat_unit/{bat_unit} bat_api/bat_unit_type/{bat_unit_type}

  • View (GET) bat_api/bat_event/{bat_event}/view bat_api/state/{state}/view bat_api/bat_type_group/{bat_type_group}/view bat_api/bat_unit/{bat_unit}/view bat_api/bat_unit_type/{bat_unit_type}/view