reserveVisionarySlot abstract method

  1. @POST.new('/admin/visionary-slots/reserve')
Future<VisionarySlotOperationResponse> reserveVisionarySlot({
  1. @Body.new() required ReserveVisionarySlotRequest body,
})

Reserve or unreserve a visionary slot.

Reserve a specific slot index for a user ID, or unreserve it by setting user_id to null. Special value -1 is also valid for user_id.

body - Name not received - field will be skipped.

Implementation

@POST('/admin/visionary-slots/reserve')
Future<VisionarySlotOperationResponse> reserveVisionarySlot({
  @Body() required ReserveVisionarySlotRequest body,
});