Property Management System Test API for Booking Synchronization
You are developing a hotel management system that needs to sync bookings with a Property Management System (PMS). The PMS provides a REST API with the following endpoints:
Create a Laravel Artisan command that:
All mass data endpoints (bookings, rooms, room-types, guests) support filtering by the updated_at
field. This is particularly useful for incremental synchronization:
updated_at.gt
in your URLs for filtering. Laravel internally converts the dot notation to underscore, but you should use the dot notation in your requests. The date can be in any format that PHP's Carbon library can parse (YYYY-MM-DD, YYYY-MM-DD HH:MM:SS, ISO 8601, etc.)