POST api/Marathons
Request Information
URI Parameters
None.
Body Parameters
Marathon| Name | Description | Type | Additional information |
|---|---|---|---|
| IdMarathon | integer |
None. |
|
| NameMarathon | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdMarathon": 1,
"NameMarathon": "sample string 2"
}
Response Information
Resource Description
Marathon| Name | Description | Type | Additional information |
|---|---|---|---|
| IdMarathon | integer |
None. |
|
| NameMarathon | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IdMarathon": 1,
"NameMarathon": "sample string 2"
}