PUT api/Game/CommitTxn

Request Information

URI Parameters

None.

Body Parameters

Game
NameDescriptionTypeAdditional information
GameId

string

None.

RevNbr

integer

None.

Season

Season

None.

Name

string

None.

Date

date

None.

Type

GameType

None.

SportType

SportType

None.

Sport

string

None.

OTeam

Team

None.

DTeam

Team

None.

OScore

integer

None.

DScore

integer

None.

Angles

Collection of Angle

None.

Plays

Collection of Play

None.

Variables

Collection of Variable

None.

UnusedVideo

Collection of VideoAngle

None.

Size

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "GameId": "sample string 1",
  "RevNbr": 2,
  "Txn": "sample string 3",
  "Season": {
    "SeasonId": "sample string 1",
    "SeasonName": "sample string 2"
  },
  "Name": "sample string 4",
  "Date": "2025-01-22T13:48:44.6933792-06:00",
  "Type": "Game",
  "SportType": "FootballODK",
  "Sport": "sample string 6",
  "OTeam": {
    "TeamId": "sample string 1",
    "TeamName": "sample string 2"
  },
  "DTeam": {
    "TeamId": "sample string 1",
    "TeamName": "sample string 2"
  },
  "OScore": 7,
  "DScore": 8,
  "Angles": [
    {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "Order": 3
    },
    {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "Order": 3
    }
  ],
  "Plays": [
    {
      "PlayId": "sample string 1",
      "GameId": "sample string 2",
      "PlayNbr": 3,
      "ODK": 0,
      "v1": null,
      "v2": {
        "Items": []
      },
      "VideoAngles": [
        {
          "VideoId": "sample string 1",
          "AngleId": "sample string 2",
          "Name": "sample string 3",
          "OrgSize": 4,
          "OrgSHA1Hash": "QEA=",
          "VideoFormats": [
            {
              "Format": "sample string 1",
              "FileId": "sample string 2"
            },
            {
              "Format": "sample string 1",
              "FileId": "sample string 2"
            },
            {
              "Format": "HD1080",
              "FileId": "sample string 5"
            },
            {
              "Format": "HD720",
              "FileId": "sample string 6"
            },
            {
              "Format": "SD",
              "FileId": "sample string 7"
            }
          ],
          "HD1080": null,
          "HD720": null,
          "SD": null
        },
        {
          "VideoId": "sample string 1",
          "AngleId": "sample string 2",
          "Name": "sample string 3",
          "OrgSize": 4,
          "OrgSHA1Hash": "QEA=",
          "VideoFormats": [
            {
              "Format": "sample string 1",
              "FileId": "sample string 2"
            },
            {
              "Format": "sample string 1",
              "FileId": "sample string 2"
            },
            {
              "Format": "HD1080",
              "FileId": "sample string 5"
            },
            {
              "Format": "HD720",
              "FileId": "sample string 6"
            },
            {
              "Format": "SD",
              "FileId": "sample string 7"
            }
          ],
          "HD1080": null,
          "HD720": null,
          "SD": null
        }
      ],
      "Data": {
        "Items": []
      }
    },
    {
      "PlayId": "sample string 1",
      "GameId": "sample string 2",
      "PlayNbr": 3,
      "ODK": 0,
      "v1": null,
      "v2": {
        "Items": []
      },
      "VideoAngles": [
        {
          "VideoId": "sample string 1",
          "AngleId": "sample string 2",
          "Name": "sample string 3",
          "OrgSize": 4,
          "OrgSHA1Hash": "QEA=",
          "VideoFormats": [
            {
              "Format": "sample string 1",
              "FileId": "sample string 2"
            },
            {
              "Format": "sample string 1",
              "FileId": "sample string 2"
            },
            {
              "Format": "HD1080",
              "FileId": "sample string 5"
            },
            {
              "Format": "HD720",
              "FileId": "sample string 6"
            },
            {
              "Format": "SD",
              "FileId": "sample string 7"
            }
          ],
          "HD1080": null,
          "HD720": null,
          "SD": null
        },
        {
          "VideoId": "sample string 1",
          "AngleId": "sample string 2",
          "Name": "sample string 3",
          "OrgSize": 4,
          "OrgSHA1Hash": "QEA=",
          "VideoFormats": [
            {
              "Format": "sample string 1",
              "FileId": "sample string 2"
            },
            {
              "Format": "sample string 1",
              "FileId": "sample string 2"
            },
            {
              "Format": "HD1080",
              "FileId": "sample string 5"
            },
            {
              "Format": "HD720",
              "FileId": "sample string 6"
            },
            {
              "Format": "SD",
              "FileId": "sample string 7"
            }
          ],
          "HD1080": null,
          "HD720": null,
          "SD": null
        }
      ],
      "Data": {
        "Items": []
      }
    }
  ],
  "Variables": [
    {
      "VariableId": "sample string 1",
      "Name": "sample string 2",
      "DisplayName": "sample string 3",
      "DataType": "String",
      "ODTerm": true,
      "HasPicklist": true,
      "Bands": [
        {
          "Beg": "sample string 1",
          "End": "sample string 2",
          "Display": "sample string 3"
        },
        {
          "Beg": "sample string 1",
          "End": "sample string 2",
          "Display": "sample string 3"
        }
      ],
      "AutoRules": [
        {
          "SrcValue": "sample string 1",
          "DstName": "sample string 2",
          "Dstv1Value": "sample string 3",
          "Dstv2Value": "sample string 4"
        },
        {
          "SrcValue": "sample string 1",
          "DstName": "sample string 2",
          "Dstv1Value": "sample string 3",
          "Dstv2Value": "sample string 4"
        }
      ],
      "ImportName": "sample string 6",
      "v1Picklist": [
        "sample string 1",
        "sample string 2"
      ],
      "v2Picklist": [
        "sample string 1",
        "sample string 2"
      ],
      "ValidValues": [
        "sample string 1",
        "sample string 2"
      ],
      "Min": "sample string 7",
      "Max": "sample string 8",
      "Translates": [
        {
          "From": "sample string 1",
          "To": "sample string 2"
        },
        {
          "From": "sample string 1",
          "To": "sample string 2"
        }
      ]
    },
    {
      "VariableId": "sample string 1",
      "Name": "sample string 2",
      "DisplayName": "sample string 3",
      "DataType": "String",
      "ODTerm": true,
      "HasPicklist": true,
      "Bands": [
        {
          "Beg": "sample string 1",
          "End": "sample string 2",
          "Display": "sample string 3"
        },
        {
          "Beg": "sample string 1",
          "End": "sample string 2",
          "Display": "sample string 3"
        }
      ],
      "AutoRules": [
        {
          "SrcValue": "sample string 1",
          "DstName": "sample string 2",
          "Dstv1Value": "sample string 3",
          "Dstv2Value": "sample string 4"
        },
        {
          "SrcValue": "sample string 1",
          "DstName": "sample string 2",
          "Dstv1Value": "sample string 3",
          "Dstv2Value": "sample string 4"
        }
      ],
      "ImportName": "sample string 6",
      "v1Picklist": [
        "sample string 1",
        "sample string 2"
      ],
      "v2Picklist": [
        "sample string 1",
        "sample string 2"
      ],
      "ValidValues": [
        "sample string 1",
        "sample string 2"
      ],
      "Min": "sample string 7",
      "Max": "sample string 8",
      "Translates": [
        {
          "From": "sample string 1",
          "To": "sample string 2"
        },
        {
          "From": "sample string 1",
          "To": "sample string 2"
        }
      ]
    }
  ],
  "UnusedVideo": [
    {
      "VideoId": "sample string 1",
      "AngleId": "sample string 2",
      "Name": "sample string 3",
      "OrgSize": 4,
      "OrgSHA1Hash": "QEA=",
      "VideoFormats": [
        {
          "Format": "sample string 1",
          "FileId": "sample string 2"
        },
        {
          "Format": "sample string 1",
          "FileId": "sample string 2"
        },
        {
          "Format": "HD1080",
          "FileId": "sample string 5"
        },
        {
          "Format": "HD720",
          "FileId": "sample string 6"
        },
        {
          "Format": "SD",
          "FileId": "sample string 7"
        }
      ],
      "HD1080": null,
      "HD720": null,
      "SD": null
    },
    {
      "VideoId": "sample string 1",
      "AngleId": "sample string 2",
      "Name": "sample string 3",
      "OrgSize": 4,
      "OrgSHA1Hash": "QEA=",
      "VideoFormats": [
        {
          "Format": "sample string 1",
          "FileId": "sample string 2"
        },
        {
          "Format": "sample string 1",
          "FileId": "sample string 2"
        },
        {
          "Format": "HD1080",
          "FileId": "sample string 5"
        },
        {
          "Format": "HD720",
          "FileId": "sample string 6"
        },
        {
          "Format": "SD",
          "FileId": "sample string 7"
        }
      ],
      "HD1080": null,
      "HD720": null,
      "SD": null
    }
  ],
  "Size": 9
}

