{ "rooms": [ { "room": "A101", "seatid": ["S1", "S2", "S3"] }, { "room": "B202", "seatid": ["S4", "S5"] } ], "start_time": "2025-06-01", "end_time": "2025-06-05" }
curl --location --request POST '/api/v1/upload' \ --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoxMjMsInJvbGUiOiJzdHVkZW50IiwiZXhwIjoxNzE3ODUyODAwfQ.WkJljPrpS7j2UJAKrVE-ocM3wS1q7VMCtXXnORRCDzA' \ --header 'Content-Type: application/json' \ --data-raw '{ "rooms": [ { "room": "A101", "seatid": ["S1", "S2", "S3"] }, { "room": "B202", "seatid": ["S4", "S5"] } ], "start_time": "2025-06-01", "end_time": "2025-06-05" }'
{ "rooms": [ { "room": "string", "seatid": [ "string" ] } ], "start_time": "string", "end_time": "string" }