POST api/tema/guardar/{nuevo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
nuevo

boolean

Required

Body Parameters

Tema
NameDescriptionTypeAdditional information
tema_Id

integer

None.

nombre

string

None.

activo

boolean

None.

fechaRegistro

string

None.

ultimaModificacion

string

None.

seleccionado

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "tema_Id": 1,
  "nombre": "sample string 2",
  "activo": true,
  "fechaRegistro": "sample string 4",
  "ultimaModificacion": "sample string 5",
  "seleccionado": true
}

text/html

Sample:
{"tema_Id":1,"nombre":"sample string 2","activo":true,"fechaRegistro":"sample string 4","ultimaModificacion":"sample string 5","seleccionado":true}

application/xml, text/xml

Sample:
<Tema xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Business.Models">
  <activo>true</activo>
  <fechaRegistro>sample string 4</fechaRegistro>
  <nombre>sample string 2</nombre>
  <seleccionado>true</seleccionado>
  <tema_Id>1</tema_Id>
  <ultimaModificacion>sample string 5</ultimaModificacion>
</Tema>

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 'Tema'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.