| {!! $sortLink('created_at', 'Time') !!} | {!! $sortLink('direction', 'Direction') !!} | {!! $sortLink('action', 'Action') !!} | {!! $sortLink('status', 'Status') !!} | Calendar | Source ID | Target ID | {!! $sortLink('http_response_code', 'HTTP') !!} | Response |
|---|---|---|---|---|---|---|---|---|
| {{ $log->created_at->timezone($timezone)->format('M j, Y g:ia') }} | {{ \App\Models\WebhookLog::formatDirection($log->direction) }} | {{ $log->action ?? '—' }} | {{ $log->status }} | {{ $log->calendar->name ?? '—' }} | {{ $log->source_id ?? '—' }} | {{ $log->target_id ?? '—' }} | {{ $log->http_response_code ?? '—' }} |
@if($log->response_body || $log->error_message || !empty($log->conversion_data))
@if(in_array($log->status, ['failed', 'received']) && $log->direction === 'calcom_to_clinicsyncpro' && $log->response_body)
@endif
@else
—
@endif
|
|
@if($log->error_message)
{{ $log->error_message }} @endif @php $body = $log->response_body ?? []; $hasReceivedPayload = isset($body['received_payload']); $hasRequest = isset($body['request']); $hasResponse = isset($body['response']); // Legacy logs: response_body is the raw payload itself $isLegacy = !$hasReceivedPayload && !$hasRequest && !$hasResponse; @endphp @php $jsonFlags = JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE; @endphp @if(!empty($log->conversion_data))UTM / Conversion Data
Received from Cal.com {{ json_encode($body['received_payload'], $jsonFlags) }}
POST to Target {{ json_encode($body['request'], $jsonFlags) }}
Target Response {{ json_encode($body['response'], $jsonFlags) }}
Payload {{ json_encode($body, $jsonFlags) }}
|
||||||||
| No logs found. | ||||||||