{{-- brafa Systems — booking-sync API request log. Livewire backing: App\Http\Livewire\SuperAdmin\BookingSyncRequestLog. --}}

Booking API request log

Booking systems

Every request booking systems send to the booking-sync API, and our reply, newest first. Door codes are masked. Kept for {{ $keepDays }} days.

@if ($selected)

{{ $providerNames[$selected->provider] ?? $selected->provider }} / {{ $selected->tenant }} · {{ $selected->endpoint }}

{{ optional($selected->created_at)->format('Y-m-d H:i:s') }} · HTTP {{ $selected->status }}{{ $selected->error_code ? ' ' . $selected->error_code : '' }} · {{ $selected->duration_ms !== null ? $selected->duration_ms . ' ms' : '' }} · from {{ $selected->ip }}

@foreach ([['Request', $selectedRequest], ['Reply', $selectedReply]] as [$label, $body])
{{ $label }}
{{ $body !== '' ? $body : '(empty)' }}
@endforeach
@endif
@forelse ($requests as $entry) id) style="background: var(--bg-surface);" @endif> @empty @endforelse
Time System / venue Call Result Bookings Time taken
{{ optional($entry->created_at)->format('Y-m-d H:i:s') }}
{{ $providerNames[$entry->provider] ?? $entry->provider }}
{{ $entry->tenant }}
{{ $entry->endpoint === 'lock-status' ? 'Lock status' : ($entry->endpoint === 'bookings' ? 'Push' : $entry->endpoint) }} @if ($entry->accepted()) {{ $entry->status }} @else {{ $entry->status }} @endif @if ($entry->error_code)
{{ $entry->error_code }}
@endif
{{ $entry->book_ids ? str_replace(',', ' ', trim($entry->book_ids, ',')) : '' }} {{ $entry->duration_ms !== null ? $entry->duration_ms . ' ms' : '' }}
No requests match.
@if (! $requests->onFirstPage() || $requests->hasMorePages())
@endif