POST api/Competitions

Request Information

URI Parameters

None.

Body Parameters

Competition
NameDescriptionTypeAdditional information
IdCompetition

integer

None.

IdAthlete

integer

None.

IdMarathon

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IdCompetition": 1,
  "IdAthlete": 1,
  "IdMarathon": 1
}

Response Information

Resource Description

Competition
NameDescriptionTypeAdditional information
IdCompetition

integer

None.

IdAthlete

integer

None.

IdMarathon

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "IdCompetition": 1,
  "IdAthlete": 1,
  "IdMarathon": 1
}