application/xml, text/xml

Sample:
<Game xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="f1">
  <Angles>
    <Angle>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
      <Order>3</Order>
    </Angle>
    <Angle>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
      <Order>3</Order>
    </Angle>
  </Angles>
  <DScore>8</DScore>
  <DTeam>
    <TeamId>sample string 1</TeamId>
    <TeamName>sample string 2</TeamName>
  </DTeam>
  <Date>2025-01-22T13:48:44.6933792-06:00</Date>
  <GameId>sample string 1</GameId>
  <Name>sample string 4</Name>
  <OScore>7</OScore>
  <OTeam>
    <TeamId>sample string 1</TeamId>
    <TeamName>sample string 2</TeamName>
  </OTeam>
  <Plays>
    <Play>
      <Data>
        <Items />
      </Data>
      <GameId>sample string 2</GameId>
      <ODK>All</ODK>
      <PlayId>sample string 1</PlayId>
      <PlayNbr>3</PlayNbr>
      <VideoAngles>
        <VideoAngle>
          <AngleId>sample string 2</AngleId>
          <HD1080 i:nil="true" />
          <HD720 i:nil="true" />
          <Name>sample string 3</Name>
          <OrgSHA1Hash>QEA=</OrgSHA1Hash>
          <OrgSize>4</OrgSize>
          <SD i:nil="true" />
          <VideoFormats>
            <VideoFormat>
              <FileId>sample string 2</FileId>
              <Format>sample string 1</Format>
            </VideoFormat>
            <VideoFormat>
              <FileId>sample string 2</FileId>
              <Format>sample string 1</Format>
            </VideoFormat>
            <VideoFormat>
              <FileId>sample string 5</FileId>
              <Format>HD1080</Format>
            </VideoFormat>
            <VideoFormat>
              <FileId>sample string 6</FileId>
              <Format>HD720</Format>
            </VideoFormat>
            <VideoFormat>
              <FileId>sample string 7</FileId>
              <Format>SD</Format>
            </VideoFormat>
          </VideoFormats>
          <VideoId>sample string 1</VideoId>
        </VideoAngle>
        <VideoAngle>
          <AngleId>sample string 2</AngleId>
          <HD1080 i:nil="true" />
          <HD720 i:nil="true" />
          <Name>sample string 3</Name>
          <OrgSHA1Hash>QEA=</OrgSHA1Hash>
          <OrgSize>4</OrgSize>
          <SD i:nil="true" />
          <VideoFormats>
            <VideoFormat>
              <FileId>sample string 2</FileId>
              <Format>sample string 1</Format>
            </VideoFormat>
            <VideoFormat>
              <FileId>sample string 2</FileId>
              <Format>sample string 1</Format>
            </VideoFormat>
            <VideoFormat>
              <FileId>sample string 5</FileId>
              <Format>HD1080</Format>
            </VideoFormat>
            <VideoFormat>
              <FileId>sample string 6</FileId>
              <Format>HD720</Format>
            </VideoFormat>
            <VideoFormat>
              <FileId>sample string 7</FileId>
              <Format>SD</Format>
            </VideoFormat>
          </VideoFormats>
          <VideoId>sample string 1</VideoId>
        </VideoAngle>
      </VideoAngles>
      <v1 i:nil="true" />
      <v2>
        <Items />
      </v2>
    </Play>
    <Play>
      <Data>
        <Items />
      </Data>
      <GameId>sample string 2</GameId>
      <ODK>All</ODK>
      <PlayId>sample string 1</PlayId>
      <PlayNbr>3</PlayNbr>
      <VideoAngles>
        <VideoAngle>
          <AngleId>sample string 2</AngleId>
          <HD1080 i:nil="true" />
          <HD720 i:nil="true" />
          <Name>sample string 3</Name>
          <OrgSHA1Hash>QEA=</OrgSHA1Hash>
          <OrgSize>4</OrgSize>
          <SD i:nil="true" />
          <VideoFormats>
            <VideoFormat>
              <FileId>sample string 2</FileId>
              <Format>sample string 1</Format>
            </VideoFormat>
            <VideoFormat>
              <FileId>sample string 2</FileId>
              <Format>sample string 1</Format>
            </VideoFormat>
            <VideoFormat>
              <FileId>sample string 5</FileId>
              <Format>HD1080</Format>
            </VideoFormat>
            <VideoFormat>
              <FileId>sample string 6</FileId>
              <Format>HD720</Format>
            </VideoFormat>
            <VideoFormat>
              <FileId>sample string 7</FileId>
              <Format>SD</Format>
            </VideoFormat>
          </VideoFormats>
          <VideoId>sample string 1</VideoId>
        </VideoAngle>
        <VideoAngle>
          <AngleId>sample string 2</AngleId>
          <HD1080 i:nil="true" />
          <HD720 i:nil="true" />
          <Name>sample string 3</Name>
          <OrgSHA1Hash>QEA=</OrgSHA1Hash>
          <OrgSize>4</OrgSize>
          <SD i:nil="true" />
          <VideoFormats>
            <VideoFormat>
              <FileId>sample string 2</FileId>
              <Format>sample string 1</Format>
            </VideoFormat>
            <VideoFormat>
              <FileId>sample string 2</FileId>
              <Format>sample string 1</Format>
            </VideoFormat>
            <VideoFormat>
              <FileId>sample string 5</FileId>
              <Format>HD1080</Format>
            </VideoFormat>
            <VideoFormat>
              <FileId>sample string 6</FileId>
              <Format>HD720</Format>
            </VideoFormat>
            <VideoFormat>
              <FileId>sample string 7</FileId>
              <Format>SD</Format>
            </VideoFormat>
          </VideoFormats>
          <VideoId>sample string 1</VideoId>
        </VideoAngle>
      </VideoAngles>
      <v1 i:nil="true" />
      <v2>
        <Items />
      </v2>
    </Play>
  </Plays>
  <RevNbr>2</RevNbr>
  <Season>
    <SeasonId>sample string 1</SeasonId>
    <SeasonName>sample string 2</SeasonName>
  </Season>
  <Size>9</Size>
  <Sport>sample string 6</Sport>
  <SportType>FootballODK</SportType>
  <Type>Game</Type>
  <UnusedVideo>
    <VideoAngle>
      <AngleId>sample string 2</AngleId>
      <HD1080 i:nil="true" />
      <HD720 i:nil="true" />
      <Name>sample string 3</Name>
      <OrgSHA1Hash>QEA=</OrgSHA1Hash>
      <OrgSize>4</OrgSize>
      <SD i:nil="true" />
      <VideoFormats>
        <VideoFormat>
          <FileId>sample string 2</FileId>
          <Format>sample string 1</Format>
        </VideoFormat>
        <VideoFormat>
          <FileId>sample string 2</FileId>
          <Format>sample string 1</Format>
        </VideoFormat>
        <VideoFormat>
          <FileId>sample string 5</FileId>
          <Format>HD1080</Format>
        </VideoFormat>
        <VideoFormat>
          <FileId>sample string 6</FileId>
          <Format>HD720</Format>
        </VideoFormat>
        <VideoFormat>
          <FileId>sample string 7</FileId>
          <Format>SD</Format>
        </VideoFormat>
      </VideoFormats>
      <VideoId>sample string 1</VideoId>
    </VideoAngle>
    <VideoAngle>
      <AngleId>sample string 2</AngleId>
      <HD1080 i:nil="true" />
      <HD720 i:nil="true" />
      <Name>sample string 3</Name>
      <OrgSHA1Hash>QEA=</OrgSHA1Hash>
      <OrgSize>4</OrgSize>
      <SD i:nil="true" />
      <VideoFormats>
        <VideoFormat>
          <FileId>sample string 2</FileId>
          <Format>sample string 1</Format>
        </VideoFormat>
        <VideoFormat>
          <FileId>sample string 2</FileId>
          <Format>sample string 1</Format>
        </VideoFormat>
        <VideoFormat>
          <FileId>sample string 5</FileId>
          <Format>HD1080</Format>
        </VideoFormat>
        <VideoFormat>
          <FileId>sample string 6</FileId>
          <Format>HD720</Format>
        </VideoFormat>
        <VideoFormat>
          <FileId>sample string 7</FileId>
          <Format>SD</Format>
        </VideoFormat>
      </VideoFormats>
      <VideoId>sample string 1</VideoId>
    </VideoAngle>
  </UnusedVideo>
  <Variables>
    <Variable>
      <AutoRules>
        <AutoRule>
          <DstName>sample string 2</DstName>
          <Dstv1Value>sample string 3</Dstv1Value>
          <Dstv2Value>sample string 4</Dstv2Value>
          <SrcValue>sample string 1</SrcValue>
        </AutoRule>
        <AutoRule>
          <DstName>sample string 2</DstName>
          <Dstv1Value>sample string 3</Dstv1Value>
          <Dstv2Value>sample string 4</Dstv2Value>
          <SrcValue>sample string 1</SrcValue>
        </AutoRule>
      </AutoRules>
      <Bands>
        <Band>
          <Beg>sample string 1</Beg>
          <Display>sample string 3</Display>
          <End>sample string 2</End>
        </Band>
        <Band>
          <Beg>sample string 1</Beg>
          <Display>sample string 3</Display>
          <End>sample string 2</End>
        </Band>
      </Bands>
      <DataType>String</DataType>
      <DisplayName>sample string 3</DisplayName>
      <HasPicklist>true</HasPicklist>
      <Name>sample string 2</Name>
      <ODTerm>true</ODTerm>
      <VariableId>sample string 1</VariableId>
    </Variable>
    <Variable>
      <AutoRules>
        <AutoRule>
          <DstName>sample string 2</DstName>
          <Dstv1Value>sample string 3</Dstv1Value>
          <Dstv2Value>sample string 4</Dstv2Value>
          <SrcValue>sample string 1</SrcValue>
        </AutoRule>
        <AutoRule>
          <DstName>sample string 2</DstName>
          <Dstv1Value>sample string 3</Dstv1Value>
          <Dstv2Value>sample string 4</Dstv2Value>
          <SrcValue>sample string 1</SrcValue>
        </AutoRule>
      </AutoRules>
      <Bands>
        <Band>
          <Beg>sample string 1</Beg>
          <Display>sample string 3</Display>
          <End>sample string 2</End>
        </Band>
        <Band>
          <Beg>sample string 1</Beg>
          <Display>sample string 3</Display>
          <End>sample string 2</End>
        </Band>
      </Bands>
      <DataType>String</DataType>
      <DisplayName>sample string 3</DisplayName>
      <HasPicklist>true</HasPicklist>
      <Name>sample string 2</Name>
      <ODTerm>true</ODTerm>
      <VariableId>sample string 1</VariableId>
    </Variable>
  </Variables>
</Game>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.