POST api/maraton
Request Information
URI Parameters
None.
Body Parameters
DatosEntradaDatos| Name | Description | Type | Additional information |
|---|---|---|---|
| comida | integer |
None. |
|
| deporte | integer |
None. |
|
| agua | integer |
None. |
|
| peso | decimal number |
None. |
|
| cintura | decimal number |
None. |
|
| dia | integer |
None. |
|
| maraton | integer |
None. |
|
| tabla | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"comida": 1,
"deporte": 2,
"agua": 3,
"peso": 4.0,
"cintura": 5.0,
"dia": 6,
"maraton": 7,
"tabla": "sample string 8"
}
application/xml, text/xml
Sample:
<DatosEntradaDatos xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/maraton"> <agua>3</agua> <cintura>5</cintura> <comida>1</comida> <deporte>2</deporte> <dia>6</dia> <maraton>7</maraton> <peso>4</peso> <tabla>sample string 8</tabla> </DatosEntradaDatos>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.