POST api/Insumos/Post

Request Information

URI Parameters

None.

Body Parameters

Insumo
NameDescriptionTypeAdditional information
IdInsumo

integer

None.

IdInsumoSuperior

integer

None.

IdCategoriaUnidad

string

None.

Nombre

string

None.

Activo

boolean

None.

Publico

boolean

None.

IdUsuarioCreacion

integer

None.

FechaCreacion

date

None.

IdUsuarioUltimaModificacion

integer

None.

FechaUltimaModificacion

date

None.

Insumo1

Collection of Insumo

None.

Insumo2

Insumo

None.

Orden_Insumo

Collection of Orden_Insumo

None.

OrdenResiduo_Insumo

Collection of OrdenResiduo_Insumo

None.

Persona_Insumo

Collection of Persona_Insumo

None.

Solicitud_Insumo

Collection of Solicitud_Insumo

None.

SolicitudDetalle_Insumo

Collection of SolicitudDetalle_Insumo

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Dominio.Insumo'. Path 'Insumo1'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Dominio.Insumo'. Path 'Insumo1'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[Dominio.Insumo, Dominio, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[Dominio.Insumo, Dominio, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.