POST api/Jogos

Regista um novo jogo.

Request Information

URI Parameters

None.

Body Parameters

Dados do jogo

Jogo
NameDescriptionTypeAdditional information
IdJogo

integer

None.

IdClubeCasa

integer

None.

IdClubeVisitante

integer

None.

DataJogo

date

None.

GolosCasa

integer

None.

GolosVisitante

integer

None.

Jornada

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IdJogo": 1,
  "IdClubeCasa": 1,
  "IdClubeVisitante": 1,
  "DataJogo": "2026-08-24T00:13:34.7458907-05:00",
  "GolosCasa": 5,
  "GolosVisitante": 6,
  "Jornada": 7
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Jogo registado

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.