PUT api/Competitions/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Competition| Name | Description | Type | Additional information |
|---|---|---|---|
| IdCompetition | integer |
None. |
|
| idAthlete | integer |
None. |
|
| idMarafon | integer |
None. |
|
| Marafon | Marafon |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdCompetition": 1,
"idAthlete": 2,
"idMarafon": 3,
"Marafon": {
"IdMarafon": 1,
"NameMarafon": "sample string 2"
}
}
Response Information
Resource Description
None.