POST api/Catalogos/CreateNormal/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CatalogoNormalModel
NameDescriptionTypeAdditional information
id

integer

None.

nombre

string

Required

descripcion

string

None.

activo

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "nombre": "sample string 2",
  "descripcion": "sample string 3",
  "activo": true
}

application/xml, text/xml

Sample:
<CatalogoNormalModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPIQCAZ.Models">
  <activo>true</activo>
  <descripcion>sample string 3</descripcion>
  <id>1</id>
  <nombre>sample string 2</nombre>
</CatalogoNormalModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CatalogoNormalModel
NameDescriptionTypeAdditional information
id

integer

None.

nombre

string

Required

descripcion

string

None.

activo

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "nombre": "sample string 2",
  "descripcion": "sample string 3",
  "activo": true
}

application/xml, text/xml

Sample:
<CatalogoNormalModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPIQCAZ.Models">
  <activo>true</activo>
  <descripcion>sample string 3</descripcion>
  <id>1</id>
  <nombre>sample string 2</nombre>
</CatalogoNormalModel>