[2025-12-28 18:53:38] [INFO] ========== WEBHOOK RECEIVED ==========
[2025-12-28 18:53:38] [INFO] Method: POST
[2025-12-28 18:53:38] [INFO] URI: /webhook.php
[2025-12-28 18:53:38] [INFO] Remote IP: 199.189.240.48
[2025-12-28 18:53:38] [INFO] User-Agent: python-requests/2.28.2
[2025-12-28 18:53:38] [INFO] Headers: {
    "Host": "ftp.stationboss.net",
    "User-Agent": "python-requests\/2.28.2",
    "Accept-Encoding": "gzip, deflate",
    "Accept": "*\/*",
    "Connection": "keep-alive",
    "Content-Length": "108",
    "Content-Type": "application\/json"
}
[2025-12-28 18:53:38] [INFO] Raw Body: "{\"unique_identifier\": \"2025-089800\", \"agency\": 1, \"uri\": \"/api/cad/latest/cfs_core/2025-089800\"}"
[2025-12-28 18:53:38] [INFO] Detected double-encoded JSON, decoding again...
[2025-12-28 18:53:38] [INFO] Parsed JSON: {
    "unique_identifier": "2025-089800",
    "agency": 1,
    "uri": "/api/cad/latest/cfs_core/2025-089800"
}
[2025-12-28 18:53:38] [INFO] Processing CFS: 2025-089800 (Agency: 1)
[2025-12-28 18:53:38] [INFO] Got token from integration: eyJhbGciOiJSUzI1NiIs...
[2025-12-28 18:53:38] [INFO] Fetching CFS from: https://api-coffeecounty-911-tn.zuercherportal.com/api/cad/latest/cfs_core/2025-089800
[2025-12-28 18:53:39] [INFO] Successfully fetched CFS data: {"CFSNumber":"2025-089800","DispatchAgency":{"UniqueIdentifier":1,"Abbreviation":"CCECD","Name":"Coffee County Emergency Communications District","ORI":"TN0160000","RunsDispatch":true,"DispatchedBy":"...
[2025-12-28 18:53:39] [INFO] SUCCESS: XML written to /home/dodom2/public_html/ftp.stationboss.net/dispatch/69320e6a9e3e5ef71/cfs_2025-089800.xml (8360 bytes)
[2025-12-28 18:53:39] [INFO] ========== END WEBHOOK ==========
[2025-12-28 18:59:19] [INFO] ========== WEBHOOK RECEIVED ==========
[2025-12-28 18:59:19] [INFO] Method: POST
[2025-12-28 18:59:19] [INFO] URI: /webhook.php
[2025-12-28 18:59:19] [INFO] Remote IP: 199.189.240.48
[2025-12-28 18:59:19] [INFO] User-Agent: python-requests/2.28.2
[2025-12-28 18:59:19] [INFO] Headers: {
    "Host": "ftp.stationboss.net",
    "User-Agent": "python-requests\/2.28.2",
    "Accept-Encoding": "gzip, deflate",
    "Accept": "*\/*",
    "Connection": "keep-alive",
    "Content-Length": "108",
    "Content-Type": "application\/json"
}
[2025-12-28 18:59:19] [INFO] Raw Body: "{\"unique_identifier\": \"2025-089800\", \"agency\": 1, \"uri\": \"/api/cad/latest/cfs_core/2025-089800\"}"
[2025-12-28 18:59:19] [INFO] Detected double-encoded JSON, decoding again...
[2025-12-28 18:59:19] [INFO] Parsed JSON: {
    "unique_identifier": "2025-089800",
    "agency": 1,
    "uri": "/api/cad/latest/cfs_core/2025-089800"
}
[2025-12-28 18:59:19] [INFO] Processing CFS: 2025-089800 (Agency: 1)
[2025-12-28 18:59:19] [INFO] Got token from integration: eyJhbGciOiJSUzI1NiIs...
[2025-12-28 18:59:19] [INFO] Fetching CFS from: https://api-coffeecounty-911-tn.zuercherportal.com/api/cad/latest/cfs_core/2025-089800
[2025-12-28 18:59:19] [INFO] Successfully fetched CFS data: {"CFSNumber":"2025-089800","DispatchAgency":{"UniqueIdentifier":1,"Abbreviation":"CCECD","Name":"Coffee County Emergency Communications District","ORI":"TN0160000","RunsDispatch":true,"DispatchedBy":"...
[2025-12-28 18:59:19] [INFO] SUCCESS: XML written to /home/dodom2/public_html/ftp.stationboss.net/dispatch/69320e6a9e3e5ef71/cfs_2025-089800.xml (9344 bytes)
[2025-12-28 18:59:19] [INFO] ========== END WEBHOOK ==========
