GET api/Medidas/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

decimal number

Required

Body Parameters

None.

Response Information

Resource Description

Tb_Medidas
NameDescriptionTypeAdditional information
Id_Medida

decimal number

None.

Medida

string

None.

Tb_Items_Produccion

Collection of Tb_Items_Produccion

None.

Tb_MateriasPrimas

Collection of Tb_MateriasPrimas

None.

Response Formats

application/json, text/json

Sample:
{
  "Id_Medida": 1.0,
  "Medida": "sample string 2",
  "Tb_Items_Produccion": [
    {
      "Id_ItemProduccion": 1.0,
      "Id_Producto": 2.0,
      "Id_MateriaPrima": 3.0,
      "Unidades": 4.0,
      "Id_Medida": 5.0
    },
    {
      "Id_ItemProduccion": 1.0,
      "Id_Producto": 2.0,
      "Id_MateriaPrima": 3.0,
      "Unidades": 4.0,
      "Id_Medida": 5.0
    }
  ],
  "Tb_MateriasPrimas": [
    {
      "Id_MateriaPrima": 1.0,
      "MateriaPrima": "sample string 2",
      "Descripcion": "sample string 3",
      "Stock": 4.0,
      "Id_Medida": 5.0
    },
    {
      "Id_MateriaPrima": 1.0,
      "MateriaPrima": "sample string 2",
      "Descripcion": "sample string 3",
      "Stock": 4.0,
      "Id_Medida": 5.0
    }
  ]
}

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 'Softmarket_Api.Models.Tb_Items_Produccion' 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 'Softmarket_Api.Models.Tb_Items_Produccion' contains cycles and cannot be serialized if reference tracking is disabled.