POST api/Athletes
Request Information
URI Parameters
None.
Body Parameters
Athlete| Name | Description | Type | Additional information |
|---|---|---|---|
| IdAthlete | integer |
None. |
|
| Surname | string |
None. |
|
| Name | string |
None. |
|
| Patronymic | string |
None. |
|
| Login | string |
None. |
|
| Pass | string |
None. |
|
| Gender | string |
None. |
|
| BDay | date |
None. |
|
| Country | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdAthlete": 1,
"Surname": "sample string 2",
"Name": "sample string 3",
"Patronymic": "sample string 4",
"Login": "sample string 5",
"Pass": "sample string 6",
"Gender": "sample string 7",
"BDay": "2025-11-30T14:52:01.0221453-06:00",
"Country": "sample string 8"
}
Response Information
Resource Description
Athlete| Name | Description | Type | Additional information |
|---|---|---|---|
| IdAthlete | integer |
None. |
|
| Surname | string |
None. |
|
| Name | string |
None. |
|
| Patronymic | string |
None. |
|
| Login | string |
None. |
|
| Pass | string |
None. |
|
| Gender | string |
None. |
|
| BDay | date |
None. |
|
| Country | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IdAthlete": 1,
"Surname": "sample string 2",
"Name": "sample string 3",
"Patronymic": "sample string 4",
"Login": "sample string 5",
"Pass": "sample string 6",
"Gender": "sample string 7",
"BDay": "2025-11-30T14:52:01.0221453-06:00",
"Country": "sample string 8"
}