POST api/cambiarficha

Request Information

URI Parameters

None.

Body Parameters

CambioFicha
NameDescriptionTypeAdditional information
idcliente

integer

None.

nombre

string

None.

foto

string

None.

peso

decimal number

None.

cintura

decimal number

None.

tabla

string

None.

Request Formats

application/json, text/json

Sample:
{
  "idcliente": 1,
  "nombre": "sample string 2",
  "foto": "sample string 3",
  "peso": 4.0,
  "cintura": 5.0,
  "tabla": "sample string 6"
}

application/xml, text/xml

Sample:
<CambioFicha xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/maraton">
  <cintura>5</cintura>
  <foto>sample string 3</foto>
  <idcliente>1</idcliente>
  <nombre>sample string 2</nombre>
  <peso>4</peso>
  <tabla>sample string 6</tabla>
</CambioFicha>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CambioFicha'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.