WaireCalculations

GET /api/dashboard/organization/waire/calc

Headers

  • Specify effective organization_id for Admin and Group Organization Admins. This is a global header for all endpoints only taken into consideration when it makes sense (it won't be used in Auth, for example)

Query parameters

Responses

GET /api/dashboard/organization/waire/calc
curl \
 -X GET http://127.0.0.1:8080/api/dashboard/organization/waire/calc
Response examples (200)
{
  "yard_waire_stats": [
    {
      "count": {
        "days": 42,
        "end_date": "2024-05-04T09:42:00+00:00",
        "start_date": "2024-05-04T09:42:00+00:00",
        "visits": {
          "class2b_to3_truck_visits": 42,
          "class4_to7_truck_visits": 42,
          "class8_truck_visits": 42
        }
      },
      "estimated_mitigation_fee": "string",
      "in_compliance": true,
      "points_collected": "string",
      "points_required": "string",
      "stringency": "string",
      "weighted_annual_truck_trip": "string",
      "wpco": "string",
      "yard_id": 42
    }
  ]
}