v1

latestOpenAPI 3.1.02026-07-24318141.2 MB

Update Live Action

patch/{automation_id}/

Path parameters

automation_idstring required

Football Live Action Automation ID

Request body

program_idstring required

ID of the program to update the prediction for

match_idstring

Match ID from OPTA

statusboolean

to active live action automation

match_scheduled_atstring date

The UTC time that the automation will start

sponsor_idsstring[]

Response

200

idstring
match_idstring
widget_timeoutstring
statusboolean
widget_titlestring
{"stackTrail":"paths:/{automation_id}/:patch:responses:200:content:application/json:schema:properties:match_scheduled_at","oasType":"schema","type":"unknown"}
automation_statusstring

Example response

{
  "id": "d2e2b794-8d8d-4411-89c7-cf93a5c9f49b",
  "match_id": "q58ty222o3okfne2bqrfrml0",
  "widget_timeout": "P0DT00H00M30S",
  "widget_title": "MatchInsights",
  "enabled_by": {
    "id": "fccbb60d-c8b0-49fd-958c-87dc8f059bf8"
  },
  "automation_status": "scheduled",
  "automatedactions": [
    {
      "id": "252a06f1-641a-40b8-b183-c0eb92e7c54b",
      "action": "goal",
      "status": "pending",
      "automation_partner_id": "d2e2b794-8d8d-4411-89c7-cf93a5c9f49b",
      "is_active": true,
      "created_at": "2024-01-17T12:00:56.262332Z",
      "updated_at": "2024-01-17T12:00:56.262555Z"
    }
  ]
}