$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "watchId": "customer-watch-1",
< "mode": "snapshot",
< "sourceStatus": "complete",
< "rightsAttestation": {
< "customerControlsOrIsAuthorizedToUseData": true,
< "noCredentialsOrSecretsSubmitted": true,
< "unfetchedReferencePolicyAccepted": true,
< "attestedAt": "2026-08-09T09:00:00Z",
< "attestorId": "customer-operator-1"
< },
< "containers": [
< {
< "containerNumber": "MSCU1234566",
< "carrier": "customer-declared-carrier",
< "billOfLading": null,
< "bookingNumber": null,
< "promisedEta": "2026-08-12T12:00:00Z",
< "freeTimeEnd": "2026-08-15T12:00:00Z",
< "originUnlocode": "NLRTM",
< "destinationUnlocode": "USLAX"
< }
< ],
< "events": [
< {
< "eventId": "customer-event-1",
< "containerNumber": "MSCU1234566",
< "eventType": "gate_in",
< "eventTime": "2026-08-08T09:00:00Z",
< "receivedAt": "2026-08-08T09:05:00Z",
< "locationUnlocode": "NLRTM",
< "plannedLocationUnlocode": null,
< "plannedTime": null,
< "source": "customer-system",
< "reference": "ref:customer-evidence-1"
< }
< ],
< "tariffAssumptions": {
< "currency": "USD",
< "demurragePerDay": 0,
< "detentionPerDay": 0
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/zinin~container-exception-evidence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'