POST api/Events

Internal Secure API to write Scouter Match Scouting Events to FIRES database (pre 2019)

Request Information

URI Parameters

None.

Body Parameters

Collection of Event
NameDescriptionTypeAdditional information
EventID

integer

None.

InstanceID

integer

None.

EventCode

string

String length: inclusive between 0 and 20

AutoTele

string

String length: inclusive between 0 and 1

MatchTime

date

None.

LocX

integer

None.

LocY

integer

None.

BlueLocX

integer

None.

BlueLocY

integer

None.

RedLocX

integer

None.

RedLocY

integer

None.

CycleNum

integer

None.

CycleTime

decimal number

None.

EventTime

decimal number

None.

Defended

boolean

None.

SubEvent

string

String length: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
[
  {
    "EventID": 1,
    "InstanceID": 2,
    "EventCode": "sample string 3",
    "AutoTele": "sample string 4",
    "MatchTime": "2025-06-15T08:04:46.1463756+00:00",
    "LocX": 6,
    "LocY": 7,
    "BlueLocX": 8,
    "BlueLocY": 9,
    "RedLocX": 10,
    "RedLocY": 11,
    "CycleNum": 12,
    "CycleTime": 13.1,
    "EventTime": 14.1,
    "Defended": true,
    "SubEvent": "sample string 16"
  },
  {
    "EventID": 1,
    "InstanceID": 2,
    "EventCode": "sample string 3",
    "AutoTele": "sample string 4",
    "MatchTime": "2025-06-15T08:04:46.1463756+00:00",
    "LocX": 6,
    "LocY": 7,
    "BlueLocX": 8,
    "BlueLocY": 9,
    "RedLocX": 10,
    "RedLocY": 11,
    "CycleNum": 12,
    "CycleTime": 13.1,
    "EventTime": 14.1,
    "Defended": true,
    "SubEvent": "sample string 16"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FiresUniAPI.Models">
  <Event>
    <AutoTele>sample string 4</AutoTele>
    <BlueLocX>8</BlueLocX>
    <BlueLocY>9</BlueLocY>
    <CycleNum>12</CycleNum>
    <CycleTime>13.1</CycleTime>
    <Defended>true</Defended>
    <EventCode>sample string 3</EventCode>
    <EventID>1</EventID>
    <EventTime>14.1</EventTime>
    <InstanceID>2</InstanceID>
    <LocX>6</LocX>
    <LocY>7</LocY>
    <MatchTime>2025-06-15T08:04:46.1463756+00:00</MatchTime>
    <RedLocX>10</RedLocX>
    <RedLocY>11</RedLocY>
    <SubEvent>sample string 16</SubEvent>
  </Event>
  <Event>
    <AutoTele>sample string 4</AutoTele>
    <BlueLocX>8</BlueLocX>
    <BlueLocY>9</BlueLocY>
    <CycleNum>12</CycleNum>
    <CycleTime>13.1</CycleTime>
    <Defended>true</Defended>
    <EventCode>sample string 3</EventCode>
    <EventID>1</EventID>
    <EventTime>14.1</EventTime>
    <InstanceID>2</InstanceID>
    <LocX>6</LocX>
    <LocY>7</LocY>
    <MatchTime>2025-06-15T08:04:46.1463756+00:00</MatchTime>
    <RedLocX>10</RedLocX>
    <RedLocY>11</RedLocY>
    <SubEvent>sample string 16</SubEvent>
  </Event>
</ArrayOfEvent>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Event[]'.

Response Information

Resource Description

Event
NameDescriptionTypeAdditional information
EventID

integer

None.

InstanceID

integer

None.

EventCode

string

String length: inclusive between 0 and 20

AutoTele

string

String length: inclusive between 0 and 1

MatchTime

date

None.

LocX

integer

None.

LocY

integer

None.

BlueLocX

integer

None.

BlueLocY

integer

None.

RedLocX

integer

None.

RedLocY

integer

None.

CycleNum

integer

None.

CycleTime

decimal number

None.

EventTime

decimal number

None.

Defended

boolean

None.

SubEvent

string

String length: inclusive between 0 and 100

Response Formats

application/json, text/json

Sample:
{
  "EventID": 1,
  "InstanceID": 2,
  "EventCode": "sample string 3",
  "AutoTele": "sample string 4",
  "MatchTime": "2025-06-15T08:04:46.1763608+00:00",
  "LocX": 6,
  "LocY": 7,
  "BlueLocX": 8,
  "BlueLocY": 9,
  "RedLocX": 10,
  "RedLocY": 11,
  "CycleNum": 12,
  "CycleTime": 13.1,
  "EventTime": 14.1,
  "Defended": true,
  "SubEvent": "sample string 16"
}

application/xml, text/xml

Sample:
<Event xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FiresUniAPI.Models">
  <AutoTele>sample string 4</AutoTele>
  <BlueLocX>8</BlueLocX>
  <BlueLocY>9</BlueLocY>
  <CycleNum>12</CycleNum>
  <CycleTime>13.1</CycleTime>
  <Defended>true</Defended>
  <EventCode>sample string 3</EventCode>
  <EventID>1</EventID>
  <EventTime>14.1</EventTime>
  <InstanceID>2</InstanceID>
  <LocX>6</LocX>
  <LocY>7</LocY>
  <MatchTime>2025-06-15T08:04:46.1763608+00:00</MatchTime>
  <RedLocX>10</RedLocX>
  <RedLocY>11</RedLocY>
  <SubEvent>sample string 16</SubEvent>
</Event>