Mark Log as Delivered

Mark a repricing log entry as successfully delivered to the target system (Helios, etc.). Called by external systems after processing the RabbitMQ message.

HTTP: PATCH | POST /logs/changes/@id/delivered

Query parameters

NameTypeRequiredDescriptionExample
idintegeryesThe log entry ID (returned in the RabbitMQ payload as log_id).12345
delivered_atstringnoOptional timestamp when delivery occurred (default: current time).2025-01-15 14:30:00

Notes

Sample request

curl -X PATCH -H "Authorization: ApiKey YOUR_API_KEY" https://testing.elpricing.com/api/logs/changes/@id/delivered

Interactive call

Queue workflow

Tasks are persisted to var/api_queue/tasks.json. Process them with:

php go.php cron:list\nphp go.php cron:go

Logs are written to var/api_queue/logs/{task_id}.log.