$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "currentItems": [
< {
< "id": "H1",
< "hospital": "Hospital A",
< "payer": "Payer X",
< "code": "99213",
< "rate": 180,
< "plan": "PPO"
< },
< {
< "id": "H2",
< "hospital": "Hospital A",
< "payer": "Payer Y",
< "code": "99213",
< "rate": 260,
< "plan": "PPO"
< },
< {
< "id": "H3",
< "hospital": "Hospital B",
< "payer": "Payer X",
< "code": "99213",
< "rate": 210,
< "plan": "HMO"
< }
< ],
< "previousItems": [
< {
< "id": "P1",
< "hospital": "Hospital A",
< "payer": "Payer X",
< "code": "99213",
< "rate": 150,
< "plan": "PPO"
< },
< {
< "id": "P2",
< "hospital": "Hospital A",
< "payer": "Payer Y",
< "code": "99213",
< "rate": 240,
< "plan": "PPO"
< },
< {
< "id": "P3",
< "hospital": "Hospital B",
< "payer": "Payer X",
< "code": "99213",
< "rate": 205,
< "plan": "HMO"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/quanmatrix~hospital-price-transparency-drift-intelligence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'