CineHall-API
  1. seats
CineHall-API
  • sessions
    • create_session
      POST
    • create_session_film
      POST
    • getall
      GET
    • filter_by_type
      GET
  • registration
    • register
      POST
    • login
      POST
    • logout
      POST
    • update_user
      POST
    • delete_user
      DELETE
  • film
    • delete_film
      DELETE
    • create_film
      POST
    • update_film
      PUT
    • getAll
      GET
  • rooms
    • create_room
      POST
    • show
      GET
  • reservations
    • Delete
      DELETE
    • Reservation
      POST
    • confirme_buy
      POST
    • modify_reservation
      GET
  • seats
    • create_room_seats
      POST
  • Dashboard
    • informations
      GET
    • taux d'ocupiration de seances
      GET
    • films classement
      GET
  • download_Ticket
    GET
  1. seats

create_room_seats

POST
/api/seats

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/seats' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "room_id": 1,
    "seats": [
        {
            "seat_number": 10
        },
        {
            "seat_number": 11
        },
        {
            "seat_number": 12
        }
    ]
}'
Response Response Example
{}
Modified at 2025-03-25 21:38:15
Previous
modify_reservation
Next
informations
Built with