DELETE api/Productos/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Productos
NameDescriptionTypeAdditional information
IdProducto

integer

None.

IdEmpresa

integer

None.

Producto

string

None.

Descripcion

string

None.

Precio

decimal number

None.

CantidadStock

integer

None.

UnidadMedida

string

None.

FechaVencimiento

date

None.

Imagen

string

None.

Estado

string

None.

Categoria

string

None.

Afichaje

Collection of Afichaje

None.

Empresas

Empresas

None.

ReposicionesDet

Collection of ReposicionesDet

None.

Response Formats

application/json, text/json

Sample:
{
  "IdProducto": 1,
  "IdEmpresa": 1,
  "Producto": "sample string 2",
  "Descripcion": "sample string 3",
  "Precio": 1.0,
  "CantidadStock": 1,
  "UnidadMedida": "sample string 4",
  "FechaVencimiento": "2025-06-16T08:12:29.5557412-05:00",
  "Imagen": "sample string 5",
  "Estado": "sample string 6",
  "Categoria": "sample string 7",
  "Empresas": {
    "IdEmpresa": 1,
    "Nombre": "sample string 2",
    "Telefonos": "sample string 3",
    "Domicilio": "sample string 4",
    "Observaciones": "sample string 5",
    "Contacto": "sample string 6"
  }
}

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